Stuff like this is why I'm so excited about Zig :D (screenshot blatantly stolen from the spirv-backend channel on the Zig Discord)
https://discord.com/channels/605571803288698900/1105621511915700316/1305135574738407426
@floooh oh when it's all in C syntax, stuffed full of commas, semicolons and curly braces, THEN you like it!
@floooh we had this in scopes since 2016. but i'm not even mad, because i'm already ten steps ahead.
once i had written the whole thing and was able to use the same functions for both targets, it became clear during work that refactoring was still hard, because building pipelines is too convoluted in imperative languages, and not well defined in functional ones.
well guess what, after chewing on this for two years i have a path to glory now. and nobody's gonna steal it because it is too alien.
@jon_valdes @aeva @floooh jack nicholson, nodding with encouragement
@lritter @jon_valdes @floooh phpbb, their bananas dancing
@lritter @andrewrk @floooh Yes, Zig should hire more diversity in it's team. Now it's just about performance and doing the math right. Look how smart we are, we understand this syntax! You know men.
https://www.youtube.com/live/-Br66SUjsdQ?feature=shared&t=12104 via @Felienne
@lritter @andrewrk I actually wonder if there's a correlation between curly brace usage in programming languages designed in Europe (or rather on European keyboard layouts) vs US.
{ } is pretty much the worst case on German keyboards (I use the US layout even on a German keyboard - talk about US cultural imperialism lol).
@Doomed_Daniel @floooh @andrewrk lisp and C are almost the same age
@Doomed_Daniel @floooh @andrewrk 14 years. a blip in the history of space!
@Doomed_Daniel @floooh @andrewrk i already knew it was probably wrong when i said it but i was too lazy to check. all i had in the back of my mind was "the 60's" which is only correct when you take the average of both ;)
@lritter @floooh @andrewrk
yeah.. to be fair, I initially meant it as a joke, but thinking more about it, it's probably correct (I mean, not in the "invented {}" sense, but in the "keyboards didn't have those keys" sense).
https://en.wikipedia.org/wiki/BCPL claims that it was the first "brace programming language", but apparently it usually used "$(" and "$)" instead of { and } because of the "limited keyboards of the day".
And C still had trigraphs for such limited keyboards until C23 (or C++17)
@Doomed_Daniel @floooh @andrewrk ah, $( and $), of course, that's how its successor got so popular in finance
@Doomed_Daniel @floooh @andrewrk they probably do! i just added $ as variable prefix to NOIR syntax rules so the cash should roll in shortly