Jonathan Müller @foonathan.fosstodon.org.ap.brid.gy · 22/10/2025I'm hoping a cobus is enough like a bus in that it gets me to my destination. 100
Jonathan Müller @foonathan.fosstodon.org.ap.brid.gy · 17/08/2025Got tired of linking with LLVM so I've written something to emit bitcode directly. The blocks and records are conveniently defined in a little X macro file which then is used to stamp out a fully type safe builder API. 010
Jonathan Müller @foonathan.fosstodon.org.ap.brid.gy · 24/01/2025I'm going to be speaking at the C++ meetup in Helsinki on February 4th! Overengineering `max(a, b)`: Mixed Comparison Functions, Common References, and Rust's Lifetime Annotations www.meetup.com/cpphelsinki/events/3… #cpp #cplusplus 020
Jonathan Müller @foonathan.fosstodon.org.ap.brid.gy · 18/12/2024I've found a cool idiom for tagged unions of aggregates: Give each aggregate member a tag defaulted to the correct kind. That way, when you use designated initializers to construct the object, it will be automatically initialized correctly. godbolt.org/z/MYE91hGY6 #cpp #cplusplus 010