JIT Compiling Code in 5μs

Build a copy-and-patch JIT compiler in Rust, generate ARM64 machine code, and benchmark it against an interpreter and handwritten implementation.
154 points by zX41ZdbW 60 days ago malisper.me 95 comments

Summary

Learn how to create a copy-and-patch JIT compiler using Rust that generates ARM64 machine code, and see how its performance stacks up against both an interpreter and a manually crafted implementation.

Comments (95 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open