Best of WebAssemblyJuly 2024

  1. 1
    Article
    Avatar of hnHacker News·2y

    taubyte/tau: Open source distributed Platform as a Service (PaaS). A self-hosted Vercel / Netlify / Cloudflare alternative.

    Tau is an open-source, distributed Platform as a Service (PaaS) designed to compete with major providers like Vercel, Netlify, and Cloudflare. It's a developer-friendly framework focused on minimal configuration, auto-discovery, and peer-to-peer networking. Using Git for infrastructure management, Tau emphasizes local development and seamless production deployment. Features include WebAssembly support, content-addressed storage, and a plugin system for extensibility.

  2. 2
    Article
    Avatar of devtoDEV·2y

    Building a Cloud Development Kit (CDK)

    A Cloud Development Kit (CDK) allows developers to define cloud infrastructure using familiar programming languages like TypeScript and Python, enhancing productivity and consistency. AWS CDK further simplifies this by converting high-level code into CloudFormation templates. Using WebAssembly and Extism, CDKs can support multiple languages, making infrastructure management more efficient. An example demonstrates creating an S3 bucket with version control using AWS CDK and TypeScript.

  3. 3
    Article
    Avatar of awegoAwesome Go·2y

    Building Ollama Cloud - Scaling Local Inference to the Cloud

    The post discusses scaling Ollama, a wrapper around llama.cpp for local inference tasks, from local development to a cloud environment. It explores transitioning from simple local setups to complex distributed cloud systems, emphasizing the role of serverless computing and WebAssembly in managing dependencies and scaling. The Tau framework and its Orbit plugin system simplify deployment and enable seamless integration of Ollama functions as cloud-ready endpoints. The post provides examples and steps to set up and test with Tau, culminating in the deployment of AI applications in production environments.

  4. 4
    Article
    Avatar of fermyonFermyon·2y

    Exploring the MQTT Trigger for Spin: Simplifying Real-time Communication

    The post explains the use of the MQTT Trigger for Spin framework, which allows real-time communication by subscribing to specific MQTT addresses. It details the steps to install and configure the MQTT Plugin and create a Spin application to handle MQTT messages. The post highlights the efficiency, scalability, and real-time capabilities of MQTT in IoT applications, providing a seamless integration for developers.

  5. 5
    Article
    Avatar of newstackThe New Stack·2y

    Python Meets JavaScript, Wasm With the Magic of PythonMonkey

    PythonMonkey is a groundbreaking JavaScript runtime embedded within Python, built on Mozilla's SpiderMonkey engine, created by Distributive to cut code maintenance costs and bridge the gap between JS and Python. It enables cross-language functionality, letting developers leverage Python packages from JS and vice versa with minimal performance loss. Key features include native support for WebAssembly, a just-in-time compiler, and a runtime environment similar to Node.js. PythonMonkey also offers improved cross-language coercion, stack trace handling, and a better developer experience. The project’s goals include seamless integration of JS and Python libraries and offering a unified development environment.

  6. 6
    Article
    Avatar of cerbosCerbos·2y

    Cerbos Hub - July Product Updates

    Cerbos Hub has gone GA with several new features. It now supports generating self-contained policy bundles for WebAssembly, allowing for local authorization decisions. The platform also introduces selective policy compilation, improved error descriptions during builds, and a collaborative IDE with policy templates. Users can now manage profiles within the hub.

  7. 7
    Article
    Avatar of itnextITNEXT·2y

    Writing AI Agent with Rust from Scratch, Deploying to Edge with WebAssembly — OS Week 1

    This post details the process of writing an AI agent from scratch using Rust and deploying it to the edge with WebAssembly (WASM). It covers the setup of the development environment, the Rust packages and crates needed, and the implementation of the AI agents. Additionally, it discusses the creation of a user interface to interact with the WASM binaries and provides insights into the deployment and testing of the agent. The author reflects on the advantages of using Rust for AI agents, including speed, dependency reduction, and improved deployment capabilities.