2025-02-10

We Replaced Our React Frontend with Go and WebAssembly - Dagger

Dagger successfully replaced their React frontend with Go and WebAssembly to unify their terminal and web UI codebases, resulting in improved performance and development efficiency. The migration involved overcoming WebAssembly's 2GB memory limit and optimizing large data processing, while demonstrating the viability of Go for complex web applications.

Original archive.is archive.ph web.archive.org

Log in to get one-click access to archived versions of this article.

read comments on news aggregators:

Related articles

Yoke is really cool

Yoke enables infrastructure management through actual code rather than configuration files, allowing developers to write infrastructure definitions in Go or Rust and compile them to WebAssembly. Its Air Traffic Control feature offers powerful Kubernetes operator capabilities through CustomResourceDefinitions, while maintaining security through WebAssembly sandboxing and limited system access.

GitHub - takara-ai/go-attention: A full attention mechanism and transformer in pure go.

Frontier Research Team at takara.ai introduces a pure Go implementation of attention mechanisms and transformer layers, featuring high performance and zero dependencies. The library offers efficient dot-product attention, multi-head attention support, and complete transformer layer implementation, making it ideal for edge computing and real-time processing.

The FFT Strikes Back: An Efficient Alternative to Self-Attention

FFTNet introduces a novel approach to sequence processing using Fast Fourier Transform, achieving O(n log n) complexity compared to traditional self-attention's quadratic complexity. The framework employs spectral filtering and modReLU activation to efficiently capture long-range dependencies, demonstrating superior performance on Long Range Arena and ImageNet benchmarks.

Hello from Chicory | Chicory

Chicory is a JVM native WebAssembly runtime implemented entirely in pure Java, requiring no system resources. The runtime offers easy integration capabilities for plugin systems while maintaining security through sandboxed execution of WebAssembly modules.

GitHub - deepseek-ai/DeepEP: DeepEP: an efficient expert-parallel communication library

DeepEP is a communication library optimized for Mixture-of-Experts (MoE) and expert parallelism, providing high-throughput GPU kernels and low-latency operations. The library supports both intranode and internode communication, offering specialized kernels for asymmetric-domain bandwidth forwarding and low-latency inference decoding, with comprehensive support for FP8 and RDMA networks.

The First Wasm_of_ocaml Release is Out!

Wasm_of_ocaml, a fork of Js_of_ocaml compiler that translates OCaml bytecode to WebAssembly, has released its first feature-complete version 6.0.1. The compiler offers better performance than Js_of_ocaml while maintaining compatibility, showing 2x-8x improvements in benchmarks and leveraging WasmGC for enhanced JavaScript interoperability.

New horizons for Julia

Julia programming language's 1.11 release brings significant improvements in binary size reduction, web browser compatibility, and tooling enhancements through juliaup. The upcoming 1.12 release promises refined static compilation capabilities, potentially expanding Julia's reach beyond its scientific computing roots.

Svelte 5 is not Javascript

A developer shares detailed insights about challenges encountered while upgrading to Svelte 5, focusing on issues with proxies and component lifecycles. The framework's new abstractions, while improving performance, introduce complexity that affects development workflow and code predictability.