Best of WebAssemblyFebruary 2024

  1. 1
    Article
    Avatar of lobstersLobsters·2y

    electric-sql/pglite: Lightweight Postgres packaged as WASM into a TypeScript library for the browser, Node.js, Bun and Deno

    PGlite is a lightweight Postgres packaged as WASM into a TypeScript library. It allows you to run Postgres in the browser, Node.js, and Bun without any additional dependencies. It can be used as an ephemeral in-memory database or with persistence to the file system or indexedDB. Parameterized queries are not supported yet. It is being developed at ElectricSQL in collaboration with Neon.

  2. 2
    Article
    Avatar of medium_jsMedium·2y

    New in Dart 3.3: Extension Types, JavaScript Interop, and More

    Dart 3.3 brings new features such as extension types, improved JavaScript interop, and WebAssembly support. It also introduces the Google AI Dart SDK.

  3. 3
    Article
    Avatar of hnHacker News·2y

    Translating OpenStreetMap data to HTML5 Canvas with Rust and WebAssembly

    The post discusses the process of translating OpenStreetMap data to an HTML5 canvas using Rust and WebAssembly. The author revamps an old project called Line Buddy and explains how they use OpenStreetMap data to create maps. They emphasize using Rust and WebAssembly for their improved data processing capabilities. The post provides an overview of the project setup, building and testing the code, getting map coordinates, calling the Overpass API, writing the Rust code, and drawing on the canvas. The author also discusses processing ways and relations and provides a screenshot of the finished map.