Implementing a Struct of Arrays
https://brevzin.github.io/c++/2025/05/02/soa/
Discussions: https://discu.eu/q/https://brevzin.github.io/c%2B%2B/2025/05/02/soa/
Implementing a Struct of Arrays
https://brevzin.github.io/c++/2025/05/02/soa/
Discussions: https://discu.eu/q/https://brevzin.github.io/c%2B%2B/2025/05/02/soa/
Debugging Multithreaded C/C++ Code in Visual Studio Code (VS Code Tutorial for Developers)
Introducing ni-midi2 – A Modern C++ Library Implementing MIDI2 UMP 1.1 and MIDI CI 1.2 – Franz Detro
https://www.youtube.com/watch?v=SUKTdUF4Gp4
#cplusplus #cpp #MIDI #programming
JUCE and Direct2D – Matt Gonzalez – ADC 2024
https://www.youtube.com/watch?v=7qepqLo5bGU
#coding #cpp #JUCE #programming
Early Access to the C++Now 2025 YouTube videos are coming soon!
To find out how to get access to over 50 talks and lightning talks from C++Now 2025 for $150, visit https://cppnow.org/early-video-access
Learn about Generic programming in C++ with Nicolai Josuttis!
https://meetingcpp.com/mcpp/training/trainingslisting.php?tid=39
#cpp
#cplusplus
C & C++ recap for week 18/2025
https://discu.eu/weekly/candcpp/2025/18/
#cpp #cprogramming #programming
Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium
There’s a lot to building a good #API. It has to communicate the underlying abstraction well. It has to include the right calls. It has to exclude the “wrong” calls. It has to take inputs and provide outputs in ways that are safe, convenient, and ergonomic. It has to communicate any transfers of ownership. It has to communicate lifetimes. It has to make it clear when some things must happen in a given sequence, and make it easy to call into it that way. It has to separate itself from implementation details. It has to fail in understandable ways at places where the failures can be handled. It has to have good names to back up everything I’ve said so far. It has to have good and up-to-date documentation. It has to have tests that don’t look inside the black box. This is important stuff, because it’s at the APIs that bugs happen: where two different pieces of code rub up against each other. Everything above is true in any language. If you’re writing a library, this is job one.
No language makes all of this easy. Some languages don’t even make all of this possible. #Cpp can do it. #RustLang can do it. Some others I know less well. It takes experience, skill, taste, and domain knowledge to do this. I am loving Rust because part of this job is required by the compiler. It’s still a lot of work; and you still have to do it.
Alright, made it to Munich for the #QTWS25 where I'll be presenting tomorrow. Wondering how to move a legacy code base from QtWidgets to QtQuick? Come to my "Crossing the QtWidgets to QtQuick Bridge" and I'll show you a path to do such a move and the reasons why it could be easier.
https://www.qt.io/qt-world-summit-2025/agenda#crossing-the-qtwidgets-to-qtquick-bridge
Workshop Preview Safe and Efficient C++ for Embedded Environments
Get a glimpse into how I teach.
You can book your seat for the full edition "Safe and Efficient C++ for Embedded Environments", May 30: https://andreasfertig.com/courses/safe-and-efficient-cpp-for-embedded-environments/
Early Access to the C++Now 2025 YouTube videos are coming soon!
To find out how to get access to over 50 talks and lightning talks from C++Now 2025 for $150, visit https://cppnow.org/early-video-access
Using type aliasing to avoid the ODR problem with conditional compilation, part 2
https://devblogs.microsoft.com/oldnewthing/20250502-00/?p=111140
Discussions: https://discu.eu/q/https://devblogs.microsoft.com/oldnewthing/20250502-00/?p=111140
New version of the Freestanding implementation for #GCC 15.1.0 available
The code has been branched off and a docker container for #AVR is released.
Want to try out some of the proposals for #Freestanding C++?
Want to mess around with modules?
For the AVR processor (probably the one in your #Arduino board)?
Docker image at https://hub.docker.com/repository/docker/paulbendixen/avr-libstdcxx
Source code based on official GCC 15.1.0 with further Freestanding proposals baked in:
https://gitlab.com/avr-libstdcxx/gcc/-/tree/freestanding-15-release?ref_type=heads
Writing your own C++ standard library, part 2
https://nibblestew.blogspot.com/2025/05/writing-your-own-c-standard-library.html
Discussions: https://discu.eu/q/https://nibblestew.blogspot.com/2025/05/writing-your-own-c-standard-library.html
Finally, if there are any cool people in Wrocław, Poland who want to hang out with a random fellow geek today, please let me know!
Feel free to boost for visibility
scipy.cpp – Using AI to Port Python’s scipy.signal Filter-Related Functions to C++ for Real Time Use – Julius Smith – ADCx Gather 2024
https://www.youtube.com/watch?v=hnYuZOm0mLE
#AI #cpp #programming #Python
Open-lmake: A novel reliable build system with auto-dependency tracking
https://github.com/cesar-douady/open-lmake
Discussions: https://discu.eu/q/https://github.com/cesar-douady/open-lmake