Better HN
topnewbestaskshowjobs
Log inSign up

pandax381

67 karma · joined Aug 22, 2025 (1y ago) · 11 submissions

Submissions

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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!

comment 1y ago · link · parent

Thank you for checking it out!

comment 1y ago · link · parent

Thank you! And good luck with the labs, they're a great learning experience.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

7.

Show HN: I integrated my from-scratch TCP/IP stack into the xv6-riscv OS(github.com ↗)

147 points · by pandax381 · 1y ago · 12 comments

comment 1y ago · link · parent

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.