5 ms·
"smoltcp is a standalone, event-driven TCP/IP stack that is designed for bare-metal, real-time systems." My understanding based on that description is that it
by chaosite 7y ago
"smoltcp is a standalone, event-driven TCP/IP stack that is designed for bare-metal, real-time systems."
My understanding based on that description is that it is meant for applications that run directly on the hardware, without an OS in the middle. I'm thinking embedded applications.
So I'm thinking that this is meant for IoT-style appliances and the like. Maybe I'm wrong :)
- pencillr 7y agoAh so, it can be something like a "network platform" on my (let's say) smart home thermostat? :D
- chaosite 7y agoExactly, it can be the bit that allows your smart-home thermostat to talk to the app on your phone (or the cloud).
- roblabla 7y agoI'm using it in my toy OS as my TCP/IP implementation. It's meant to be run in a wide variety of contexts, from embedded IoT-style appliances to userspace Linux. In fact, it has instructions for Hosted Usage[0] in the README. [0]: https://github.com/m-labs/smoltcp#hosted-usage-examples https://github.com/m-labs/smoltcp#hosted-usage-examples
- astrange 7y agoI think IoT devices run a lot more OS than you're expecting. Even the wifi chip on one might have a real OS. This could be useful for a userspace TCP stack; sometimes it's better to do the whole thing in your process than the kernel.