|
Authored by: Anonymous on Thursday, September 20 2012 @ 06:03 PM EDT |
Segmented memory is horrible. Just think about pointer alias analysis -- how
can the compiler be sure two pointers do (or don't) point to the same place,
when they're in different segments and the compiler doesn't know what the
segments are or how they were laid out in memory? We'd have to go back to
extremely pessimistic "may-alias" assumption everywhere, the
strict-aliasing rule would never be useful anymore (a bunch of hassle for zero
gain) and we'd get legions of new security bugs exploiting the unexpected
aliasing semantics in never-thought-of-before ways. Its bad enough having a TCB
in a separate segment in Windows' flat memory model.
Segmented memory hurts baby animals and make children cry. Just say no![ Reply to This | Parent | # ]
|
- noooo! - Authored by: Wol on Thursday, September 20 2012 @ 06:47 PM EDT
- noooo! - Authored by: greed on Tuesday, September 25 2012 @ 06:25 PM EDT
|
|
|
|