Phillip Lane

24 Followers
21 Following
34 Posts
Interested in many things HPC-- parallel programming, GPGPU, accelerators, computational mathematics, programming paradigms, AI/ML, computer architecture, the list goes on and on...
Pronounsthey/them
Age24
LocationNashville, TN, USA
Employed AtNowhere right now!

sad that no one voted on this. was it too difficult? did it not get enough visibility? anyway, the answer is that it depends on T.

if T is a possibly-reference-to a non-pointer function type, foo returns an lvalue. for all other types, foo returns an xvalue!

seeing some C++ hate on my timeline and it's reminding me that i've been stockholm syndromed into liking C++ over the past year. i've read so much of the standard and my descent into madness is irreversible. C++ has become a very comfortable language for me and this is terrifying

i'll ask my own little C++ trivia question. what is the value category from calling this function?

template <typename T>
std::remove_reference_t<T>&& foo();

lvalue
0%
xvalue
0%
prvalue
0%
depends on T (write how in comments)
0%
Poll ended at .

"sleep": silly. basic. kinda weak vibes from it. are you even that into it

"slumber": meaningful. expert mode. you're dead to the world temporarily. you could be blocking a path in pokémon only to be awoken by a flute

I’m a software developer with a bunch of industry experience. I’m also a comp sci professor, and whenever a CS alum working in industry comes to talk to the students, I always like to ask, “What do you wish you’d taken more of in college?”

Almost without exception, they answer, “Writing.”

One of them said, “I do more writing at Google now than I did when I was in college.”

I am therefore begging, begging you to listen to @stephstephking: https://mstdn.social/@stephstephking/113336270193370876

Stephanie King (@[email protected])

It's bumming me out to see so many universities forcing their English departments to put on a "English Majors Are Useful Too" promotional campaign to justify their existence when my experience out on the job market right now is HOT DAMN THIS ONE CAN WRITE A SENTENCE

Mastodon 🐘
Proposing that C++ acknowledge that there are exactly 8 bits in a byte.
I’d love feedback, especially from embedded / DSP folks who think this is a terrible idea.
https://isocpp.org/files/papers/P3477R0.html
P3477R0: There are exactly 8 bits in a byte

Given the choice, choosing only one, and assuming the same power envelope:

#HPC

Quintuple my per node Network BW
22.2%
Double my per node memory BW
77.8%
Poll ended at .

Thinking of getting an M3 MacBook Air for my next laptop. Never owned a Mac before, never used MacOS, but I just want a high-build-quality, low-power laptop with good battery life that isn't slow as hell.

My last laptop was a Windows on ARM machine, and I decided after that I was done paying the early adopter tax. Anything I should know before getting a Macbook? Any other machines I should look at?

Always with the helpful comments.
If you solder a ~10cm long "antenna" wire to a laptop's DRAM data bus, it makes it extra sensitive to electromagnetic interference.

So much so that clicking a piezo-electric arc lighter nearby can induce bit-flips.

I wrote an exploit to turn those bitflips into a shell:
Watch out for sparks, children