Skip to content

Comment on Relacy Race Detector

Comments

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
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.