by platinumrad · 8y ago · 0 comments
https://www.openhub.net/languages/compare?utf8=%E2%9C%93&mea...
https://github.com/docker/libnetwork/issues/1113
https://github.com/docker/libcontainer/tree/master/nsenter
https://www.weave.works/blog/linux-namespaces-and-go-don-t-m...
EDIT: TIL this is fixed in Go 1.10 which came out in February: https://golang.org/doc/go1.10#runtime
If rust continues to improve ergonomics and library support, I don't see anything stopping it from replacing C except in niche embedded systems that don't get LLVM support.
It is a network effect, regardless of how one might think about Go.
I expect rust to encroach on those quite a lot, as well as less system-y C code (such as utils).
It's still early days. Rust is showing a lot of promise, for me personally, when writing high performance web services.
If having a high profile industrial backer makes a language not niche then OCaml is not a niche language. (I wish this were the case.)
I don't believe that Go or Swift are growing because of their technical merits. Swift is essentially forced by Apple upon any developer who needs to develop applications that run on Apple products, and Go, in spite of its pedigree, can't be sold to newcomers without waving the Google brand.
> Widely displacing C is a pipe dream.
For old projects, sure. Yet, for greenfield projects then, given the choice, Rust does offer quite a lot of sought-after features that C is sorely lacking.
It's also a very good language, in par with Rust, and with the creator of LLVM behind it, and the creator of Rust (and many other Rust people) working at Apple in Swift.
>Go, in spite of its pedigree, can't be sold to newcomers without waving the Google brand.
And yet, Dart never got anywhere, despite the "Google brand" (and far more support initially, including official branding, an IDE, and having their #1 compiler guy working on it).
Displacing C for new projects though, it's not.
And it has increasingly done it for major projects from major companies (not just Mozilla).
This is already great for such a new language.
It is surprising to me, since academia often trails by many years.
Two classes off the top of my head from this spring:
https://www.cs.umd.edu/class/spring2018/cmsc330/
https://web.stanford.edu/class/cs140e/assignments/0-blinky/
Hearing rumbles of some more in the future...
Only current one I could find is https://www.mccormick.northwestern.edu/eecs/courses/descript...
For Haskell, the best I've heard is Facebook for some custom dev tools and Standard Chartered. I'm sure there's more, but...
And lots of big companies use Haskell, just like Rust - Facebook has used it for a while now.
It's important to remember that while rust may dominate the HN headlines, it's still a very niche language. That said, it's also showing a lot of promise in a world that largely dismisses programming languages as being irrelevant.