I recently resumed the work on rewriting my toy programming language #Lithia from an interpreter to a stack based virtual machine.
Oh my gosh is it exhausting. But now that I have most foundation work done, it starts getting rewarding. Feels great being able to add some tokens, the vm opcodes and implementing them.
Not that I have much more than if-statements/expressions and some lame arithmetic stuff.
While writing the compile part and thereafter the vm execution, it gets extremely obvious how much more work the runtime has to do in interpreters. Over and over instead of just once.
I am really curious about the speed difference although not a fair comparison due to language design changes.
@vknabel Hey 👋
Nice to hear something from you! What’s up lately?
@czichon Hey ho! Hope you’re doing well!
Actually quite a lot and definitely too much to write. 😅
On the tech side I did some iOS development and recently moved to Go and Kubernetes lately.
What about you? How is the life in Canada?

@vknabel yeah I can imagine 😅🙈
Sounds great!
Work wise still doing JavaScript (but more back to the root and plain stuff) and sometimes a bit .NET.

Canada is awesome so far! Really good work-life balance and so much to see here. And the people are great as well 👌😊

@czichon going back to basic in JS is quite overdue. 😅
Great to hear you are doing well over there! Are the people in Canada less grumpy and more welcoming than in Germany as I assume?
@vknabel yes they are! Everyone wants to offer me a job and want me to stay forever 🤣
“I’m not at good at anything except either computer!” “No worries, if you’re on time in the morning we need you for everything” 🤣