3 ms·
Not directly related to the article, but there is an experimental effort to develop a userland TCP stack in .NET right now. It's interesting to see how this lo
by algorithmsRcool 8y ago
Not directly related to the article, but there is an experimental effort to develop a userland TCP stack in .NET right now.
It's interesting to see how this looks in a higher level language.
https://github.com/ProjectMagma/Magma https://github.com/ProjectMagma/Magma
- voltagex_ 8y agoAre there any blog posts about this? It looks like "Magma" is also something to do with Minecraft so it's really hard to find info about it.
- pjmlp 8y agoIn addition to that, here are some other examples. Go in Fuchsia, https://fuchsia.googlesource.com/third_party/netstack/ https://fuchsia.googlesource.com/third_party/netstack/ Oberon in Oberon (network stack but not TCP/IP though) https://www.inf.ethz.ch/personal/wirth/ProjectOberon/Sources/SCC.Mod.txt https://www.inf.ethz.ch/personal/wirth/ProjectOberon/Sources... http://www.projectoberon.com/ http://www.projectoberon.com/ Active Oberon in A2 - BlueBottle OS (TCP/IP stack) https://github.com/btreut/a2/blob/48dcfc1f1a6ed2bec110ca3af3674657d4229d16/source/TCP.Mod https://github.com/btreut/a2/blob/48dcfc1f1a6ed2bec110ca3af3... https://github.com/btreut/a2 https://github.com/btreut/a2 Mesa at Xerox PARC (Courier RPC, XNX) http://www.bitsavers.org/pdf/xerox/mesa/3.0_1977/listing/ http://www.bitsavers.org/pdf/xerox/mesa/3.0_1977/listing/ Sing# on Singularity https://archive.codeplex.com/?p=singularity https://archive.codeplex.com/?p=singularity Start at sourceCode\sourceCode\base\Libraries\System.Net\Sockets
- dannas 8y agoMirage OS written in ocaml has a tcp/ip stack as well. The marshal and unmarshal code is very succint compared to C implementations.
- pjmlp 8y agoThanks, forgot about that one, it is even part of Docker for macOS. https://blog.docker.com/2016/05/docker-unikernels-open-source/ https://blog.docker.com/2016/05/docker-unikernels-open-sourc...