News for hackers. Stuff that matters.
Re:Taking ML to production with Rust by zozbot234 on Monday December 02, 2019 @09:24AM (#21682533)
Even Go is not that bad tbh. It's basically Java/.NET done right, and that makes it quite appropriate for some uses.
Re:Taking ML to production with Rust by pjmlp on Monday December 02, 2019 @10:06AM (#21682948)
Not it is not.

The only thing that is has done right versus Java is having AOT compilation since the begining (.NET always supported it via NGEN).

Not to mention that Java and .NET are platforms for programming languages, and already there Go loses big time versus what we have available on our toolbox.

Re:Taking ML to production with Rust by saberience on Monday December 02, 2019 @11:16AM (#21683764)
.NET done right? haha really? I find Go to be an order of magnitude less productive than C# and more complicated to get up and running with actually building useful things. Go over-complicates things which C# and .NET make easy while also having less readable code and less robust tooling.
Re:Taking ML to production with Rust by pas on Monday December 02, 2019 @09:50AM (#21682763)
I still have no idea how to get/run/make/compile/deploy Go stuff. Sure, there's some GOPATH, some packages, dep? go get?

I have no idea how, but 1-2 years ago when Kubernetes was new I tried it, and somehow got it to build (obviously I must have been using the stuff from the README) - but I haven't learned it.

Whereas with Rust? It's cargo. Done. That's up. Or rustup if you don't have anything yet. With Java? It's IntelliJ or the OpenJDK.

Re:Taking ML to production with Rust by hellofunk on Monday December 02, 2019 @02:19PM (#21685789)
Yeah, vendoring in Go can be a bit frustrating. One of the great benefits of the JVM is how dependencies are isolated to the project so nicely, bundled into the jar, and everything "just works" no matter where you take that jar. That's one of the most liberating aspects of working with Java/Kotlin/Clojure, etc.
Re:Taking ML to production with Rust by jeremyfranco on Monday December 02, 2019 @10:07AM (#21682955)
Re:Taking ML to production with Rust by pas on Monday December 02, 2019 @06:23PM (#21688221)
I haven't encountered it so far.

Last time I fiddled with something Go based was wit cfssl (cloudflare's excellent PKI thingie), and that uses something else. I don't remember what, it's in the GitHub Action YML file now. (Which alas turned out to be a big hot air pipeline :// )

I plan on learning a bit more about Go, but last time with the 2.0 proposal and the go mod/dep thing it seemed like there will be some streamlining, so I decided to postpone the immersion into the Go-cean.

Re:Taking ML to production with Rust by shpongled on Monday December 02, 2019 @01:21PM (#21685127)
Yeah, every time I have tried to get a Go project set up or built from source I end up throwing in the towel 15 minutes later in frustration. Never had that kind of experience with any other language