2 ms·
No, the list of features is No mandatory header files New semantic macro system Module based name spacing Subarrays (slices) and dynamic arrays
by guerrilla 5y ago
No, the list of features is
No mandatory header files
New semantic macro system
Module based name spacing
Subarrays (slices) and dynamic arrays built in
Compile time reflection
Enhanced compile time execution
Generics based on generic modules
"Result"-based zero overhead error handling
Defer
Value methods
Associated enum data
Built in strings
No preprocessor
Undefined behaviour trapped on debug by default
Optional pre and post conditions
Associated enum data sounds like variant types. It has namespacing and it has generics. That alone is almost worth it to me (not that I'd use a language with no community.) If it had lambdas, that'd be the quadrivium for me.
Apparently it has struct subtyping too.