5 ms·
What about a Zig implementation of libp2p?
- compressedgas 4y agoYou mean libp2p, right?
- ByteBandit 4y agoyes of course :) sorry for the typo
- nyberg 4y agoSounds like a great project, when will you start?
- ByteBandit 4y agoI would say in the coming weeks, I believe in the capacity of Zig for decentralized applications due to its intrinsic nature (simple, secure and very close to the computer), which makes me think that we could have here a viable alternative to everything that is currently done on Rust.
- childintime 4y agoI've never used libp2p. When ported to zig it could possibly run on a small embedded system, say something like a ESP32? What requirements RAM/flash am I looking at, for a minimal system?
- ByteBandit 4y agoYes, there is already a Rust version (https://github.com/libp2p/rust-libp2p https://github.com/libp2p/rust-libp2p) that behaves well at this level but I think we can reach a higher level of performance on this point with Zig. Also, if you look at the long term roadmap of libp2p (https://github.com/libp2p/specs/blob/master/ROADMAP.md https://github.com/libp2p/specs/blob/master/ROADMAP.md), the mobile devices and IoT integrations for example are part of the considerations.