Is this statement in http://dlang.org/dmd-windows.html still true?

Mehrdad wfunction at hotmail.com
Mon Jun 25 20:44:16 PDT 2012


On Tuesday, 26 June 2012 at 03:02:45 UTC, Jesse Phillips wrote:
> Linux places string literals in Read-Only Memory, Windows does 
> not. This is OS specific behavior and does not relate to the 
> language in the least.

Isn't it compiler-specific behavior?
Visual C++ does this on Windows.
After all, it's up to the compiler to place it in a read-only 
segment rather than a writable segment.


More information about the Digitalmars-d mailing list