3 ms·
Just because one project doesn't benefit much doesn't mean others don't. Microcontrollers are pretty powerful these days - Cortex M7s might run at 200+MHz and h
by leoedin 7y ago
Just because one project doesn't benefit much doesn't mean others don't. Microcontrollers are pretty powerful these days - Cortex M7s might run at 200+MHz and have 2MB of flash. You could easily end up with a project with a small webserver, wifi and ethernet, a GUI and more. When you have 10s of thousands of lines of code having the kind of guarantees Rust gives becomes more important.
- FpUser 7y agoI was specifically referring to my example doing strictly hard real time stuff. What you are describing looks more like a regular software and can be more cost effective implemented in any higher level language then C. On a side note while I do not know very much about Rust beyond some main concepts I did couple of experiments with decent size example and compile speed made me turn away from it. When/if significantly improved I might be more interested working with it. EDIT: added "higher level language then C" instead of "higher level language" to make more clear
- steveklabnik 7y agoDepending on when you tried, the speed might be much better; it's hard to measure exactly, but it's gotten roughly 3x faster since 2015. It's still not where we'd like it to be, and are continuing to invest in improving this, especially in the incremental case.