public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: nncp-devel@lists.cypherpunks.ru
Subject: Back to gvisor.dev/gvisor
Date: Sun, 4 Sep 2022 17:43:33 +0300 [thread overview]
Message-ID: <YxS5laBNkgFfEOSd@stargrave.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]
Greetings!
Some time ago NNCP depended on Google's gvisor.dev/gvisor, to be able to
work with Yggdrasil peers. But it has huge number of dependencies, so
there was inet.af/netstack fork, that included only the needed small
part of it.
Unfortunately I discovered that it does not build under Go 1.19 anymore.
Several files are explicitly marked as non-buildable under that version
of Go. Probably it is just for safety reasons, because when I removed
those "!go1.19" tags -- everything *seems* to work, but I am not
completely sure.
But inet.af/netstack is officially obsolete now, because Go 1.17 has
ability of lazy modules loading: https://github.com/inetaf/netstack/issues/4
So I moved NNCP back to gvisor.dev/gvisor, without any noticeable growth
of go.sum file. However that requires Go 1.17 now. As I remember, there
were some issues on 32-bit platforms with gvisor, but, as I can see in
their commit messages, they seem to be testing it under those systems now.
--
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: 12AD 3268 9C66 0D42 6967 FD75 CB82 0563 2107 AD8A
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next reply other threads:[~2022-09-04 14:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-04 14:43 Sergey Matveev [this message]
2022-09-06 23:40 ` Back to gvisor.dev/gvisor John Goerzen
2022-09-07 8:28 ` Sergey Matveev