|
|
|
|
|
by alkonaut
1612 days ago
|
|
Everyone will have a laundry list of things they need, depending on their use case. I'd like a general purpose language that fits somewhere near C#, Swift, and go. Similar to, but simpler and higher level than rust. Basically, take rust and sacrifice some of the lower level power for slower, but simpler more concise programs. - A strong static type system, but not as in-your-face as Rusts. Abstractions must be cheap in runtime, but not so cheap as to come at the price of more complex programs OR SYNTAX. Strong support for things like sum times with exhaustive matching. Generics. No Nulls. Annotations. All the things you expect from a modern language. - Struct-oriented imperative programming, like Rust. That is: not a functional language, not an OO language, but a focus on imperative and immutable. - A runtime with a garbage collector, to enable the above. - Utf8 strings - A rust like error handling system with catchable panics for "actually exceptional" things, and forced Result/Option types for everything normal. |
|