mcjs Progress Update: May 2024

Good evening and welcome back, to another installment of “What’s new in mcjs”. Later than promised, but rich in good news! (Formally, I blame the delay on an unplanned – but not unwelcome! – job change, but let’s not kid ourselves. This is my emotional support side project, I have no intention of sticking to any sort of roadmap or schedule. Down with project management!) Scoping rules (Source: https://www.reddit.com/r/Sekiro/comments/10mghn6/guys_i_just_beat_the_guardian_ape111 )...

May 5, 2024

mcjs Progress Update: December, January 2024

To both of my readers: I hope you had a great time during the holidays, and that you feel re-energized and ready to take on the world. I crossed the threshold of 2024 with some much needed extra family time, some rest from work, and most importantly, by cooking up some cool new stuff for mcjs! (I know, I promised I would put out a new post every 2 weeks, but you know how it goes....

January 14, 2024

A Modest Compiler for JavaScript

In the last year or so, I’ve been working on mcjs, a Modest Compiler for JavaScript: a toy (hence the modesty) implementation of a JavaScript VM including both an interpreter and a tracing JIT compiler, with an internal design inspired (loosely) by LuaJIT. It’s still far from any sort of completion but it’s a very enjoyable learning activity nonetheless. This blog exists because this little side project has now accrued enough “history” that it seemed like a good idea to write down and collect some notes, if only for myself to remember why I made a certain choice or another....

December 19, 2023