November 11, 2018 General » Re: A breach of immutability due to memory implicit conversions to immutable without synchronisation, maybe?? | |||
|---|---|---|---|
| |||
Maybe I'm missing something but:
void bar()
{
immutable(int)* d = null;
while (d is... | |||
November 11, 2018 General » Re: A breach of immutability due to memory implicit conversions to immutable without synchronisation, maybe?? | |||
|---|---|---|---|
| |||
Wait, wouldn't the atomicStore create a barrier, such that all the code before it... | |||
November 11, 2018 General » Re: A breach of immutability due to memory implicit conversions to immutable without synchronisation, maybe?? | |||
|---|---|---|---|
| |||
Hm... I wouldn't expect the compiler would allow reordering across a return boundary. Even... | |||
November 11, 2018 General » A breach of immutability due to memory implicit conversions to immutable without synchronisation, maybe?? | |||
|---|---|---|---|
| |||
Take a look at this (I think?) supposed-to-be-thread-safe code according to... | |||
November 06, 2018 General » Re: Strange implicit conversion integers on concatenation | |||
|---|---|---|---|
| |||
...reference/keywords/implicit Even c++ have type conversions. http://www.cplusplus.com/doc/tutorial/typecasting... | |||
November 05, 2018 General » Re: Strange implicit conversion integers on concatenation | |||
|---|---|---|---|
| |||
...are), but if we eliminate the implicit conversions, we eliminate the common bugs. I think... | |||
November 05, 2018 General » Re: Strange implicit conversion integers on concatenation | |||
|---|---|---|---|
| |||
...s an issue of conversions in general, and not just implicit conversions between character types... | |||
November 05, 2018 General » Re: Strange implicit conversion integers on concatenation | |||
|---|---|---|---|
| |||
...think that a DIP to fix implict conversions and char stands a chance. I'm... | |||
November 05, 2018 General » Re: Strange implicit conversion integers on concatenation | |||
|---|---|---|---|
| |||
...the rules about integer promotions and narrowing conversions (e.g. when adding or subtracting from... | |||
November 05, 2018 General » Re: Strange implicit conversion integers on concatenation | |||
|---|---|---|---|
| |||
...universally allow all such automatic integral->char conversions. You can also see this effect when... | |||
Copyright © 1999-2021 by the D Language Foundation