Re:The Onyx Programming Language
by bunderbunder on Friday December 08, 2023 @12:52PM
(#38571899)
Unfortunately they bury the meatier sales pitch in the documentation instead of putting it front and center on the home page: https://docs.onyxlang.io/book/philosophy/onyx.html
and perhaps also https://docs.onyxlang.io/book/philosophy/wasm.html and https://docs.onyxlang.io/book/philosophy/memory.html
Basically, it's really all about certain WASM use cases, and everything right down to its memory management strategy is optimized for those cases.
It looks to be a nicer C ultimately.
It looks like it fits pretty squarely in the "if you want to do C level programming but you'd also like nice lambdas, sum types, and type inference"
Re:The Onyx Programming Language
by CollinEMac on Friday December 08, 2023 @11:50AM
(#38571096)
Yeah but we have a lot of languages that do that now. Some of them are even mentioned on Onyx's homepage.
And only need it to compile to webassembly.
Oh, I missed that part. That's quiet the design choice.
Re:The Onyx Programming Language
by evanjrowley on Friday December 08, 2023 @12:35PM
(#38571678)
Notably, this is the description on GitHub[0]:
>A modern language for WebAssembly.
Exactly. Three things that should be on the front page of any new language: 1) examples of syntax (check), 2) quick start instructions (check), 3) short description of motivation/rationale including what other languages were considered and why do they fall short?
Re:The Onyx Programming Language
by estebanrules on Friday December 08, 2023 @01:13PM
(#38572165)
Great question. It looks like a cool language, but why should I use it?
What problems does this uniquely solve that other languages & environments don't?