now serving: burrito π― - a quickjs wrapper for nim* πΒ
β‘οΈ
Burrito - QuickJS Nim Wrapper
vibed from idea π€ to π’ in a weekend -- with code examples, unit tests, api docs, and a fancy landing page, too...
tools used:
- claude code (opus 4 + sonnet 4) - for the heavy lifting
- gemini (2.5 pro and 2.5 flash) - for extra code review: "hey gemini... pretend you're a senior google engineer and a code reviewer..."
- chatgpt 4o - for small tasks like "how do i deploy this to github pages?!"
- termux + vim - most of the work was done on my phone! switched to mac at the end for extra testing and doc gen.
- hardware: google pixel 5a and 2018 apple intel-mbp (the one wittth the craapppy keyboardd)
why burrito?:
i *love* experimenting and testing code out in repls ("readβevalβprint loop"). burrito lets me embed a full js repl into any compiled nim app so that i can try things out interactively.
most compiled languages (like nim) struggle with repls; they're usually slow or incomplete. by embedding a full js interpreter (quickjs), i get the best of both worlds: a super-slick, fast app written in nim *and* a fast, non-lame interactive environment to quickly test things out.
with burrito, i can:
- call js from nim
- call nim from js
- run interactively or "just do it" all in one go.
honestly i don't know how (or if) i would've done this project without all my new robot friends.
*nim, nim, nim! it's great! you should try it!
