Best of WebAssemblyFebruary 2025

  1. 1
    Article
    Avatar of iotechhubiO tech_hub·1y

    What is WebLLM

    WebLLM, developed by the MLC-AI team, allows large language models (LLMs) to run fully within a web browser using modern web technologies like WebAssembly and WebGPU. This enables models to be more accessible client-side, providing privacy and offline support. While cloud-based LLMs are faster and require powerful servers, WebLLM offers cross-platform portability and easier installation. Implementation can be done using the WebLLM npm package, which includes support for web workers to enhance application performance.

  2. 2
    Article
    Avatar of hnHacker News·1y

    We Replaced Our React Frontend with Go and WebAssembly

    Dagger Cloud v3 features a new UI built with Go and WebAssembly, replacing the previous React-based frontend. The decision aimed to unify the codebases of the terminal UI and web UI, enhancing performance and reducing duplication. Despite challenges like the Go + WebAssembly combination's maturity and memory limitations, the team achieved a smoother, more consistent user experience. Key optimizations included reducing memory usage and ensuring better performance for large data sets. This approach is particularly beneficial for teams with a strong Go background and complex UIs.

  3. 3
    Article
    Avatar of hnHacker News·1y

    WASM will replace containers

    WebAssembly (WASM) is poised to replace containers like Docker by offering a true write-once-run-anywhere experience. Though currently limited by the lack of system interfaces like file access and networking, future integrations are expected. WASM offers the combined benefits of microservices and monoliths, particularly in serverless platforms such as Cloudflare Workers. Its adoption is growing, and developers are encouraged to become familiar with compiled languages like Go or Rust to prepare for its future dominance.

  4. 4
    Article
    Avatar of communityCommunity Picks·1y

    From Rust to TypeScript: A New Chapter for Prisma ORM

    Prisma ORM is migrating its core query engine from Rust to TypeScript to simplify contributions, reduce deployment complexity, and enhance compatibility with modern JavaScript environments. This transition involves moving query execution to TypeScript and shifting some components to WebAssembly, aiming to streamline architecture and maintain performance while improving developer experience.

  5. 5
    Video
    Avatar of anthonyggAnthony GG·1y

    How I Scaled My App with Distributed Actors & WASM

    The post discusses the development and scaling of the Market Monkey trading terminal using Golang for both the backend and frontend. The application operates as both a desktop and web app via WebAssembly. The backend utilizes distributed actors for service communication and TimescaleDB for time-series data storage. Optimizations for WebAssembly, handling of websocket communications, and future scripting capabilities are also highlighted.

  6. 6
    Article
    Avatar of glwGolang Weekly·1y

    Golang Weekly Issue 543: February 26, 2025

    Go 1.24 introduces a new package for testing concurrent code and enhances Go's WebAssembly capabilities with the ability to export functions to Wasm. The release also includes guidance on managing tool dependencies and introduces a native WebP image support library.