Bun v0.6.0 – Bun's new JavaScript bundler and minifier

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • bun

    Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

  • Looks great! Still eagerly waiting for Windows support: I have a specific use case where I need both a bundler and a package manager to run on the user's desktop cross-platform, and right now that's yarn + esbuild. I'd love to roll this into a single, performant solution. It's already being worked on as far as I know [1], excited to upgrade to Bun when that's available.

    [1] https://github.com/oven-sh/bun/issues/43

  • zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

  • Zig, unlike C++ and Rust, doesn't need an optimized general purpose allocator in order to be fast. Zig outperforms its peers despite currently having a slow GPA in the standard library because the language encourages programmers down a path that avoids boxing the shit out of everything, which is inherently slow even if you have a global allocator optimized for this use case.

    Rust switched away from Jemalloc because it uses global allocation for everything. Zig's convention of explicit allocator argument passing means such a compromise will never be needed.

    As for "beating trees with a stick", I'll probably end up doing what I did for WebAssembly, which is to ignore the preexisting work and make my own thing that is better. Here's my 160-line wasm-only allocator that achieves the trifecta: high performance, tiny machine code size, and fundamentally simple.

    https://github.com/ziglang/zig/blob/c1add1e19ea35b4d96fbab31...

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • pkg

    Discontinued Package your Node.js project into an executable

  • minification-benchmarks

    🏃‍♂️🏃‍♀️🏃 JS minification benchmarks: babel-minify, esbuild, terser, uglify-js, swc, google closure compiler, tdewolff/minify

  • It would be helpful to see how Bun's minifier compares to the others with popular libraries:

    https://github.com/privatenumber/minification-benchmarks

  • just

    the only javascript runtime to hit no.1 on techempower :fire: (by just-js)

  • i just tried recompiling v0.0.2 (https://github.com/just-js/just/releases/tag/0.0.2) of just-js and comparing it to current. for the completely static build on ubuntu 22.04 i see following:

    0.0.2 (v8 v8.4.371.18) - file size: 15.2 MB, startup RSS: 8.4 MB

  • relibc

    Mirror of https://gitlab.redox-os.org/redox-os/relibc

  • pip

    The Python package installer

  • What are you implying will happen?

    Using the build-in tools, you can save the exact versions of dependencies (i.e. a lock file) using "pip freeze >dependencies.txt". This should give you the exact same set of packages in two years' time.

    If you want to be even more sure, you can also store hashes in the lock file. This has to be generated by a separate tools at the moment [1][2] but can be consumed by the built-in tools [3], so "pip install -r requirements.txt" is still all you need in two years' time.

    [1] https://github.com/pypa/pip/issues/4732

    [2] https://pip-tools.readthedocs.io/en/latest/#using-hashes

    [3] https://pip.pypa.io/en/stable/topics/secure-installs/#hash-c...

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts