Best of Bun2024

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    Dynamic Github profile with Bun and Typescript

    Learn how to enhance your GitHub profile using Bun and TypeScript. Install Bun, explore the differences between JavaScript and TypeScript, and understand how rss-parser works.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    First Look At ElysiaJS

    The post explores the author's experience with ElysiaJS, a runtime environment for building modern APIs. It discusses the features of ElysiaJS, such as end-to-end type safety and robust validation. The post also provides examples of code snippets to create a server using ElysiaJS.

  3. 3
    Article
    Avatar of neontechNeon·2y

    Wrapping My Mind Around Node.js Runtimes

    Explore the innovations in JavaScript runtimes with a detailed look at Deno and Bun, and how they compare to Node.js. Understand the core components of a JavaScript runtime, the security and complexity issues in Node.js, and how Deno and Bun address these issues with features like built-in TypeScript support, enhanced security, and improved performance.

  4. 4
    Article
    Avatar of logrocketLogRocket·2y

    WinterJS vs. Bun: Comparing JavaScript runtimes

    WinterJS and Bun are compared in terms of speed and features. WinterJS is a fast JavaScript runtime built in Rust, while Bun focuses on providing elegant APIs. They have differences in OS support, TypeScript support, and framework compatibility. WinterJS claims to be the fastest runtime, and Bun also emphasizes speed. WinterJS is compatible with major frontend frameworks and supports Cloudflare Workers API, while Bun has wider adoption but less compatibility with frameworks like Next.js and Remix. Performance tests show that Bun performs better in a simple HTTP request scenario.

  5. 5
    Article
    Avatar of medium_jsMedium·2y

    The ultimate static file server benchmark

    The article presents a benchmark of the performance of static file servers implemented in various languages. The front-runners in terms of performance were Quarkus, Webflux, and Rust.

  6. 6
    Article
    Avatar of asayerasayer·2y

    How to: Migrating from Node to Bun

    Learn about the rise of Bun as an alternative to Node.js and how it simplifies web development with its speed, built-in features, and seamless compatibility with Node.js APIs. Discover the essential features of Bun, how to start a new project, and strategies for migrating from Node.js to Bun. Don't forget to consider compatibility and focus on performance when making the migration.

  7. 7
    Article
    Avatar of nodejsdevelopersNode.js developers·2y

    How are you all feeling about sharing Bun and Deno updates here too?

    A discussion is raised about whether updates on Deno and Bun, which are server-side JavaScript runtimes similar to Node.js and aim for npm-like compatibility, should be shared in a Node.js developers group. Members are asked if they agree or if they'd prefer the focus to remain exclusively on Node.js.

  8. 8
    Article
    Avatar of asayerasayer·2y

    Building an URL Shortener with Bun

    Learn how to build a URL shortener using Bun, Elysia, and MySQL. Understand the process of converting long URLs into shorter URLs and how to implement features like analytics. Set up your development environment, create data models, and implement the URL-shortening logic.

  9. 9
    Article
    Avatar of bunBun·2y

    Bun v1.0.26

    Bun is an incredibly fast JavaScript runtime, bundler, transpiler, and package manager. The latest release of Bun fixes bugs, adds new features, and improves compatibility with Node.js.

  10. 10
    Article
    Avatar of bunBun·2y

    Compile and run C in JavaScript

    Bun v1.1.28 introduces experimental support for compiling and running native C from JavaScript. This method aims to overcome the complexities and performance hits associated with current practices like N-API and WebAssembly. By using TinyCC, Bun ensures fast compilation and near-zero call overhead, making it ideal for integrating C libraries and system APIs with JavaScript without a separate build step.

  11. 11
    Article
    Avatar of bunBun·2y

    Bun v1.1.26

    Bun v1.1.26 introduces fixes for 9 bugs and several new features. Notable updates include a new 'bun outdated' command to identify outdated dependencies, enhanced 'Bun.serve()' method with 'idleTimeout' and 'subscriberCount' options, and improvements in Bun's test runner like 'test.only' to skip other tests. Additionally, Bun has increased Node.js compatibility and introduced several bug fixes.