3 ms·
Plan 9's compiler does not have a very sophisticated optimizer (which is part of why it's so fast), so I suspect that they simply didn't implement anything whic
by plorkyeran 11y ago
Plan 9's compiler does not have a very sophisticated optimizer (which is part of why it's so fast), so I suspect that they simply didn't implement anything which would have made volatile necessary.
- mikeash 11y agoRight, if every assignment writes to memory and every expression reads from memory then you've effectively made every variable volatile (according to how compilers typically interpret volatile), so ignoring the qualifier wouldn't hurt anything.