Frontend frameworks, compiled
Run the TypeScript UI frameworks people already use, starting with sigx (the framework this site is built with): server rendering compiled to native code, with the same components the browser runs.
Velt is pre-1.0 and changes quickly. This page tracks what's coming, what's decided, and what's still missing. Every item links to the docs that describe it, so it stays as current as the docs.
The longer-term goals behind the releases. Each one already has pieces in place; the Planned list further down is what's decided next.
Run the TypeScript UI frameworks people already use, starting with sigx (the framework this site is built with): server rendering compiled to native code, with the same components the browser runs.
Move what is still written in Rust inside the runtime into Velt, on public APIs any package can use, so the standard library is readable, portable and as fast as what it replaces.
Make Velt a good place to run models and number-heavy code: compact number types, SIMD that maps to the hardware, and C libraries when a kernel already exists.
Build interfaces in Velt, from the web to the desktop: the same components and TSX, rendered by a framework or a native toolkit.
The design is settled and written down in the docs as a Planned note. No dates: they ship when they're ready.
weak fieldsBack-pointers that don’t keep their target alive (parent: weak Node | null), and a compile-time warning when a type can form a reference cycle. Still without a collector.LanguageExtensions scoped to their modulesAn extend block visible only in the modules that import it, and static readonly constants in extensions.LanguageJSON.parse into anyParse JSON of unknown shape into any, then convert it to an interface type when you know what it is.Standard libraryDisposable network handlesSockets and listeners in velt/net become classes you can hold with using, so they close at the end of a block.Standard libraryStreamed uploads in fetchSend a request body as a stream instead of building it in memory first.Things people ask for that don't have a design yet. Want one sooner? Open an issue and say what you'd build with it.
velt registry serve).PlatformsWindows on ArmExecutables for Windows arm64 are built but haven’t been run on the hardware yet.Standard libraryWeb streams: writing and pipingWritableStream, TransformStream, pipeTo and pipeThrough. ReadableStream works today.ToolingPackaged support for more editorsVS Code has an extension. Any editor that can start velt lsp works today, without packaging.declare cDeclare C functions, constants and structs and call them from unsafe code, checked against the C headers. sqlite uses it; allowNative decides which packages may.Platforms · 0.6.0JavaScript hosts and Cloudflare Workersdeclare host functions, fetch through the host, and velt build --host host-cloudflare for the same http-server program.Language · 0.6.0Operators, decorators and default exportsOperator methods on your own types, typed compile-time decorators, and export default as in TypeScript.Language · 0.6.0f16 and bf16Two-byte floats that compute as number, like Float16Array, with velt/half and 16-bit SIMD.Standard library · 0.6.0Crypto, TLS and compression in VeltX25519, ChaCha20-Poly1305, AES-GCM and P-256 in velt/crypto, startTls, and gzip, deflate and Brotli encoders.Language · 0.5.0Objects are references, like JavaScriptObjects, arrays, maps and closures are shared references. .clone() makes a deep copy. No more “use of moved value”.Standard library · 0.5.0A standard library at import pathsEvery module at velt/<area>/<module>, each with its own page.Packages · 0.5.0Packages for databases and the web serversqlite, postgres, redis and http-server, from git, a path or a registry, with git and workspace dependencies.Language · 0.5.0Programs start at the topTop-level statements run as the program, with top-level await, as in Node. No main() needed.Tooling · 0.5.0A build cache shared by every projectNothing is compiled twice; velt cache warm compiles the standard library ahead of time.LanguageTSX for server-side renderingJSX in .tsx files, rendered by the velt/jsx provider.LanguageWeakRef, WeakMap and WeakSetThey work as in JavaScript and let go of their targets the moment the last strong reference goes.Languagenew Promise(...) and logical assignmentnew Promise, Promise.withResolvers(), and ??=, ||=, &&=, as in JavaScript.ToolingHot swap with velt devChanged functions are swapped into the running program, which keeps its memory, connections and tasks.PlatformsLinux, macOS, Windows and WebAssemblyNative executables for each, and cross-compiling from any of them.