* the philosophy of zig in terms of simplicity
* the thread and memory safe nature of Rust - without Rust's kitchen sink approach to adding sub languages and complexity
* the simplicity and straightforwardness of TypeScript
* the philosophy of zig in terms of simplicity
* the thread and memory safe nature of Rust - without Rust's kitchen sink approach to adding sub languages and complexity
* the simplicity and straightforwardness of TypeScript
Zig does have some memory safety, but not as much as Rust of course. I think Zig made the decision to add as much safety as they could, without crossing the complexity boundary. any further memory safety and you're about in Rust land. maybe some middle ground language is possible, but not one that I know of.
That's not quite true. We have GC using languages (some allow it to be turned off), and for many or in many use cases, that would be enough. Other languages like Lobster, Vlang, Vale, etc... are developing/putting out easier to use alternatives.
This is a bit of a headscratcher. TS is a kludgy attempt at adding type safety to a dynamically-typed and expressive language.
It’s SO easy.
All programming languages should be this easy.
TypeScript has more than enough complexity even without the npm ecosystem.
https://en.wikipedia.org/wiki/ATS_%28programming_language%29
To my mind, BTW, Typescript is not that "straightforward" or "simple", but it has a pretty powerful type system, and I like that.
I love rust but I think it's fundamentally complex
I get the practical reasons why it’s useful, but I’m surprised it’s anyone’s choice for the design of a high level language. Is Python or Ruby not a much better choice?
Ruby, idk, never used or even encountered it. Python was my main language for a while.
I could see fully modern JS, without any transpilers, being an ok scripting language, I guess that's why React Native works well in that way.
For standard library, NodeJS keeps things pretty simple server-side. It's messier client-side with browser standards, but it's getting better, and Python can't even run in-browser. I like how JS evolves more gradually than Py which had the hard 2->3 transition.
I have to say I really prefer TS.
I know Python has types now but it doesn’t feel as good as TS.