News for hackers. Stuff that matters.
Re:Hypermodern Python by toby on Thursday May 28, 2020 @12:04PM (#23338872)
Rust?
Re:Hypermodern Python by ed25519FUUU on Thursday May 28, 2020 @12:41PM (#23339386)
Rust can definitely do it, but there still are a lot of gotchas. Many languages can do it, but there are so many pitfalls. For example, a host tz package.
Re:Hypermodern Python by jzoch on Thursday May 28, 2020 @12:49PM (#23339476)
I would argue rust does it much better than go. When you have to resort to hacks like cgo that subtly change the performance and functional characteristics of your program i wouldnt call it "first class". Its good, dont get me wrong, I like how go cross-compiles most things. I wouldn't say its the gold-standard as long as cgo continues to be a thing

Edit: I mention cgo as many who want to cross-compile a statically linked binary may want to interface with other libs via FFI and this is a huge gotcha. It is a bit tangential to strict "static linking binary building".