metatypedev / ghjk

ghjk is a programmable runtime manager and an attempt at a successor for asdf.
Mozilla Public License 2.0
7 stars 1 forks source link

Custom deno runtime #93

Open Yohe-Am opened 3 months ago

Yohe-Am commented 3 months ago

A major limitations ghjk is facing right now is that hashfiles don't keep track of imports in ghjk.ts files. This means we can't invalidate the serialization cache when imported items change. This makes it difficult to iterate on local typescript files that ghjk.ts depends on.

A custom Deno runtime would allow us to hook into Deno's module resolution algorithm to get a perfect snapshot of exactly what was used. Bringing rust into the picture would ofcourse have relevance on a lot of other tickets but I recommend keeping most of the codebase in typescript similar to Metatype.

linear[bot] commented 3 months ago

MET-582 Custom deno runtime