« first day (2140 days earlier)      last day (704 days later) » 

2:47 AM
Even simple like
`int num=0;
std::thread([&](){std::cout << num << std::endl;}).detach();
std::thread([&](){num++;}).detach();
`(godbolt.org/z/4EbYfroed) has race condition. Am I right?
 
 
11 hours later…
1:25 PM
Is there an C++ JIT, to make possible compile the code at runtime?
 
1:44 PM
1 message moved from Lounge<C++>
@Konard Visual studio has had a debugging feature that is called "edit and continue" that de-facto acts like that. Technically LLVM also operates that way. But officially? No
 
 
7 hours later…
9:13 PM
I think ROOT and/or cling qualify as something like a jit
 

« first day (2140 days earlier)      last day (704 days later) »