Would love to compile a list of things that are part of "the Rust runtime" so that a constructive answer can be provided to the "Rust doesn't have a runtime" meme. I'll start: Box::new calls the allocator, and in order to keep the heap tidy a lot of work happens at runtime.
I would argue it does! But I'm not an expert and can't think of anything other than "stack guards on some platforms, if we're lucky" (and even of that I only sort of know what it is).
-
-
Interesting, I've never even considered that things the compiler inserts are considered part of "the runtime"
-
Haha, I mean the Go runtime is also just a bunch of stuff the Go compiler inserts. "Runtime" is a bit of a vague word, and I think enumerating what kinds of runtime things the compiler includes would be generally useful.
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.