Skip to content

Comment on I let LLMs write an Elixir NIF in C; it mostly workedparent

Comments

You can use something like Claude Code or Codex CLI and tell it to run valgrind as part of iterating on the code.

how does it work? does it shell out to subagent? or it has full access to cli? what makes it not perform rm -rf /

full access to cli?

yes

what makes it not perform rm -rf /

by default -- regexes and prayers, but you're expected to use sandboxing

It works really well IMO.

AboutSource Built by g1lg1l

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