According to Sumner, “the bundler is just the beginning of a larger project. In the next couple months, we’ll be announcing Bun.App — a ‘super-API’ that stitches together Bun’s native-speed bundler, HTTP server, and file system router into a cohesive whole.” The bundler includes a plugin API that can also be used at runtime.
The bun test command now shows the length of time for each test and highlights slow tests in yellow. The parser has added support for TypeScript 5.0.
We tried using Bun’s new build command to compile a Hello World TypeScript file to a standalone executable. It worked, but the executable is about 90MB, because of the inclusion of the Bun runtime – bigger than most alternatives for this type of bundling, but it is early days.
Bun is still in development and impresses with its speed and simplicity, though it does not appear to be usable yet. “I deployed a small non critical service with bun. So far constant (but slow) memory leaks and an 80% chance of segfault when starting up. Will try a few more versions of bun then move it to node for a while until bun matures a bit,” observed one developer. No Windows support yet, though it runs fine in WSL (Windows Subsystem for Linux).