News for hackers. Stuff that matters.
Re:Single Page Applications using Rust by steveklabnik on Tuesday August 11, 2020 @02:43PM (#24124160)
This is a complicated question, and ends up different for each individual. For me, I don't see the borrow checker as being more silly than GC, just an alternative, and one that speeds up my development process, not slows it down. I am also, of course, incredibly biased.

Rust also has many, many features that are not the borrow checker. Some people prefer Rust because of those features, in spite of the borrow checker.

https://without.boats/blog/notes-on-a-smaller-rust/ is also one of my favorite bits of writing on this topic.

Re:Single Page Applications using Rust by conradev on Tuesday August 11, 2020 @10:07PM (#24127942)
That is a great link. The point at the end about making the language embeddable is actually one of the things I love about Rust the most. Rust is aggressively cross platform and I appreciate that a lot. Write a parser in Rust once, run it everywhere.

I’d use Swift a lot more (which has some of the features mentioned in the article) if the resulting code wasn’t limited to Apple OSes (the Linux support is crap). Or perhaps Kotlin if it wasn’t limited to the JVM, etc.

Re:Single Page Applications using Rust by RhodesianHunter on Wednesday August 12, 2020 @01:00AM (#24128728)
Kotlin isn't limited to the JVM thanks to KotlinJs and Kotlin native
Re:Single Page Applications using Rust by tekknik on Wednesday August 12, 2020 @08:04AM (#24131170)
Golang
Re:Single Page Applications using Rust by hardwaregeek on Tuesday August 11, 2020 @03:07PM (#24124521)
Wow...there is really really good advice in that post. I was considering making my side project language into a simpler Rust and that post just gave some great suggestions. Especially since I’m writing the compiler in Rust to WASM.
Re:Single Page Applications using Rust by nickbauman on Tuesday August 11, 2020 @05:13PM (#24126051)
That's a good link there. I think the answer to a smaller Rust is Go, however. The comparative compiler speed alone is worth the price of entry. Don't @ me ;)
Re:Single Page Applications using Rust by andrewflnr on Tuesday August 11, 2020 @07:41PM (#24127215)
Smaller Rust is more like OCaml than Go IMO. Go has an entirely different design philosophy.
Re:Single Page Applications using Rust by aliceryhl on Monday August 17, 2020 @10:31AM (#24187614)
Go may be smaller than Rust, but I really don't think it is a smaller Rust. There are too many differences in the philosophy, and they make Go just some other language.
Re:Single Page Applications using Rust by gameswithgo on Tuesday August 11, 2020 @06:39PM (#24126832)
Go is so much smaller its no longer anything like a smaller ruts, though.

Or, is Go bigger because the GC represents a ton of complexity?