I seriously question how committed C++ is to zero-cost abstractions when they designed and standardized an entire standard library that assumes you’re using exceptions and doesn’t really work well without them.
-
-
I don’t know how many different ways I have to say “it’s a design awkwardness but not a performance problem”.
-
Rust basically doesn’t have a built-in constructor concept and always uses aggregate initialization for primitive initialization. It’s a fine model with some advantages.
- 1 more reply
New conversation -
-
-
The typical static factory pattern in C++ also involves the use of an allocator, which Rust avoids.
-
For someone who doesn't know Rust, how does Rust "avoid" it? My google so far is saying Rust doesn't actually avoid it at all, but I assume I'm not looking at it correctly.
- 2 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.