mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.1K
active users

Stuff like this is why I'm so excited about Zig :D (screenshot blatantly stolen from the spirv-backend channel on the Zig Discord)

discord.com/channels/605571803

Leonard Ritter

@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.

@lritter @floooh man we had this in glsl ages before scopes

@lritter @aeva @floooh oh God. Darmok is just the natural evolution of internet memes, isn't it.
Darth Vader, screaming with his fists up.

@jon_valdes @aeva @floooh jack nicholson, nodding with encouragement

@lritter @floooh

isn't this exactly what you wanted all along? people to get something out of your ramblings on mastodon about SSAT and SPIR-V backend? 😇

@andrewrk @floooh i'm just goading y'all. secretly i hope someone's going "unstealable, you say? too alien huh? WE'LL SEE ABOUT THAT..."

but seriously, that C syntax. do you LIKE having carpal tunnel syndrome? ;)

@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.

youtube.com/live/-Br66SUjsdQ?f via @Felienne

@avlap2 @andrewrk admitted, C syntax does make it possible to reuse the C preprocessor. it's a big plus.

@lritter @andrewrk I started with Zig, to be honest, the syntax starts to make sense, in general I think I love the language.

@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).

@floooh @andrewrk you may be very correct. guido van rossum, the creator of python, lived in the netherlands, where {} can also only be produced by an awkward key combination.

@lritter @andrewrk also all the Wirth languages (BEGIN/END)

@lritter @floooh @andrewrk
probably curly braces weren't invented yet when LISP was first created

@lritter @floooh @andrewrk
but a lot of time in the history of computing, especially in the early history of computing

@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).
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)

en.wikipedia.orgBCPL - Wikipedia

@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

@lritter @floooh @andrewrk
bad timing, who still wants dollars now that trump is elected :-p

@lritter @floooh @andrewrk An odd thing about my brain is I struggle reading s-expressions (even when I was using them frequently) but never had that problem with m-expressions.

@mbr @floooh @andrewrk i coded in classical s-expressions for about a year before i started working on a variant where indentation could replace round brackets.

suddenly it just looked like shell scripts.

@lritter @floooh @andrewrk Theoretically yes, but something like 90% of keyboards here use US International layout, the "real" Dutch layout is what you get when you accidentally order the wrong keyboard