Boost.Math now supports reverse mode automatic differentiation. Exact derivatives via computational graphs, no step size tuning, no approximation error. Thanks to Maksym Zhelyeznyakov (physics BS, applied math MS, ECE doctorate from UW), who hit this wall on a personal project
Now the same technique that powers gradient computation in PyTorch and TensorFlow is native in C++ through Boost. If you're building ML inference engines, trading systems, or physics simulations in C++, this changes your workflow
#cpp
How did Satoshi figure out cross-platform threading, filesystem operations, and event signals for Bitcoin? His answer was Boost.
For 15+ years, Bitcoin Core ran on:
- boost::thread_groups for concurrency
- Boost.Filesystem for data management
- Boost.Signals2 for event notification
- Boost.Chrono for timing operations
Now Core is migrating to std::thread, std::filesystem, std::chrono. Features that originated in Boost and were standardized into C++.
That's what Boost does: incubate, prove, standardize. The next generation of C++ features? They're being battle-tested by the Boost community right now.
@lemire Daniel, you set out to compare "std::ranges" versus "conventional", but invalidated your experiment by choosing two different algorithms. Why such a basic mistake? And why not correct it by doing the right experiments now?
What's with @NoMachine censoring references to competing products and technologies (e.g. VNC) on their support forum? It's extremely weird. You can find examples by searching for "[removed]": https://t.co/0ybPH2HKCG
Luxembourg constitution, Article 24: https://t.co/Cr2C7MXCdx
@github One user identified a bug and, on my request, made a PR with a test to demonstrate it. Shortly afterwards, another user, presumably affected by the same bug, provided the fix.
I love seeing this collaboration amongst users of a library to move it forward.
https://t.co/ko0JYgNewD
@lemire@meetingcpp https://t.co/U2FDuMQj9t
You can check out the website for links to the slides, etc. Search for "Greatest Common Measure: the Last 2500 Years."
@b0rk Love this post! Have also been using git for forever and never realized about HEAD~ vs HEAD^.
So ^ = BFS and ~ = DFS on the commit tree, it's just a pity the symbols don't have much mnemonic power for me.