News for hackers. Stuff that matters.
Re:Ldraw: Lego Modeling in Rust by hu3 on Tuesday September 17, 2019 @10:36PM (#21001987)
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.

Re:Ldraw: Lego Modeling in Rust by thrower123 on Wednesday September 18, 2019 @12:40AM (#21002431)
Most software that is slammed together in JS doesn't need the kind of performance and correctness that Rust can bring to the table.
Re:Ldraw: Lego Modeling in Rust by fortran77 on Tuesday September 17, 2019 @10:39PM (#21002003)
> 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.

Re:Ldraw: Lego Modeling in Rust by unionpivo on Wednesday September 18, 2019 @08:56AM (#21004859)
It 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.

Re:Ldraw: Lego Modeling in Rust by hu3 on Wednesday September 18, 2019 @12:26AM (#21002378)
At 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...

Re:Ldraw: Lego Modeling in Rust by echelon on Wednesday September 18, 2019 @09:04AM (#21004946)
Have 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.