r/Compilers • u/Ok-Squirrel8537 • 16h ago
Releasing The Yugo Programming Language and Skopjemu Emulator
https://serjective.org/blog/releasing-yugo-and-skopjemu/
0
Upvotes
r/Compilers • u/Ok-Squirrel8537 • 16h ago
6
u/Inconstant_Moo 13h ago
So on the one hand you claim to have "a smaller, lighter alternative" to C++ and "a focused, understandable design", and that you've been "rejecting [abstractions] that cause more trouble then they’re worth", and that you're all about "human ergonomics" and "language constructs designed to support the programmer while not overcomplicating the language".
But on the other hand you tell me that "While other languages go all in on one approach, Yugo focuses on allowing the programmer to choose and intermix memory management strategies most applicable for their projects".
And then your example "Hello world" code involves putting annotations on structs and then reading them at runtime with some sort of funky macro-looking stuff where all the function names start with
#.Looking at the language reference I find that you have two ways of saying
if. The other one's calledguardbut I didn't understand the difference.This is your explanation of something seemingly as simple as string interpolation.
And here you are "explaining" closures:
I didn't ask for any of that. If it is in fact a smaller lighter alternative to C++, then that can only be because "smaller than C++" is an incredibly low bar, not because you spent any actual time thinking about how to make things simple for human beings.
I do like the name of the language, though. Yugoslavia was made by forcibly uniting disparate factions that obviously didn't belong together into an ungodly mess that was bound to end in disaster. And now look at you.
2
u/azhder 11h ago
Let me guess, the emulator will be full of observers.