News for hackers. Stuff that matters.
Re:How to speed up the Rust compiler in August 2023 by papruapap on Friday August 25, 2023 @06:32AM (#37260078)
Go also have fast compilation times btw (:
Re:How to speed up the Rust compiler in August 2023 by Ygg2 on Friday August 25, 2023 @07:02AM (#37260286)
And a GC.
Re:How to speed up the Rust compiler in August 2023 by mfrw on Friday August 25, 2023 @09:33AM (#37261546)
I don't think the compile times of Go can be even compared with Rust or any major compiled language.

It does compile extremely quickly; Rust on the other end lies completely opposite on that spectrum IMO.

Although, both languages are "modern", both have their pros & cons.

Although this may sound like a pink elephant, but I would really want something that has the guard-rails, expresiveness & performance of Rust with the simplicity & compile-time speed of Go.

Re:How to speed up the Rust compiler in August 2023 by 3836293648 on Friday August 25, 2023 @12:36PM (#37263742)
Go is not modern and has never been modern. It's an old language that just happened to be designed and implemented recently.
Re:How to speed up the Rust compiler in August 2023 by yawaramin on Friday August 25, 2023 @08:21PM (#37268672)
You are looking at only the language, you should also evaluate the toolchain and runtime. Go has a toolchain that most other languages (including Rust) can only dream of.
Re:How to speed up the Rust compiler in August 2023 by yawaramin on Friday August 25, 2023 @08:19PM (#37268656)
> Although this may sound like a pink elephant, but I would really want something that has the guard-rails, expresiveness & performance of Rust with the simplicity & compile-time speed of Go.

This is basically OCaml.

Re:How to speed up the Rust compiler in August 2023 by mfrw on Saturday August 26, 2023 @12:02AM (#37269844)
Sure, thanks for the tip.

I will take a look :)

Re:How to speed up the Rust compiler in August 2023 by belmont_sup on Monday August 28, 2023 @01:58AM (#37290322)
Ocaml fan here but don’t expect crazy productiveness as you’d find yourself in Go unless you know fp and aren’t doing a lot of web dev.