News for hackers. Stuff that matters.
Re:Lies we tell ourselves to keep using Golang by busterarm on Friday April 29, 2022 @11:29AM (#31206420)
I will say that playing around with Rust was an enjoyable experience, but it still has some warts where I think it's not quite ready for serious work yet (even though serious work is being done with it).

These days I find myself leaning heavily on either Haskell or Elixir/Erlang's ecosystem (with a preference for the latter). Or JavaScript (there's just an order of magnitude more jobs)...

Re:Lies we tell ourselves to keep using Golang by whimsicalism on Friday April 29, 2022 @12:47PM (#31207533)
I find it difficult to see a standard where Rust is not ready for "serious work" but Haskell is.
Re:Lies we tell ourselves to keep using Golang by busterarm on Friday April 29, 2022 @12:53PM (#31207617)
I can install a working Haskell toolchain with my package manager instead of the farcical `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh`.

If you're an automation-oriented kind of person like it's my job to be, setting up repeatable toolchians based around the above is a total crock of shit.

Re:Lies we tell ourselves to keep using Golang by __jem on Friday April 29, 2022 @01:38PM (#31208349)
Rust/rustup is in every package manager like ever. As someone who is "automation-oriented" you sound like you don't have the faintest idea what you are talking about.
Re:Lies we tell ourselves to keep using Golang by steveklabnik on Friday April 29, 2022 @01:19PM (#31208040)
Which package manager do you use that doesn't have rustc and cargo packaged yet?
Re:Lies we tell ourselves to keep using Golang by whimsicalism on Friday April 29, 2022 @12:57PM (#31207669)
If you think this is one of your stronger arguments, I think my point has been made.
Re:Lies we tell ourselves to keep using Golang by busterarm on Friday April 29, 2022 @01:00PM (#31207721)
Getting this right should be table stakes.

Every non-Rustacean who has suddenly had Rust forced into their workflows asks for this to be solved, specifically, and the Rust community keeps digging its heels in.

Haskell has its warts but it's not 101-level shit like this.

Re:Lies we tell ourselves to keep using Golang by __jem on Friday April 29, 2022 @01:40PM (#31208384)
"Getting this right" is a matter of opinion, and either way, rust can be installed a variety of ways. Your argument is literally nonsensical and demonstrates a seriously arrogance and lack of familiarity with what you're talking about.
Re:Lies we tell ourselves to keep using Golang by howinteresting on Friday April 29, 2022 @01:07PM (#31207844)
What is your threat model that isn't solved by some combination of a rust-toolchain file and using your package manager (nix or whatever) to install rustup?

If you want to isolate your build machines from the internet entirely, you're either going to use a hermetic build system and have some equivalent of vendoring your compiler, or manage your own internal package repository in which case you can just add your own Rust + Cargo build to it.

If you're paranoid about building the Rust compiler from source, you can even put in the effort into bootstrapping your own lineage. But given that you're ok relying on your package manager for Haskell, it seems like this isn't a huge problem for you.

Re:Lies we tell ourselves to keep using Golang by bobbylarrybobby on Friday April 29, 2022 @12:08PM (#31207002)
What did you think those warts were?
Re:Lies we tell ourselves to keep using Golang by mcronce on Friday April 29, 2022 @12:19PM (#31207154)
I use Rust for just about everything and I can definitely think of plenty of warts, but none of them make it "not quite ready for serious work" for my definitions of "serious work". I guess my point is that I'm curious what serious work this user is doing that Rust is unsuitable for - that kind of information is useful for language evolution, among other things.