Commit e54f535
committed
The main problem with `volatile` isn't the semantics -- those are are deliberately underspecified, and appropriate for talking about "memory that's outside the C++ program that the compiler can't assume it knows anything about" which is an important low-level concept. The problems with `volatile` are that (a) it's wired into the language as a type qualifier which is undesirable and unnecessary, and (b) the current name is confusing and has baggage and so it should be named something that connotes what it's actually for (and I like "alien" rather than "foreign" because I think "alien" has a better and stronger connotation).
1 parent c72ac86 commit e54f535
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1515 | 1515 | | |
1516 | 1516 | | |
1517 | 1517 | | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
1518 | 1529 | | |
1519 | 1530 | | |
1520 | 1531 | | |
| |||
0 commit comments