nim-works/nimskull

Include valgrind as part of CI

Open

#588 opened on Mar 17, 2023

 (0 comments) (0 reactions) (0 assignees)Nim (39 forks)auto 404
cicompilergood first issuehelp wanted

Repository metrics

Stars
 (346 stars)
PR merge metrics
 (PR metrics pending)

Description

In the past while it has become evident that there are a number of fundamnetal issues with our memory management implementations (refc, arc, and orc) that lead them to be unsafe, especially in conjunction with threading. Before even getting to complex multi-threading scenarios we can eliminate lots of issues by addressing valgrind's findings.

TODO:

  • Enable valgrind for tests in CI; a number of tests already support this
  • tackle a few quick wins to get some momentum

Contributor guide