this post was submitted on 18 Oct 2024
144 points (100.0% liked)

technology

23238 readers
260 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] WhyEssEff@hexbear.net 9 points 13 hours ago* (last edited 13 hours ago) (1 children)

if they're proposing it as a C stdlib-adjacent method (given they're saying it should be an alternative to malloc [memory allocate]) it absolutely should be lowercase. plus is redundant because you just append the extra functionality to the name by concatenating it to the original name. mallocai [memory allocate ai] feels wrong, so ai should be first.

if this method idea wasn't an abomination in and of itself that's how it would probably be named. it currently looks straight out of Java. and at that point why are we abbreviating malloc. why not go the distance and say largeLanguageModelQueryingMemoryAllocator

[–] T34_69@hexbear.net 7 points 13 hours ago (1 children)

I might call it like, malloc_ai so it's like, I INVOKE MALACHI lol

[–] WhyEssEff@hexbear.net 8 points 12 hours ago* (last edited 12 hours ago) (1 children)

snake_case is valid, I’m just operating on the assumption that these rubes want it to be stdlib-adjacent

[–] T34_69@hexbear.net 3 points 9 hours ago

Well come to think of it, we did find out that certain snakes are standard lib-adjacent in disguise warren-snake-green