Email or username:

Password:

Forgot your password?
aeva

say what you want about C but "void star" is a great name for a type that is as powerful as it is dangerous

51 comments
jell

@aeva (Also 100% sounds like the kind of low-budget early-90s scifi show that had about 9 episodes and nobody else remembers but is seminal to my entire existence.)

alys

@joshuaelliott @aeva or a yellowed paperback you find at a used bookstore with a cover about to fall off

Velyn

@aeva one-winged angel plays in the background

mcc

@aeva If I start making music again it will probably be my band name (not a joke)

mcc

@aeva Proposed name of album: "Illegal Operation"

Klara, continued

@aeva I distinctly remember thinking about what a cool name this was back when I first learned C but also being surrounded by Serious Programmer Dudes who rolled their eyes at me for thinking a sequence of words was neat for its own sake.

Which is to say, thank you for this decades-late validation.

aeva

@klara as the self-appointed queen of rusty nails, broken glass, and doing dodgy things with concurrency (a position and title I made up for the purpose of this toot and will be abdicating from momentarily), I hereby proclaim liking things to be "in"

Klara, continued

@aeva Hooray!

Maybe I'll try liking programming more. I did find a 100% justifiable situation in which to name a flag "reverse polarity" today. That's gotta count for something.

Dana Fried

@aeva
void star: a star composed entirely of antipattern

Third spruce tree on the left

@tess @aeva Duh. Its a ball of incandescant gas, a great big nuclear furnace - that returns nothing.

Chris Bohn

@aeva When you point into the void, eventually the void points back.

pyro

@aeva
"Prepare the Void Star."
"but sir, it's far too dangerous!"
"I know the risks, lieutenant! that's an order!"

Michał Górny :gentoo:

@aeva, lemme be the killjoy who calls it an "asterisk".

aeva

@mgorny sorry. I'll accept "pointer" and "splat" as alternatives in this context, but not "asterisk"

Luci xor Amber
@aeva also a great title for someone to have
Quixoticgeek

@aeva it's a great name for a mastodon instance too...

yosh

@aeva I gotts start calling asterisks stars again for stuff like this

Essjay (she / her) 🏳️‍🌈

@aeva

'Satellite Hitori' by Keiron Phelan contains the immortal error-message sounding line -

"overriding, public void run interruption"

The song is based on a true story about a Japanese satellite that once launched into space, steadfastly refused to communicate with Ground Control -

youtube.com/watch?v=ZEBgAm_GBx

#Music #Indie #KeironPhelan

sarah 🦦

@aeva it shouldn't exist but god does it go hard

Chris [list of emoji]

@aeva

The argument is unused but cannot be removed. It must be...

<reverb>
CAST TO VOID!
</reverb>

Stella :karasu:

@aeva thinking about what if I named myself Star and realizing that I literally did

🚲

@gvwilson @aeva Well, shoot, adding that to the ol’ to-read list.

Andrea

@grrrr_shark @aeva You haven't lived until void * (*)(void * (*)(void *))

Grrrr, Darth Moose Shark

@andrea @aeva Thank you for reminding me that it's not too early on a Friday afternoon to start drinking. XD

Andrea

@grrrr_shark @aeva hey I think I've only ever once been guilty of writing the kind of code that would use such a type without using a real JIT :P

Joel D

@aeva “Void Star” is also the title of one of my favorite recent-ish sci fi books: en.wikipedia.org/wiki/Void_Sta

llewelly

@aeva oh, programmer, what type wilt thou cast upon the bits read from the address of the void?

R💽nflaix

@aeva aaaand stolen into my "potential idea for later" stash, thank you very much have a nice day

DELETED

@aeva

Void Star is a great name for a metal band that only covers Jefferson Starship.

vfig (aka leviathan_bound)

@aeva and when your program explodes because you dereferenced it, can we call that a void supernova?

Vile Lasagna

@aeva I grew up with a language that isn't afraid of words, tho, so I know * is an asterisk and the star doesn't make sense. So I always just read void* as "void pointer".

Gone is the romance, all we're left with it spaghetti code

Vile Lasagna

@aeva I've always known the actual name of the * character so English native speakers saying "star" when they read it just always felt super bizarre to me. Still does

aeva

@VileLasagna what part of this is being afraid of words though? English loves words, we keep packing more of them into it.

Vile Lasagna

@aeva eeehhhh... not so sure, especially when it comes to the US. I still haven't recovered from, say, the word literally existing specifically to denote something is not a metaphor or hyperbole and then, y'know, people just more and more using it as such.

It pains my insufferable nerd brain

Aaron

@VileLasagna @aeva Native speaker here. I've always known the name of it too, but I will still say "star" for convenience, just like I say "oh" instead of zero in a phone number. Has nothing to do with not liking words; I'm quite verbose. Expediency of communication is what it's about.

aeva

@hosford42 @VileLasagna I did not get the impression that he's particularly interested in the native speaker perspective on English. Really quite the opposite actually.

Vile Lasagna

@hosford42 @aeva Yeah, I was speaking as a non-native, for sure.

The "not liking words" thing is an intentional hyperbole but the feeling with a lot of English is still a bit Mr Torgue a lot of the time. (not to mention other barely related gripes)

youtube.com/watch?v=50ZXUOnMjf

It doesn't help here that "asterisk" is the same in my native language so the "real name" just comes naturally to me and the whole "star" thing just never clicked, it's like my brain throws a parser warning immediately

Douglas Kilpatrick

@aeva@gamedev.place `#define RTLD_DEFAULT ((void *) -2) // Use default search algorithm.`

Seth "Twylo" Morabito

@aeva Back in 1998 when I worked at a tiny startup our running joke was “I will cast you into the void star!!” We were young and dumb and I kind of miss that.

Stephan Neuhaus

@aeva You could say the same about my favourite Java typo:

pubic void

pseyfert

@aeva I thought it was called desasterisk

Go Up