Ecosystem · GroupTherapyOrg

Ecosystem & Compatibility

WasmTarget.jl powers the GroupTherapyOrg browser stack and compiles tested workloads from Julia's scientific and standard library ecosystem to standalone WasmGC.

The GroupTherapyOrg Browser Stack

Each browser package builds on WasmTarget.jl through typed host_modules and WasmTarget.@wasm_overlay without custom compiler forks or plugins:

PackageHost SurfaceRole
WasmTarget.jlwasm:js-stringPure-Julia WasmGC compiler built directly on Julia type inference and TrimVerifier.
Therapy.jl"dom", "for_fns"Server-side rendering and fine-grained reactive @island web framework compiling client components to WasmGC.
WasmMakie.jl"canvas2d" (72 ops)Makie-style 2D and projected 3D (Axis3) interactive plotting compiled to browser Canvas2D.
Snapshot.jlTherapy + WasmMakieExports reactive Pluto notebooks into self-contained HTML + WasmGC pages for static-subset cells.

Tested Julia Ecosystem Workloads

Each row summarizes the exact kernels checked in our native-versus-WasmGC differential testbed and notes what has not been audited yet. See the Ecosystem Support Matrix for the full per-package breakdown.

Domain / PackageVerified KernelsNot Yet Verified / OutsideStatus
Base (static subset)Numerics, UTF-8 String, multi-dim Array, Dict, IdDict, cyclic structs, Tuple, Exceptionseval, invokelatest, Tasks/Threads, file and network I/OVerified
LinearAlgebra & SparseArraysDense real dot, norm, matmul, lu, qr, cholesky, det, symmetric eigvals, svd; SparseMatrixCSC mulComplex/non-symmetric LAPACK, SuiteSparse direct sparse solvesTested subset
Statistics, Random, Printf, Dates, TOML, Loggingmean/std/var/median/quantile, Xoshiro RNG, @sprintf, Date/DateTime math, TOML.parse, folded logsMersenneTwister, dynamic Printf.Format, TOML.print, custom runtime logger sinksTested subset
SciML (10 benchmark workloads)OrdinaryDiffEq (Tsit5, Vern7, Rodas5P), host-lowered MTK ODEs, LinearSolve (LU, QR, GMRES), NonlinearSolve (Newton, TrustRegion)Callbacks/events, SDE/DDE/DAE/BVP/Jump solvers, sparse Jacobians, in-Wasm symbolic MTKTested subset
StaticArrays & ForwardDiffSVector/SMatrix linear algebra plus dual-number derivative, gradient, jacobian, and hessian (explicit Chunk)Dynamic chunk heuristics, MArray edge cases, SizedArray wrappersTested subset
Images.jl (15 benchmark workloads)imfilter (Gaussian, Sobel, Laplacian), imresize, otsu_threshold, morphology, Canny, SSIM, Gray/RGB/HSV/LabDisk image I/O codecs (PNG/JPEG), segmentation, feature descriptors, GPU arraysTested subset
FFTL.jlPure-Julia 1D/2D/3D complex fft/ifft, real rfft/irfft, and orthonormal dct/idct without FFTWThreaded SIMD pointer plans, general r2r kinds beyond DCT-II/III, GPU extensionsTested subset
StatsBase & InterpolationsHistograms, zscore, autocor, countmap, sampling, and 1D linear interpolationWeighted estimators, statistical tests, cubic B-spline and multi-dim boundary pathsTested subset

General-Safe Package Extensions

Packages never need to commit type piracy or mutate Base to support WebAssembly. WasmTarget.@wasm_overlay registers Wasm-only replacements in WasmTarget.EXT_METHOD_TABLE, which is consulted only during WasmGC compilation while native CPU Julia keeps calling the original BLAS, C, or host implementation untouched.

module MyPackageWasmExt

using MyPackage, WasmTarget

WasmTarget.@wasm_overlay function MyPackage.fast_kernel(x::Matrix{Float64})
    # Pure-Julia fallback compiled only when targeting WasmGC.
    # Native Julia continues to call MyPackage.fast_kernel unchanged.
    return MyPackage._generic_kernel(x)
end

end

Binary Footprint & Zero-Runtime Design

Because WasmTarget.jl compiles directly to native WasmGC structs and arrays and relies on the garbage collector built into V8, SpiderMonkey, and JavaScriptCore, compiled modules never bundle a linear-memory allocator, libjulia, or an LLVM runtime image.

PropertyWasmTarget.jlWhy It Matters
Package dependenciesBinaryen_jll onlySingle-package install with fast precompilation and offline CI support.
LLVM Wasm backendNoneCompiles straight from Julia typed code with a pure-Julia WasmGC encoder.
Custom GC runtimeNoneUses native browser and Node.js 26+ WasmGC garbage collection.
Incremental IR cacheConfig(ir_cache = true)Caches validated world-pinned IR across rebuilds for multi-island apps and notebooks.
Exception modes:values, :control, :noneChoose full Julia exception payloads, payload-free control traps, or zero-EH minimal binaries.
String interopwasm:js-stringDirect engine builtin conversion without linear-memory scratch buffers.