Remix.run Logo
e1g 4 hours ago

+1 for the idea. Enforcing hard boundaries between is surprisingly helpful for AIs to reason about how to structure their changes.

We recently rolled out our own static analysis using oxc-parser and oxc-resolver, and it runs surprisingly fast (<1s for ~100K LOC). For us, it was definitely worth adding this layer of defence against The Slop.

jayu_dev 4 hours ago | parent [-]

Nice! I’ve come to similar conclusions recently, with the recent increase in code changes velocity, solid static analysis is more important than ever.

When it comes to the performance, I've learned that reading code from file system and parsing it takes most of the time. Then resolving modules takes a little also.

Once that is done, running different checks is almost instant - like miliseconds.