News for hackers. Stuff that matters.
Re:Three New Open Source Container Utilities by joseluisq on Thursday July 06, 2017 @01:43AM (#14708383)
I transcribe the following: "Go is a poor choice of language for a container runtime," Abrams wrote in a blog post." Go is a great language, but for small system utilities that need tight control over threads and make a high volume of syscalls, there are better options."

Is this true ?

Re:Three New Open Source Container Utilities by solidsnack9000 on Thursday July 06, 2017 @02:08AM (#14708462)
Abrams is the author of the Go Netlink library, and participates in an interesting conversation here: https://news.ycombinator.com/item?id=14470231 (as `vishvananda`, it's the top comment).

Many of the things the commenters discuss there are intricate. It's a lot of people who've worked on container runtimes and the issues relate to the interaction of Go with POSIX process and thread semantics. Go is not really intended to have transparent, finely controlled integration with C systems stuff...while Rust is.

Re:Three New Open Source Container Utilities by jitl on Thursday July 06, 2017 @02:41AM (#14708570)
I recently came up against this when deciding on a language to implement a POSIX-api backed utility.

Go does not have the fork(2) POSIX API. This makes it much more difficult to spawn a process with precise POSIX semantics.

Another issue is that when a goroutine (a fiber running in an OS thread) makes a syscall that blocks, that goroutine might be un-scheduled and then later resumed on a different OS thread. If your syscall is one that operates on the call-in OS thread, this could cause poor results. I think there are some mitigation strategies, but these two issues make syscall programming frustrating in Go.

Re:Three New Open Source Container Utilities by sanatgersappa on Thursday July 06, 2017 @01:51AM (#14708410)
Not sure about that, but Oracle is a poor choice as a source of open source tools, given their history.
Re:Three New Open Source Container Utilities by Veratyr on Thursday July 06, 2017 @03:08AM (#14708666)
How is this relevant to the question raised by the person you're replying to? You've raised an entirely different concern and ignored the question. Why did you post this as a reply rather than a top level comment?
Re:Three New Open Source Container Utilities by praneshp on Thursday July 06, 2017 @02:02AM (#14708441)
The author was one of the heaviest early contributors on the Openstack project.
Re:Three New Open Source Container Utilities by reitanqild on Thursday July 06, 2017 @02:42AM (#14708577)
Sadly whatever open source work a person does while working for Oracle seems to be tainted by it:

It might be successful but if the name Oracle shows up I am scared.

Re:Three New Open Source Container Utilities by joseluisq on Thursday July 06, 2017 @02:01AM (#14708437)
Right, especially its famous MySQL "Community"...
Re:Three New Open Source Container Utilities by vishvananda on Thursday July 06, 2017 @11:48AM (#14711261)
Author here. This hit hacker news in the middle of the night my time. I think the other replies already answered your question but it is worth mentioning that my point could have been worded better. Note that go works very well for other parts of the container system: docker client, docker daemon, containerd, kubernetes, etc. It is just the low-level namespace handling it has trouble with.
Re:Three New Open Source Container Utilities by cyphar on Thursday July 06, 2017 @03:11AM (#14708673)
Absolutely. There was a recent thread about how Linux namespaces and Go really don't like each other. There are many more issues with Go. Maybe I should write a blog post about it.

https://news.ycombinator.com/item?id=14479284

Re:Three New Open Source Container Utilities by joseluisq on Thursday July 06, 2017 @04:27AM (#14708911)
I would be great if you could write a post about that!