Re:Size cost of C++ exception handling on embedded platforms
by nwmcsween on Tuesday May 17, 2016 @11:32AM
(#11714466)
Rust still requires stack unwinding info (dwarf CFI) so it's still going to be bloated on anything non-trivial.
[ Parent
| on HN ]
Re:Size cost of C++ exception handling on embedded platforms
by steveklabnik on Tuesday May 17, 2016 @03:00PM
(#11716340)
You can turn off unwinding as of a few days ago in nightly. We'll see how long it takes to hit stable.
Re:Size cost of C++ exception handling on embedded platforms
by nwmcsween on Thursday May 19, 2016 @09:11PM
(#11735030)
This is one of my issues with Rust, there are a a couple dozen knobs that need to be turned and may or may not break things to get somewhat sensible behavior (imo). And creating a shared library with Rust with it's default behavior of crashing on OOM (Linux can be configured to not do overcommit), etc is just plain bad.. oh yes there is a knob for that too!