News for hackers. Stuff that matters.
Re:The Path to Rust by Jonhoo on Thursday May 26, 2016 @01:32AM (#11775736)
That is indeed how I meant it. That said, Go is certainly being used as a systems language, and especially in the domain of networked services, it is rapidly replacing C/C++.
Re:The Path to Rust by jguegant on Thursday May 26, 2016 @02:25AM (#11775984)
"and especially in the domain of networked services, it is rapidly replacing C/C++."

Rapidly? Where?

Re:The Path to Rust by pjmlp on Thursday May 26, 2016 @04:03AM (#11776396)
Thanks to the adoption of Docker, Dropbox and other well known SV companies.

Even Microsoft is now contributing to the eco-system due to their collaboration with Docker. Also Joe Duffy (from MSR Midori) tweets about his Go experiences.

Personally I prefer other languages, but I am surely happy to see more Go and less unsafe languages being used.

Re:The Path to Rust by IndianAstronaut on Thursday May 26, 2016 @06:54AM (#11776982)
Go also has the advantage of a simple syntax like Python. Moving some of our ETL processes to Go from Python has been quite easy.
Re:The Path to Rust by Jonhoo on Thursday May 26, 2016 @02:34AM (#11776028)
I don't have any numbers to support this claim, but it's certainly true that we are seeing a lot of software being developed in Go, and network software in particular.
Re:The Path to Rust by ngrilly on Thursday May 26, 2016 @03:26AM (#11776228)
Examples of services that typically would have been written in C/C++ but are written in Go: Docker, YouTube Vitess (a MySQL proxy), CockroachDB (a distributed and strongly consistent SQL database).

Other examples of companies using Go for network services: Dropbox (most backend), CloudFlare (Railgun and other things), Uber (geofencing), Bitly (messaging with NSQ), Disqus (realtime commenting), DigitalOcean, Heroku, SoundCloud, Dailymotion.

Re:The Path to Rust by ngrilly on Thursday May 26, 2016 @08:46AM (#11777470)
There is also Netflix using it for a proxy:

> The decision to use Go was deliberate, because we needed something that had lower latency than Java (where garbage collection pauses are an issue) and is more productive for developers than C, while also handling tens of thousands of client connections. Go fits this space well.

Source: http://techblog.netflix.com/2016/05/application-data-caching...

Discussion: https://www.reddit.com/r/golang/comments/4l0fv2/the_netflix_...

Re:The Path to Rust by Scarbutt on Thursday May 26, 2016 @02:08AM (#11775910)
replacing python is a bit of stretch no? I'm sure you can, but is it practical? like for quickly hacking stuff up.
Re:The Path to Rust by Jonhoo on Thursday May 26, 2016 @02:13AM (#11775933)
Actually, no. I've found that I'm maybe even more productive in Rust than I am in Python, even for one-off tasks. The one exception is probably plotting, but I'm sure a Rust library for that isn't far off.
Re:The Path to Rust by jhasse on Thursday May 26, 2016 @03:30AM (#11776253)
What's your replacement for Python REPLs like bpython or ptpython?
Re:The Path to Rust by Jonhoo on Thursday May 26, 2016 @11:08AM (#11778485)
I barely, if ever, use/need a REPL. The shell has all the tools I need for short, one-off tasks.
Re:The Path to Rust by Scarbutt on Thursday May 26, 2016 @02:19AM (#11775954)
Impressive, I'll have to check it out :)
Re:The Path to Rust by pjmlp on Thursday May 26, 2016 @04:08AM (#11776418)
Once upon a time I used Python for systems administration tasks and that was a long time ago, around 2003.

Python doesn't offer much against languages that compile to native code, have type inference (if strong typed) and REPL.

The only reason for me, would be if I am required to make use of a framework or library that requires me to use Python.

Re:The Path to Rust by lmm on Thursday May 26, 2016 @09:44AM (#11777847)
I use Scala for that kind of use case sometimes. If you have a REPL and you have good enough type inference you can pretty much just do what you would do in Python, and as a bonus you can reuse library functions from your real system rather than having to duplicate or shell out to them from your scripts
Re:The Path to Rust by IndianAstronaut on Thursday May 26, 2016 @06:55AM (#11776991)
I find getting stuff up and running with Go is quite easy. Just set up a small package with some quick hacks and then a separate file to run the package functions.