News for hackers. Stuff that matters.
Re:The Onyx Programming Language by andsoitis on Friday December 08, 2023 @11:19AM (#38570711)
> A data-oriented, expressive, and modern programming language

What problems does this uniquely solve that other languages & environments don't?

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.

Re:The Onyx Programming Language by cogman10 on Friday December 08, 2023 @11:34AM (#38570894)
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.
Re:The Onyx Programming Language by celrod on Friday December 08, 2023 @11:48AM (#38571069)
And only need it to compile to webassembly.
Re:The Onyx Programming Language by cogman10 on Friday December 08, 2023 @12:39PM (#38571731)
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.

[0] https://github.com/onyx-lang/onyx

Re:The Onyx Programming Language by bwanab on Friday December 08, 2023 @12:20PM (#38571495)
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?