3 ms·
It's a very useful instruction. Go uses it extensively in its core runtime and the compiler itself. I assume other languages do too if they care about performan
by fear91 3y ago
It's a very useful instruction. Go uses it extensively in its core runtime and the compiler itself. I assume other languages do too if they care about performance.
Examples:
1. Growing a slice.
2. Runtime's heap bitmap.
3. Page allocation.
4. malloc.
5. Register allocation.