Debugga kompilator och spelmotor
Assassin's Creed-motorn och Clang - en utmanande kombination. Tobias Hieta berättar hur han hittade en bugg i ett test och spårade den genom tusentals commits till en specifik ändring i Clang.
Ett utdrag ur Kodsnack 655 - lyssna där poddar finns eller på kodsnack.se
#podcast #compiler #compilers #llvm #clang #anvil #assassinsCreed #c++
Getting Started With Fuzz Testing in CLion | The CLion Blog

Learn how to perform fuzz testing with CI Fuzz in CLion, analyze the results, and debug a tested function.

The JetBrains Blog

JetBrains with its CLion IDE Is Now an Official ST Authorized Partner
#Clang #CLion #News #Embedded #Stlink #Stm32

https://blog.jetbrains.com/clion/2025/08/st-authorized-partner/

JetBrains with its CLion IDE Is Now an Official ST Authorized Partner | The CLion Blog

CLion is the recommended JetBrains IDE for embedded developers using STM32 32-bit Arm Cortex and STM8 8-bit microcontrollers.

The JetBrains Blog
Veckans Kodsnack är här: Tobias diskuterar en tillräckligt mystisk bugg han jagat ifatt, och berättar på vägen om register och vektorisering.
https://kodsnack.se/655/, och överallt där poddar finns. #podcast #llvm #clang #kompilator

Very interesting video about UB (undefined behavior) in low level languages, C++, C, Rust,...

It is not black and white if you want to have performance.

Interesting viewpoint: optimizers are key to write expressive code, i.e. readable code, that produces fast binaries. But: then the compiler's optimizer requires assumptions. This leads to UB.

https://youtube.com/watch?v=HHgyH3WNTok&si=towCflOdnRcJRr1A

#cpp #clang #programming

Undefined Behavior From the Compiler’s Perspective - Shachar Shemesh - C++Now 2025

YouTube

After quite a bit of work, I'm delighted that #MetaCG v0.8.0 just got released and I want to thank everybody who contributed to the project.

Check it out, star the repo and watch for more updates.
Get your copy at https://github.com/tudasc/MetaCG/releases/tag/v0.8.0

#HPC #llvm #clang #software #ProgramAnalysis

Interesting that GCC has a limit to the width of _BitInt of 65535 bits (1 bit short of 8KiB) whereas Clang has that limit set to 8388608 (exactly 1 MiB)

(Running on x86-64 #Linux; #GCC 14.3.0, #Clang 19.1.7, both from #nixpkgs c2ae88e)

#c #c23

Redirecting...

On MSVC, an enum by default is signed.
so an anonymous class enum like

enum { foo, bar, baz
} mFoo : 2;

Is not going to be that useful. #MSVC knows about it but only tells you on /Wall, not /W4.

Maybe #cppcheck could at least gain a check for it ?

#GCC and #clang seems to do the right thing

#cpp

#DevLog: #Anklang Binding Migration 🧪

🛠️ Trying to base the C++ <-> JSON bindings on `#clang -extract-api` instead of castxml

🪛 Have prototype code for #JSON call dispatching

🧩 Atm fighting #CPlusPlus template specializations for member func with and w/o const

✨ The ultimate goal is to make the bindings type safe with #Typescript wrappers

#100DaysOfCode #BuildInPublic