On Fri, May 15, 2015 at 5:25 PM, 'Bill Cox' via golang-nuts
<
golan...@googlegroups.com> wrote:
>
> This is my biggest concern for Go. The overhead of Go's runtime has to be
> tiny. Why can't we upgrade the tool flow a bit and start creating
> C-linkable Go libraries that all the rest of the system can use?
It's done. It will be in the 1.5 release, at least for some OS's.
Use go build -buildmode=c-archive.
> I should
> be able to write Chrome, or Android, in Go. Maybe even Linux.
In my opinion, you could already write Chrome in Go. I'm not sure
just what you mean by Android, but it would be hard to write a kernel
in Go. Not completely impossible, just hard. Go is designed to crash
if it runs out of memory; a kernel doesn't have that luxury.
Ian