Eric Niebler
banner
ericniebler.com
Eric Niebler
@ericniebler.com
C++ core compute libraries tech lead at @nvidia, husband, father, @isocpp member, former nomad, and sometimes artist wannabe.

opinions are my own

he/him
is there really no way to get a void* to the object stored in a std::any? i wants it.

#cpp
September 12, 2025 at 9:22 PM
i despise the word "agentic".
September 5, 2025 at 5:10 PM
I've started using digit separators when checking the value of __cplusplus and feature test macros, and i am liking it. 2019'02 is less work for my old brain.
August 29, 2025 at 4:33 PM
@jfbastien.com have you already lined up your next gig or are you looking?
June 8, 2025 at 10:15 PM
Reposted by Eric Niebler
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...
GTC 2022 - How CUDA Programming Works - Stephen Jones, CUDA Architect, NVIDIA
YouTube video by Coding In Rust
www.youtube.com
May 26, 2025 at 6:49 PM
Reposted by Eric Niebler
The WG21 C++ 2025 pre-Sofia mailing is now available at www.open-std.org/jtc1/sc22/wg....

There are less than 100 papers so I'm sure you can have them all read by tonight. :-)
ISO/IEC JTC1/SC22/WG21 - Papers 2025
www.open-std.org
May 20, 2025 at 1:08 AM
UPDATE: stdexec gets native support for ASIO!

HUGE community contribution from github user @RobertLeahy, an expert in both ASIO and std::execution.

With the new `use_sender` completion token, ASIO's async APIs return senders. Now you can program generically with async network operations!

🎉
May 10, 2025 at 7:29 PM
is there a good tool, possibly a vscode extension, for splitting git commits?

i have a workflow in mind: define some empty "commits" and then graphically drag chunks into each one.

1/
April 25, 2025 at 12:02 AM
if void pointers make sense, and references make sense, then void references make sense.

why u no void& ?
April 16, 2025 at 6:10 PM
i want to import std::move(obj) into a namespace but *not* std::move(iter, iter, out), and C++ will. Not. Let. Me.
a cartoon character is covering his eyes with his hands .
Alt: Stitch clawing at their eyelids from frustration.
media.tenor.com
April 14, 2025 at 5:17 AM
cyberpunk had it wrong. it needed to be way darker and FAR more stupid.
April 8, 2025 at 10:44 PM
I take comfort from knowing that he's fucking things up so badly that things are unlikely to continue this way for very long.

'Cause now he's hurting rich people.

And rich people are pain averse.
April 5, 2025 at 5:24 PM
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 🦊
April 4, 2025 at 3:08 AM
Seattle is upping its crime game. 🫠
March 28, 2025 at 3:02 PM
i am constantly looking up:

* the C++ feature test macros
* the printf format specifiers
* the Doxygen special commands

i've been doing this for 30+ years. i should just make posters and hang them above my desk already.
March 27, 2025 at 9:47 PM
Have a happy C++!
March 8, 2025 at 1:18 AM
In the book Swan Song, the Devil strolls into a movie theater chuckling to himself while WWIII is bringing a rapid end to human civilization.

He's laughing because he didn't have to do anything.

The humans are blowing themselves up.

I think about that a lot.
March 7, 2025 at 7:01 AM
Boy that sends me back
March 6, 2025 at 11:52 PM
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
February 24, 2025 at 5:39 PM
I miss ThinkGeek. Where do I go to buy desktop refrigerators and TaunTaun sleeping bags now?
February 16, 2025 at 12:55 AM
Worried about the price of eggs? Get some hens. 🐔 Srsly.
February 7, 2025 at 4:31 PM
I don't see many appeals to Godwin's Law these days.
en.wikipedia.org/wiki/Godwin%...
February 4, 2025 at 11:10 PM
is it gauche to star your own github repo? asking for a friend.
a man in a black shirt is waving his hand in front of a blue background with the words `` go me '' written on it .
Alt: a man in a black shirt is waving his hand in front of a blue background with the words `` go me '' written on it .
media.tenor.com
February 4, 2025 at 5:55 PM
In the world of Functional Programming, is there a term for a type transformation like:

F [a,b,c] -> [F a, F b, F c]

Is this some sort of monadic something-or-other?
February 3, 2025 at 7:32 PM