4 ms·
Rust is great but too cognitive-heavy to have any shot at replacing JS. One should not overestimate the importance of secure/fast over "gets shit done easily w
by hu3 7y ago
Rust is great but too cognitive-heavy to have any shot at replacing JS.
One should not overestimate the importance of secure/fast over "gets shit done easily with minimal learning curve" on most projects.
- fortran77 7y ago> too cognitive-heavy Don't underestimate people's intelligence! (Or overestimate your own.) I think people will get it. Javascript is also very cognitive heavy.
- hu3 7y agoAt work, time and energy are best used solving real world problems. Not toying with technology for the sake of it. And surely you're joking when comparing JS's cognitive load with Rust's...
- echelon 7y agoHave you used Rust with an IDE? It's not at all hard to write. Hard to learn, sure. But it's easy to produce once you know how it works. Javascript without types and an IDE takes thought. You have to keep remembering which things are which type and how they get plumbed though the stack. Honestly I'd even say Rust is easier. But I've written a lot of Rust. Typescript with an IDE makes Javascript easier. The "Rust is hard" meme needs to die. The language designers have worked tirelessly to ensure that the language is accessible and productive.
- unionpivo 7y agoIt has nothing to do with intelligence. I can grab an average teenager without any kind of programming experience, and teach him enough in one day (maybe 2), for him to google, and copy paste him a working site with some interactive elements. Sure it will have a ton of bugs, probably only work on his browser, but it will work. For programming in rust, you need to have at least basic understanding of hardware model and operating systems, know concepts such as stack/heap, references/pointers etc. Its a ton of additional stuff you need to know, before you can even start. None of that is particularly hard (well most of it). But it's a lot of it. There are productive JS fronted developers who wouldn't be able to tell you what event based loop is.
- thrower123 7y agoMost software that is slammed together in JS doesn't need the kind of performance and correctness that Rust can bring to the table.