Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Buz - A drop-in replacement for Bun using modern Zig, with sub-1s incremental builds

Reading 0:00
15s threshold

Buz This is my WIP fork of Bun, based on the last commit before their Rust rewrite. It is still very early in its development and is nowhere near ready for production. I saw that a similar project had already been posted on Ziggit , so I am posting mine to avoid duplicating any development effort, though I have not looked at the other project as of this writing. I have ported Bun to build with the current upstream Zig (with minor patches to get incremental rebuilds to work). The whole build graph is now in build.zig , including vendored sources of JavaScriptCore. This allows for sub-1s incremental builds, greatly improving the dev loop for the project. The goal is to be a drop-in replacement for Bun, with a saner codebase. To that end, I have imported all the new tests from Rust Bun into the project, many of them covering new features and bug fixes. A lot of tests don’t pass yet, so this will be a treadmill of keeping up with upstream.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More