I'm sure that there is much more, but I immutable is set to global storage
and not Thread Local Storage.
I believe that const is stil TLS.

On Tue, Oct 25, 2011 at 5:15 AM, Gor Gyolchanyan <
[email protected]> wrote:

> What's the difference between const-declared variable and
> immutable-declared variable?
>
> module a;
>
> const(int) a;
> immutable(int) b;
>
> void main()
> {
> }
>

Reply via email to