js-libp2p
js-libp2p copied to clipboard
QUIC in JS for libp2p
Found out today thanks to @sericaia that there is already a QUIC implementation for Node.js made by @fidm
- https://www.npmjs.com/package/quic
- https://github.com/fidm/quic
Super cool! We should try it out and see if it is interoperable with @marten-seemann go-quic impl and use it in libp2p :)
There is also some discussion around implementing QUIC as a native node module, https://github.com/nodejs/node/issues/23064, potentially starting early next year.
This project seems to be dead, last commit was 7 months ago. According to the README, it's implementing Google QUIC (although without the crypto, however that's supposed to work), whereas we're using IETF QUIC.
The native node module looks very promising, will be interesting which implementation they'll choose as the basis, or if they'll write their own.
There's also this one https://github.com/rmarx/quicker/tree/draft-15 that is worth taking a look (note that it uses an old Node version)
closing in favor of https://github.com/libp2p/js-libp2p/issues/1459