Hacker News new | past | comments | ask | show | jobs | submit login
Relacy Race Detector (1024cores.net)
23 points by favourable 10 months ago | hide | past | favorite | 4 comments



This is from 2011 or possibly earlier. Since that was around the same time ThreadSanitizer came out, I wonder how similar the two approaches are? I know lots of people use TSan nowadays but I haven’t heard of anyone using Relacy


This seems like it could be very useful -- a bit like like Spin [1] but natively for C++. But I'm confused: Is this "just" a header-only library, as claimed? No runtime tool is needed on top? Also, what's with the ($) syntax? I didn't think $ was a valid C++ identifier (even though it can appear in mangled symbol names) -- will that code even compile?

[1] https://en.m.wikipedia.org/wiki/SPIN_model_checker


$ is a preprocessor macro

  #define RL_INFO ::rl::debug_info(__FUNCTION__, __FILE__, __LINE__)
  #define $ RL_INFO


Its list of supported platforms lists 32 bit but not 64 bit. And it refers to C++0x not C++11. I presume the article is old. Is this software still developed?




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: