Tyler (Jones Beach) @fromscratchcode.com · Sep 16

Two updates to the Interactive Bytecode Compiler today! 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

2 likes 1 replies

?

Replies

Tyler (Jones Beach) · Sep 16

Second: tuples! 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