Menu

Post image 1
Post image 2
1 / 2
0

Yggdrasil Network as an Embedded GO Library

DEV Community·Ascii Moth·23 days ago
#eyU9bGiZ
#go#networking#ipv6#network#return#core
Reading 0:00
15s threshold

Yggdrasil is an experimental overlay IPv6 mesh network. In short, it lets you build a "network on top of a network": each node gets a stable IPv6 address derived from its public key, and that address does not depend on where the node is physically located or what external IP address it currently has. Nodes can connect to public peers, to each other directly, or discover each other on the local network. Once connectivity is established, ordinary TCP/UDP applications can communicate as if they were simply using another IPv6 network. In the classic setup, Yggdrasil is a daemon that creates a virtual network interface in the operating system. But sometimes it would be useful to embed Yggdrasil directly into an application. For example, into Matrix clients , or into web applications . The original yggdrasil-go is not especially convenient for that role because of leaky abstractions and strong coupling between components.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More