Bun is a new JavaScript runtime built from scratch to serve the modern JavaScript ecosystem. It has three major design goals:
Speed. Bun starts fast and runs fast. It extends JavaScriptCore, the performance-minded JS engine built for Safari. As computing moves to the edge, this is critical.
Elegant APIs. Bun provides a minimal set of highly-optimimized APIs for performing common tasks, like starting an HTTP server and writing files.
Cohesive DX. Bun is a complete toolkit for building JavaScript apps, including a package manager, test runner, and bundler.
Bun is designed as a drop-in replacement for Node.js. It natively implements hundreds of Node.js and Web APIs, including fs, path, Buffer and more.
The goal of Bun is to run most of the world's server-side JavaScript and provide tools to improve performance, reduce complexity, and multiply developer productivity.
No Bun.sh videos yet. You could help us improve this page by suggesting one.
Based on our record, Bun.sh should be more popular than Actix. It has been mentiond 146 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.
For more details, visit: https://bun.sh/. - Source: dev.to / 15 days ago
I'm using macOS with Node.js v20.13.1 (lts/iron), VSCode with the official Vue extension, bun v1.1.8. - Source: dev.to / 27 days ago
Bun is a new JavaScript runtime designed for server-side execution of both JavaScript and TypeScript. It’s developed in Zig, a low-level programming language that allows Bun to reach extreme levels of performance. Thanks to that, it’s suitable for developing high-speed server applications. - Source: dev.to / about 1 month ago
In this third and final article in the series on HTML Streaming, we will explore the practical implementation of the Diff DOM Streaming library in web browsing. This approach will allow any website using web components to retain its state during browsing. We will discuss in detail how to achieve this step by step using VanillaJS and Bun. - Source: dev.to / about 2 months ago
At Node Conference 2023, Jarred Sumner (creator of Bun) showed a demo of server components in Bun, so there is at least partial support in that ecosystem. The Bun repo provides bun-plugin-server-components as the official plugin for server components. And while I haven’t looked at it in-depth, Marz claims to be a “React Server Components Framework for Bun”. - Source: dev.to / 2 months ago
Actix Web Documentation: Detailed documentation on using Actix-web, including examples and best practices for building web applications with Rust. - Source: dev.to / 2 months ago
Are you ready to embark on another journey in Rust? Today, we'll explore how to create a REST API that performs basic mathematical operations: addition, multiplication, and division. We'll use Actix, a powerful web framework for Rust, together with Rhai, a lightweight scripting language, to achieve our goal. - Source: dev.to / 3 months ago
Within actix-web, middleware is used as a medium for being able to add general functionality to a (set of) route(s) by taking the request before the handler function runs, carrying out some operations, running the actual handler function itself and then the middleware does additional processing (if required). By default, actix-web has several default middlewares that we can use, including logging, path... - Source: dev.to / 6 months ago
Rust is a popular system programming language, known for its robust memory safety features and exceptional performance. While Rust was originally a system programming language, its application has evolved. Now you can see Rust in different app platforms, mobile apps, and of course, in web apps — both in the frontend and backend, with frameworks like Rocket, Axum, and Actix making it even easier to build web... - Source: dev.to / 12 months ago
The actor-based web framework in Rust, Actix-web, is a game changer for developers looking for high-performance and scalable web applications. Actix-web's exceptional performance and concurrency capabilities enable developers to create robust and efficient web solutions. The framework's asynchronous request handling and non-blocking I/O provide impressive levels of concurrency, making it an excellent choice for... - Source: dev.to / about 1 year ago
Deno - A secure runtime for JavaScript and TypeScript built with V8, Rust, and Tokio.
Rocket - Web Framework for Rust
Zig - Zig is a general-purpose programming language designed for robustness, optimality, and maintainability.
Sycamore - A reactive library for creating web apps in Rust and WebAssembly
Node.js - Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications
FastAPI - FastAPI is an Open Source, modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.