mkretz

@mkretz@floss.social
60 Followers
56 Following
249 Posts
πŸ‘¨β€πŸ‘¦πŸ‘©β€πŸ‘§β€πŸ‘§, C++ committee numerics chair, SIMD specialist, CS PhD, Dipl.-Phys, high energy physics, former KDE core developer, FLOSS user & supporter,πŸƒβ€β™‚οΈπŸš΄β€β™‚οΈπŸ‹οΈβ€β™‚οΈ
GitHubhttps://github.com/mattkretz
ORCIDhttps://orcid.org/0000-0002-0867-243X
Stravahttps://www.strava.com/athletes/124318317
πŸ”΄ πŸ‘ - The MAGA-Cult explained:

I probably am not the only one that certainly will never travel to the US again as long as the @GOP is in power there.

The speed at which they destroy the foundations of US strength is mindboggling.

My bike must have missed me. It drove really fast through the 26–54 km/h wind. πŸ˜…

#roadcycling #beatyesterday

And we just renamed it again. Who would have thought that we can name something 'vec' when we already have 'vector' πŸ˜….
It'll be std::simd::vec<T, N> and std::simd::mask<T, N> in C++26.
Also vec and mask are (read-only) ranges now (range-based for works) and we got permutations, gather & scatter, compress & expand as well as mask conversions to and from bitset and unsigned. πŸ₯³
Lot's of implementation and optimization work ahead for me now.

#cpp26 #simd #cplusplus #cpp

Why did IEEE specify sqrt(-0) to be -0?! That's … surprising when applied to the interpretation of -0 in the context of complex numbers:
sqrt(complex{-0,+0}) is complex{+0,+0}.
And also pow(-0, 0.5) is +0.
If anything sqrt(-0) should be NaN, but why -0?

#floatingpoint #iec60559 #ieee754 #CPlusPlus #C #cpp

Bitte die Aufmerksamkeit auf die wirklich relevanten Dinge lenken, und sich nicht von Pseudo-Wichtigem ablenken lassen.
Prof. Maja GΓΆpel auf der Re:Publica 2025.
We’re Experts in Fascism. We’re Leaving the U.S. | NYT Opinion

YouTube

Excellent, excellent post: we must run governments--from local to federal--like households where everyone cares about everyone else (even when we don't fucking like them that much--we don't have to love or even like everyone we live in community with)

#GovernmentLikeAHousehold

"Jonathan talks to us about libstdc++ (GCC's standard library implementation), of which he is the lead maintainer, and tackles some tough questions like ABI compatibility - and how GCC and libstdc++ approach it." https://cppcast.com/libstdcpp/ @gnutools
Episode 400 : CppCast

Phil and Timur are joined by Jason Turner, Matt Godbolt, Anastasia Kazakova and Guy Davidson to celebrate 400 episodes of CppCast and catch up with the co-hosts that have helped us keep up for the last 50 of them!

There's resistance against using the same name in a namespace and a type inside that namespace. Why? What is the actual problem with this code? Is the 'foo::foo' looking too much like a constructor definition (in that context)? Isn't it great how the call to 'bar' has a clear relation to 'foo'?
Why is it considered bad practice that shouldn't pass code review?

#cpp #cplusplus #WG21 #cpp26 #namingThingsIsHard