4 ms·
> JavaScript is one obvious candidate I don't see anyone defending JavaScript. In fact a whole lot of people are using typescript now because JavaScript is jus
by dtx1 2y ago
> JavaScript is one obvious candidate
I don't see anyone defending JavaScript. In fact a whole lot of people are using typescript now because JavaScript is just so bad.
As for python, that's a good point. I guess it's just because it's easy to use and all the numerical stuff is done with c-bindings anyway?
But the C++ Situation is genuinely different. There's a reason governments are now calling upon developers to just let it die already[0]. That design flaw is so bad it's causing genuine harm.
[0] https://www.cisa.gov/news-events/news/urgent-need-memory-safety-software-products https://www.cisa.gov/news-events/news/urgent-need-memory-saf...
- constantcrying 2y ago>I guess it's just because it's easy to use and all the numerical stuff is done with c-bindings anyway? No, it's horrible, because now you have both python types and numpy types, which don't really interact well with one another. If you are using a language made for numerical analysis (e.g. Julia), a lot of headaches disappear instantly. Python is 100% just a case of a language being used because it is being used. It has, by itself, few merits to many of the tasks it is actually being for. >design flaw It is a tradeoff though. Rust is paying that tradeoff by being very restrictive about certain patterns and being in general quite complex to learn.