Xarn
horenmar.bsky.social
Xarn
@horenmar.bsky.social
Still has opinions about testing, still maintains Catch2.

~~Personal~~ technical blog at https://codingnest.com
Reposted by Xarn
Tragically, once you introduce costly signaling, all mathematics is impure.

COMIC ◆ www.smbc-comics.com/comic/signal-4
PATREON ◆ www.patreon.com/ZachWeinersm...
STORE ◆ smbc-store.myshopify.com
October 20, 2025 at 10:30 PM
I added bunch of lifetime annotations to Catch2's matchers, so the compatible compilers (Clang, MSVC in theory) will yell at you if you use it wrong with temporaries.

So many annotations (the overload set is chonky). :-D
October 3, 2025 at 8:35 PM
As of right now, you can find the username and password for the C++ standardization wiki on a public mailing list.

I thought it was supposed to move off single shared acc few years ago though 🤔
September 28, 2025 at 6:52 PM
@matt.godbolt.org Finally got my CE mugs today.

Sadly the MSVC ABI one is printed askew.
September 8, 2025 at 6:26 AM
Reposted by Xarn
Congrats... (checks notes) ... er, Microsoft? I guess?

"Alongside the Proxy 4 release, Microsoft introduced the Compiler Explorer, an online tool that allows developers to write and run Proxy code in their web browser."

www.infoworld.com/article/4046...
August 27, 2025 at 10:47 PM
New release of Catch2:

* Messages can be thread safe as well
* Faster JSON/XML output

github.com/catchorg/Cat...
Release v3.10.0 · catchorg/Catch2
Fixes pkg-config files will take DESTDIR env var into account when selecting install destination (#3006, #3019) Changed filter to store the provided predicate by value (#3002, #3005) This is done...
github.com
August 25, 2025 at 8:07 PM
Reposted by Xarn
Repost if you think I should bring some print copies of my latest puzzle book (over 400 pages of puzzles!) to the next conference to give away!!

leanpub.com/programming_...

(Expect to be able to buy it yourself in print in the next week or so, or get the digital copy today).
August 19, 2025 at 11:22 PM
Reposted by Xarn
If you're like me and can't remember if it's RCX or R8 for the fourth parameter... Get the Compiler Explorer ABI Mug: actual calling conventions for x86-64 System V, Windows, and ARM64. Support @godbolt.org: grab yours here -> shop.compiler-explorer.com/collections/...
August 17, 2025 at 10:02 PM
Here is a little bit of free advice:

If you are gonna send out blind spam emails to promote your tool, don't lead with github repo I forgot even existed.

I have a repo that is close to 20k stars, try that ;-)
August 19, 2025 at 2:55 PM
Reposted by Xarn
@gralefrit.bsky.social You have to see these! A friend of mine has been collating a series of images entitled "Things my students have written turned into Philomena Cunk quotes" and they're just glorious.
August 11, 2025 at 11:12 AM
This is a big release:

* opt in thread safe assertions
* Much faster assertions in the happy case

github.com/catchorg/Cat...
Release v3.9.0 · catchorg/Catch2
Improvements Added experimental opt-in support for thread safe assertions Read the documentation for full details The default test run order has been changed to random Passing assertions are si...
github.com
July 24, 2025 at 8:05 PM
Reposted by Xarn
Ep 490 - std::ignore vs _ vs [[maybe_unused]]
youtu.be/iUcS0LCj2Ko
July 21, 2025 at 3:31 PM
So, I am not saying that the next release of Catch2 will have thread safe assertions, but I hope your platform supports `thread_local` variables
July 20, 2025 at 6:34 PM
I started looking into limited thread safety for assertions in Catch2.

Then I started refactoring some internals to make it easier.

The result is that running assertions is almost 40% faster than before. Profit!

(Wait for thread safety by default to take it all away again)
July 17, 2025 at 9:10 PM
Apparently I got two bot followers before I even finished customizing my profile.
July 17, 2025 at 11:42 AM