web2019/content/software/smoltcp.md
Egor Savkin 49ef25b5c3 Demangle email addresses on the site
Signed-off-by: Egor Savkin <es@m-labs.hk>
2023-11-29 17:21:33 +08:00

1.2 KiB

+++ title = "smoltcp" weight = 2 template = "page.html" +++

{% layout_centered_content(min_width=true) %}

smoltcp is a standalone, event-driven TCP/IP stack that is designed for bare-metal, real-time systems.

{% end %}

{% layout_centered_content(min_width=true, force_left=true) %}

Its design goals are simplicity and robustness. Its design anti-goals include complicated compile-time computations, such as macro or type tricks, even at cost of performance degradation.

smoltcp does not need heap allocation at all, is extensively documented, and compiles on stable Rust 1.20 and later. It is used in embedded systems such as the ARTIQ core device and ionpak.

smoltcp achieves ~Gbps of throughput when tested against the Linux TCP stack in loopback mode.

The source code is available on GitHub.

Commercial support for smoltcp is available. Email sales@m-labs.hk.

{% end %}