3 ms·
This is another PL I won't try (not that the authors should care). I'm still waiting for a good "system programming language" that - has compile time executio
by francasso 6y ago
This is another PL I won't try (not that the authors should care).
I'm still waiting for a good "system programming language" that
- has compile time execution that can call a compiler API to allow compile time code generation
- full compile time reflection, optional runtime reflection
- doesn't have any kind shape or form of automatic memory management
- has decent discriminated unions
- is not much more opinionated than C on how I should live my life
- operator overloading: define at least common operators (+, *, -, etc...) for user types. Sometimes I like the idea to be able to define infix/postfix functions in general while also assigning a priority and an associativity (totally possible with a hand made parser), but I think that could easily lead to a mess if miss-used by the community.
Zig is spot on for some of those. JB's Jai on others. For the rest it looks like there aren't many people that are bothered by the things I'm bothered with.
- diegoperini 6y agoTake a look at Jai. It's not released yet and doesn't cover all your bullet points but it promises speed and getting out of your way, especially if you are a game programmer who loves build pipelines and data oriented design. https://inductive.no/jai/ https://inductive.no/jai/