Eric Niebler reposted
Eric Niebler
Eric Niebler
@ericniebler.com
Distinguished C++ nerd at @nvidia, father, @isocpp member, former nomad, and sometimes artist wannabe. opinions are my own he/him
1.1K followers85 following248 posts
This month, the NWCPP talk was about CUDA Tile C++, something I worked on, and next month it's about std::execution -- the C++26 async model -- another thing I worked on! Quite a lot, actually. I'm planning to be there. Come say hi. nwcpp.org/Sept-2026.html #cpp
Portable-ish code for getting the pretty name of a type godbolt.org/z/Y5zqxbvP1 #cpp
I finally got `import std` to work on @compiler-explorer.com godbolt.org/z/3P5b11f5M #cpp
stdexec has real docs now! nvidia.github.io/stdexec/inde... i was able to leverage the work i did to specify std::execution for c++26 by pointing Claude at eel.is/c++draft/exec. yay! #cpp
He's got my vote, whenever he runs
Feeling overwhelmed with all of this. LISTEN. Another Louisiana resident (Marshawn is the only name we have) testifies against the state’s racial gerrymander, speaking truth to power up and down the hearing room and predicts how this story will end. Speak your truth, fight and believe.
Eric Niebler reposted
I've built a text adventure game engine on top of the C++ Standard. Why? I have no idea. But it's a learning tool with quests and time travel and artifacts and NPC's and XP and ... well, you just have to check it out! cppevo.dev/adventure
I've put this little type-erasure library on github for safe-keeping. github.com/ericniebler/...
No Advent of Code for me. Instead, I've used the break to write the type-erasure library I have always wanted. C++ doesn't make it easy to have both dynamic polymorphism *and* value semantics, but this little utility does! Interfaces can extend other interfaces, and it works in consteval, too. 🤩
godbolt.org/z/avMYaTor8 I love how clang just optimizes the whole thing away.
Eric Niebler reposted
What’s New and Important in CUDA Toolkit 13.0 developer.nvidia.com/blog/whats-n... #cpp #cplusplus
@jfbastien.com have you already lined up your next gig or are you looking?
Eric Niebler reposted
Really great talk covering GPU perf stuff including optimizing for memory bandwidth / cache and occupancy. Relevant to any GPU perf considerations, not specific to CUDA. www.youtube.com/watch?v=QQce...
At first I thought this was a shot in the spaces-vs-tabs war and was like WHOA vertical tab characters MAJOR escalation.
I'm a vertical tabs convert, super space efficient with them collapsed and that CTRL+Z key command (to expand/collapse) is getting committed to muscle memory. Thanks @firefox.com 🦊
Growing up in the early 80s, my Dad had an IBM PC and a poster of all the WordStar commands in our basement. en.m.wikipedia.org/wiki/WordStar
C++ wizards: this one has me stumped. I can initialize an immovable sub-object if it is a member but not if it is a base class. Why? godbolt.org/z/P7jxr5joK #c++ #cpp
I don't see many appeals to Godwin's Law these days. en.wikipedia.org/wiki/Godwin%...
Use [[no_unique_address]] to determine if a set of types are unique in O(N). godbolt.org/z/dTcGhqseo
Regular Expression Matching Can Be Simple And Fast by Russ Cox swtch.com/~rsc/regexp/...
Regular expressions can blow up! lemire.me/blog/2025/01... #cpp #cplusplus