Because they not only allocate memories but also free them. Running GC over large amount of objects is an expensive task.
Hyeonu
10
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Is Rust really faster than Java because of memory management? | 17 | 18880 | September 8, 2022 | |
| Rust performance with big memory consumption | 7 | 5592 | June 27, 2017 | |
|
Why isn't Rust even faster than C++? Comparing heap vs stack allocation
|
25 | 6832 | May 13, 2020 | |
|
Blog: Comparing Rust & Java
|
9 | 7131 | July 20, 2016 | |
|
Rust From Pure-Functional Scala
|
44 | 8688 | June 6, 2023 |