I’m building a Python interpreter in Rust and mentoring the quietly ambitious to get unstuck and code with confidence again.
fromscratchcode.com | fromscratchpress.substack.com
Here's a short demo!
Here's a short demo!
I added a BUILD_TUPLE opcode, similar to BUILD_LIST.
Eventually I will load tuples directly into the bytecode as constants, but I didn't tackle that optimization yet.
You can try it out here: fromscratchcode.com/bytecode-com...
#python #rustlang #bytecode #buildinpublic
I added a BUILD_TUPLE opcode, similar to BUILD_LIST.
Eventually I will load tuples directly into the bytecode as constants, but I didn't tackle that optimization yet.
You can try it out here: fromscratchcode.com/bytecode-com...
#python #rustlang #bytecode #buildinpublic
First: async/await. Building an executor for my VM was TOUGH, but the bytecode compiler updates were pretty straightforward.
You can try an async example here: fromscratchcode.com/bytecode-com...
#python #rustlang #bytecode #buildinpublic
First: async/await. Building an executor for my VM was TOUGH, but the bytecode compiler updates were pretty straightforward.
You can try an async example here: fromscratchcode.com/bytecode-com...
#python #rustlang #bytecode #buildinpublic
You can try this snippet here: fromscratchcode.com/bytecode-com...
#python #rustlang #bytecode #buildinpublic
You can try this snippet here: fromscratchcode.com/bytecode-com...
#python #rustlang #bytecode #buildinpublic
Follow along: fromscratchpress.substack.com/p/the-half-p...
#thirdplace #britishpub #pubsmatter #englishpub
Follow along: fromscratchpress.substack.com/p/the-half-p...
#thirdplace #britishpub #pubsmatter #englishpub
This just adds a LOAD_GLOBAL and a CALL around the LOAD_CONST and MAKE_FUNCTION we'd see for a basic function definition.
Try it here:
fromscratchcode.com/bytecode-com...
#python #bytecode #buildinpublic
This just adds a LOAD_GLOBAL and a CALL around the LOAD_CONST and MAKE_FUNCTION we'd see for a basic function definition.
Try it here:
fromscratchcode.com/bytecode-com...
#python #bytecode #buildinpublic
I'll write up more about it soon! #python #programminglanguages
I'll write up more about it soon! #python #programminglanguages
fromscratchcode.com/bytecode-com...
#python #programminglanguages
fromscratchcode.com/bytecode-com...
#python #programminglanguages
But I know what I offer helps people. I’ve seen it and I’ve felt it.
If you’re stuck on code and want a cheerleader, I’d love to help.
This is a pitch. But it’s also me, honestly trying to find the right people.
But I know what I offer helps people. I’ve seen it and I’ve felt it.
If you’re stuck on code and want a cheerleader, I’d love to help.
This is a pitch. But it’s also me, honestly trying to find the right people.