Is it time for D 3.0?
Jacob Carlborg
doob at me.com
Sat Mar 28 07:41:39 UTC 2020
On 2020-03-28 01:53, Adam D. Ruppe wrote: > D2 was literally just an
arbitrary point release in an ongoing
> evolution.
Yes.
> String literals becoming invariant, for example, happened at
> 2.006, which was probably the biggest breaking change outside the phobos
> library. I recall that being a pretty invasive change
String literals have always been placed in read-only sections on Posix.
In D1, even if the compiler did let you modify string literals it would
crash at runtime. Perhaps it was only a problem on Windows?
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list