2 ms·
> You can always have your rust code return an int, like we do in C if the boilerplate is too much for you. Sure, if you have complete control over all the sou
by majewsky 7y ago
> You can always have your rust code return an int, like we do in C if the boilerplate is too much for you.
Sure, if you have complete control over all the source code. I'd like to use my standard set of libraries regardless of whether the code in question is resource-constrained.
(Side-note: I specifically said "resource-constrained" instead of "embedded" because you can have resource-constrained code in an otherwise not-constrained application, e.g. in tight computation loops where you want to avoid heap usage to benefit cache locality).