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? | 18 | 18532 | December 7, 2022 | |
| Rust performance with big memory consumption | 8 | 5545 | January 12, 2023 | |
|
Why isn't Rust even faster than C++? Comparing heap vs stack allocation
|
26 | 6656 | August 11, 2020 | |
|
Blog: Comparing Rust & Java
|
10 | 7078 | July 7, 2022 | |
|
Rust From Pure-Functional Scala
|
45 | 8419 | September 4, 2023 |