3 ms·
Google should have picked a real language: php. When script is completed all resources are freed, let the OS figure it out. No manual GC drama.
by ransom1538 4y ago
Google should have picked a real language: php. When script is completed all resources are freed, let the OS figure it out. No manual GC drama.
- MaxBarraclough 4y agoThat's a strategy called arena allocation or region-based memory-management, and it doesn't have to be tied to the lifetime of a process or interpreter. There's nothing special about PHP, which if I understand correctly uses reference-counting with conventional garbage collection to handle reference cycles. As I understand it this strategy is non-competitive in all performance metrics, compared against modern garbage collectors.