Alt text:
Transcendence meme template
function main() {...}
int main() {...}
void main() {...}
U0 main() {...}
/* HolyC example */ U0 Main() { U8 *message = "hello world"; "%s\n",message; } Main;
Alt text:
Transcendence meme template
function main() {...}
int main() {...}
void main() {...}
U0 main() {...}
/* HolyC example */ U0 Main() { U8 *message = "hello world"; "%s\n",message; } Main;
16 Comments
aaaaaaaaargh@feddit.org · 25 pts · 176d
I wasn't aware it has a Logo:
marcos@lemmy.world · 15 pts · 176d
You know somebody is really lost when they decide the empty set is a subset specifically of unsigned integers and nothing else.
arcterus@piefed.blahaj.zone · 7 pts · 176d
What is the
Main;at the end? Is this like a scripting language where having something likemain()is just an idiom? Also isprintf()like built-in or something?bitcrafter@programming.dev · 10 pts · 176d
Yes, it is the scripting language of TempleOS.
arcterus@piefed.blahaj.zone · 5 pts · 176d
I knew it was from TempleOS, didn't realize it was actually a scripting language though.
somerandomperson@lemmy.dbzer0.com · 5 pts · 175d
also, (nix)
themoken@startrek.website · 5 pts · 176d
Okay, U8, sure, but a boolean is U0? Surely U1 if you absolutely must...
jh29a@lemmy.blahaj.zone · 30 pts · 176d
well I'd assume U0 is the void type. since it contains no data
Quetzalcutlass@lemmy.world · 17 pts · 176d
I think it's equivalent to void, not a boolean.
themoken@startrek.website · 3 pts · 176d
Oh, that makes more sense, but then "unsigned" void?
Kacarott@aussie.zone · 14 pts · 176d
Tbf, unsigned void makes more sense than signed void
vala@lemmy.dbzer0.com · 4 pts · 175d
Honestly kinda weird to see something I made and posed 2 days ago reposted on this community with my my exact title and alt text but no acknowledgement.
wewbull@feddit.uk · 3 pts · 176d
Zig too.
https://ziglang.org/documentation/0.15.2/#toc-Zero-Bit-Types
Kacarott@aussie.zone · 9 pts · 176d
Wow zig has
u0andi0sga@piefed.social · 4 pts · 176d
what does i0 even mean, like what is the sign even for
flandish@lemmy.world · 2 pts · 176d
what an interesting story. truly a gem.