|
|
|
|
|
by const_cast
370 days ago
|
|
It’s the same way with garbage collectors. You can write a naive mark-and-sweep in an afternoon. You can write a reference counter in even less time. And for some runtimes this is fine. But writing a generational, concurrent, moving GC takes a lot of time. But if you can achieve it, you can get amazing performance gains. Just look at recent versions of Java. |
|