News for hackers. Stuff that matters.
Re:On Learning Rust and Go: Migrating Away from Python by bayesian_horse on Sunday March 24, 2019 @08:49AM (#19476042)
In all three cases, Python, Go and Rust, the language and ecosystem may be in the hands of an organization, but you can probably produce code productively in it for years even if the organization went under or chose unacceptable paths.

Go is quite unique in that it produces very independent binaries. This might make software written in it quite future-proof.

Personally I like Python's philosophy and the way the community is run. I like the trajectory. I understand the trade-offs. And I am sure as hell not going to teach Go or Rust as a first programming language to people who aren't computer science students. And even then...

Re:On Learning Rust and Go: Migrating Away from Python by vram22 on Sunday March 24, 2019 @01:02PM (#19477385)
>Go is quite unique in that it produces very independent binaries. This might make software written in it quite future-proof.

What do you mean by "it produces very independent binaries."? Do you mean that Go implements system calls itself, instead using corresponding wrappers from the OS's underlying C library?

I read something like that recently, but haven't looked into the point yet.

Re:On Learning Rust and Go: Migrating Away from Python by bayesian_horse on Tuesday March 26, 2019 @07:48AM (#19490824)
"Very independent" doesn't mean totally independent. In particular Go doesn't do shared libraries.
Re:On Learning Rust and Go: Migrating Away from Python by vram22 on Thursday March 28, 2019 @08:30AM (#19511501)
Cool, thanks.
Re:On Learning Rust and Go: Migrating Away from Python by gbear605 on Sunday March 24, 2019 @10:38AM (#19476571)
I think a “rust with GC” could actually be a very good intro language. The borrow checker is more than beginners can handle though.
Re:On Learning Rust and Go: Migrating Away from Python by rujuladanh on Sunday March 24, 2019 @02:23PM (#19477870)
There is little point to introduce a GC in Rust. If you don't mind a GC, you have nicer languages out there.
Re:On Learning Rust and Go: Migrating Away from Python by gbear605 on Monday March 25, 2019 @07:32AM (#19481649)
From my perspective, of all the languages that I’ve tried (Java, C, C++, Javascript, Haskell, OCAML, Python, several lisps), PHP, Swift), Rust is the best even without the borrow checker, and the borrow checker is just a nice bonus. Admittedly, there are many languages that I haven’t tried, and I haven’t done significant work with all of those.