Golang on Genode

Norman Feske norman.feske at ...1...
Thu Mar 31 08:23:24 CEST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

> That said I would be happy if Go worked, but to me it would be too
> much effort to port enough of the standard library to make Genode a
> viable platform for a lot of existing Go programs. I came to Go
> from Plan 9 and think it would hard to leverage the flexibilty of
> Genode with a language so strongly influenced by unix.

whereas I don't know whether or not Go would be good language to write
Genode components in, I think that the ability to run Go programs
directly on Genode would be very interesting. For example, the custom
applications by Inversepath (e.g., for file encryption) for the USB
Armory are written in Go. Right now, we need to run them on top of
Linux on the USB Armory. With Genode supporting Go directly, we could
eventually move those applications to the Genode world.

On a technical level, I have a question though: As far as I know, the
Go tool chain produces statically-linked binaries. Is this mandatory
or is it possible to produce position-independent code (to be loaded
by a dynamic linker) as well? I ask because I'm planning to move
Genode's kernel-specific code into the dynamic linker and keep the
actual applications and libraries kernel-agnostic. If Go executables
must always be statically linked, this concept wouldn't work for such
programs, which would be unfortunate.

Cheers
Norman

- -- 
Dr.-Ing. Norman Feske
Genode Labs

http://www.genode-labs.com · http://genode.org

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlb8wlwACgkQQwppp8aV4siiTwCfQf1ZG5biK/k+/N9j3dhPRxen
vwUAnjqhg+oc3qUlbpV1DHaQ1oPYrsHj
=rXt8
-----END PGP SIGNATURE-----




More information about the users mailing list