Search

November 11, 2018
General »

Maybe I'm missing something but:

void bar()
{
    immutable(int)* d = null;
    while (d is...
November 11, 2018
General »
Wait, wouldn't the atomicStore create a barrier, such that all the code before it...
November 11, 2018
General »
Hm... I wouldn't expect the compiler would allow reordering across a return boundary. Even...
November 11, 2018
General »
Take a look at this (I think?) supposed-to-be-thread-safe code according to...
November 06, 2018
General »
...reference/keywords/implicit
Even c++ have type conversions.
http://www.cplusplus.com/doc/tutorial/typecasting...
November 05, 2018
General »
...are), but if we eliminate the implicit conversions, we eliminate the common bugs. I think...
November 05, 2018
General »
...s an issue of conversions in general, and not just implicit conversions between character types...
November 05, 2018
General »
...think that a DIP to fix implict conversions and char stands a chance. I'm...
November 05, 2018
General »
...the rules about integer promotions and narrowing conversions (e.g. when adding or subtracting from...
November 05, 2018
General »
...universally allow all such automatic integral->char conversions. You can also see this effect when...
51 52 53 54 55 56 57 58 59 60 61 62
Next ›   Last »