Re:How to speed up the Rust compiler some more
by TazeTSchnitzel on Thursday November 24, 2016 @09:27AM
(#13030449)
PHP's compiler is written in C, and its AST isn't garbage-collected. I think we just throw out the entire arena, actually.
Re:How to speed up the Rust compiler some more
by slededit on Friday November 25, 2016 @01:13AM
(#13034680)
Technically its a very limited form of garbage collection... Then again with this definition so is just not free-ing anything and letting the OS cleanup after process exit.
Re:How to speed up the Rust compiler some more
by TazeTSchnitzel on Friday November 25, 2016 @06:59PM
(#13040829)
I believe it's manually freed.
Rust memory model around strong ownership and borrow-checking differs from the GC languages that can use generational strategies and lots of heap allocation re-use.
All languages are doing allocations to the OS, rust just doesn't have a GC like PHP does to intermediate.