Hacker News new | past | comments | ask | show | jobs | submit login

The language itself is lightweight enough to use on tiny microcontrollers. Most bloat on the host side comes down to your choice of dependencies (clap is one of the worst offenders in my experience, bloating a simple command line tool by as much as 10x in both size and compile time).



I wonder if there's an alternative to clap's derive stuff? I really love it (I think it came from structopt), it makes defining and handling the arguments nice and easy when things get a bit complex.


My go-to is argh[1], as it's more lightweight while still providing a nice derive-based API.

[1]: https://github.com/google/argh


I'll have to try it out. Thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: