HNHacker News
TopNewBestAskShowJobs

pandax381

67 karma · joined August 22, 2025

submissionscomments
pandax381··on Show HN: I integrated my from-scratch TCP/IP stack into the xv6-riscv OS
Thanks for asking! It's compiled with -march=rv64g, so it uses the standard general-purpose extensions (IMAFD) and doesn't rely on anything exotic. Running it on bare metal is definitely a challenge I'd like to try someday! For now, the virtio-net driver is tightly coupled with QEMU, so a different network driver would be needed for specific hardware.
pandax381··on Show HN: I integrated my from-scratch TCP/IP stack into the xv6-riscv OS
Thank you! I completely agree, the complexity is definitely hidden by modern tools and abstractions. It's a challenging but rewarding project. You should give it a try, it's a fantastic way to learn!
pandax381··on Show HN: I integrated my from-scratch TCP/IP stack into the xv6-riscv OS
Thank you for checking it out!
pandax381··on Show HN: I integrated my from-scratch TCP/IP stack into the xv6-riscv OS
Thank you! And good luck with the labs, they're a great learning experience.
pandax381··on Show HN: I integrated my from-scratch TCP/IP stack into the xv6-riscv OS
Yes, that's correct! Both TCP and UDP are implemented. There's a udpecho server included as a sample application you can use to test it out.
pandax381··on Show HN: I integrated my from-scratch TCP/IP stack into the xv6-riscv OS
Thank you so much for the kind words! It really means a lot, especially from someone who understands the effort involved. I'm thrilled that it's resonating with fellow low-level systems fans.
pandax381··on [dead]
Thanks for pointing that out, that's a great observation. It's a tricky one, because the LICENSE file is inherited from the upstream mit-pdos/xv6-riscv repository, which also isn't recognized as MIT by GitHub. I'll look into fixing it.