This is a small experiment using bun to call Rust code 'directly' from TypeScript. To learn more, check out the blog post.
To install dependencies:
bun installTo run:
bun run main.tsThis project was created using bun init in bun v1.0.0. Bun is a fast all-in-one JavaScript runtime.