4 ms·
Look at the cost equation. Whatever additional resources they need to spend is a payment for improved safety / security. It's like saying that a reinforced doo
by nine_k 9y ago
Look at the cost equation. Whatever additional resources they need to spend is a payment for improved safety / security.
It's like saying that a reinforced door with a lock is more expensive and heavy than a regular cardboard-and-planks one, and is slower to open. It is! But is has other advantages, not attainable otherwise.
- blub 9y agoBy managed languages I understand memory managed, aka GC languages. It's not correct to say that they use additional resources to provide memory safety or security. Python for instance uses additional resources because it simply doesn't have a performant implementation and Java uses additional memory to gain execution speed. Swift and Rust are memory safe, but don't need a GC, so those memory safety advantages are in fact attainable otherwise.