r/cpp • • 11h ago

toml++ 3.5.1 released

52 Upvotes

Hiya folks,

I've finally come back to maintaining toml++ after a couple of years focusing on other things, and am happy to share that v3.5.1 is now released! Highlights from v3.4.0:

  • Support for TOML v1.1.0 🎉️
  • Support for C++20 std::chrono date-time types
  • Support for C++20 modules with import tomlplusplus
  • Faster parsing (~2x, ~5x for string-heavy docs)
  • Faster formatting (~1.5x, ~3x for float-heavy docs)
  • Faster compiles and smaller binaries for some configurations
  • Lots of fixes for various issues

Full changelog here.

"What about v3.5.0?"

3.5.0 and 3.5.1 are exactly the same library. The patch bump was necessary because I'm rusty and messed up the tagging for v3.5.0, so I just made a new release right on top of it to keep things safe for packaging systems.

Also this will probably the last feature bump for the v3.x series of releases. There's a whole load of larger structural and design things I want to get to that require breaking changes, so I'll start cooking on those and hopefully have that out as a v4 next year some time. Until then it'll just be patch bumps.


r/cpp • • 7h ago

GridLock: an open-source debugger built for MPI and parallel C++ development

Thumbnail github.com
11 Upvotes

I'm a CS PhD candidate working in computational electromagnetics, and I've been developing GridLock, an open-source graphical debugger specifically for MPI and HPC workflows on Linux.

It supports multi-rank debugging, synchronized stepping, memory inspection, deadlock detection, and experimental SLURM/Spack integration.

It's written in C++23 with Qt6, MIT-licensed, and still under active development.

I'd love to get feedback from others working in HPC. What features would make a parallel debugger genuinely useful in your day-to-day work?

It's inspired greatly by Jetbrains, DDD, kdbg and a few others. Made it because most other parallel debuggers are super old or insanely priced for commercial use (Totalview).

https://github.com/bnorthern42/GridLock