Snowflake Strings

Ali Çehreli via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Feb 22 14:26:00 PST 2017


On 02/22/2017 05:08 AM, Mike Parker wrote:
> Walter shares a little bit of compiler knowledge, explaining how DMD
> stuffs string literals into object files.
>
> Blog post:
> http://dlang.org/blog/2017/02/22/snowflake-strings/
>
> Reddit:
> https://www.reddit.com/r/programming/comments/5viixe/snowflake_strings_walter_bright_on_how_the_dmd_d/
>

Thanks! Two improvements:

- People outside of the D (and C++) community may not know who "Andrei" is.

- Assuming they are line numbers, the 2 and 3 below should be 3 and 4:

     (i < 3 || _d_assertp(TMP, 2))
     (j & 1 || _d_assertp(TMP, 3))

Ali



More information about the Digitalmars-d-announce mailing list