Bun 1.4

12 points by simonw


mitsuhiko

Why is this marked as spam, but the article from yesterday which is void of any information has tons of upvotes and a discussion.

simonw

I like the look of Bun.WebView:

await using view = new Bun.WebView({ width: 800, height: 600 });
await view.navigate("https://bun.sh");
await view.click("a[href='/docs']");
const title = await view.evaluate("document.title");
await Bun.write("page.png", await view.screenshot());
stagas

Amazing release, already have use-cases for a lot of these features, can’t wait to use them. This is how Node.js should have been doing if it wasn’t for all the hurdles of its open governance model, which, while appealing when it started, in practice didn’t perform really well.

matthiasportzel

There’s a ton of interesting stuff in here. The markdown support is interesting (markdown parser and formatter), as well as cron and parallel testing. Single file-HTML output, similarly, is a nice QoL thing.

It’s also nice to that it looks like Bun and WebKit have a symbiotic relationship. I think Bun landed some stuff upstream in WebKit (IIRC) and they now take advantage of WebKit performance improvements.

isuffix

Bun may be more optimized, but this website is laggy as hell on mobile.

zachahn

This article is super long! Guessing he didn't write all of it, but I'd believe that this took a while to put together.