Lateralus Programming Language
🌐 Official home: lateralus.dev — docs, playground, downloads, papers, and package registry.
Website • Docs • Playground • Download • Papers • Blog
Install
# From PyPI (recommended)
pip install lateralus-lang
# One-liner from lateralus.dev
curl -fsSL https://lateralus.dev/install.sh | sh
VS Code users: install the Lateralus Language extension for full IDE support.
One language. Three lanes.
Lateralus is built for the jobs that usually need three languages:
- Observability — structured logs, metrics, traces, in one binary.
- Analytics — Parquet, Arrow IPC, SIMD-ready columnar ops shipped in the stdlib.
- Secure-by-default — ChaCha20-Poly1305, X25519, BLAKE3, Argon2id — no OpenSSL, no surprises.
➡ Niche page · Stdlib vs Python/Go/Rust/Node · One-page cheatsheet · Open bounties →
Speed snapshot
Pure Lateralus → C99 backend vs CPython 3.13 (lower is better):
| Benchmark | Lateralus (C) | CPython 3.13 | Speedup |
|---|---|---|---|
| fib(35) | 0.004 s | 0.240 s | ~60× |
| sieve(1e6) | 0.020 s | 0.600 s | ~30× |
| mandelbrot | 0.110 s | 3.300 s | ~30× |
| n-body 5k | 0.080 s | 3.200 s | ~40× |
See benchmarks/ to reproduce.
Lateralus is a systems programming language built for performance, safety, and expressive pipelines. It combines Rust-inspired ownership semantics with first-class pipeline operators, pattern matching, and a rich standard library.
Features
- Ownership and borrowing with compile-time lifetime checks
- First-class pipeline operators for data transformation
- Algebraic types with exhaustive pattern matching
- Async/await with structured concurrency
- Traits and generics with monomorphization
- Zero-cost abstractions compiling to native code
- Built-in test runner with assertion support
- Multiple backends: native, C, WASM, JavaScript, Python
Quick Start
ltl run examples/hello.ltl
Write your first program:
fn main() {
let names = ["Alice", "Bob", "Carol"]
names
|> filter(|n| n.len() > 3)
|> map(|n| format!("Hello, {}!", n))
|> for_each(|msg| print(msg))
}
Project Structure
- std/ — Standard library modules (collections, io, sync, crypto, etc.)
- stdlib/ — Extended standard library
- examples/ — Example programs and showcases
- bootstrap/ — Self-hosting compiler components
- lateralus_lang/ — Python reference implementation
- lateralus-os/ — Experimental operating system
- vscode-lateralus/ — VS Code extension with syntax highlighting
- docs/ — Language specification, tutorials, and papers
- tests/ — Test suite
Standard Library Highlights
Collections: HashMap, BTreeMap, Vec, LinkedList, BinaryHeap, Trie, SkipList, LRU Cache, BloomFilter
Concurrency: threads, async executors, channels, mutexes, rwlocks, barriers, semaphores
Networking: TCP/UDP sockets, HTTP client/server, WebSocket, DNS, firewall
Cryptography: AES, ChaCha20, SHA-256, SHA-3, BLAKE3, RSA, ECDSA, X25519, TLS, Noise Protocol
IO: buffered readers/writers, file system, path manipulation, file watching
Formatting: Display/Debug traits, padding, alignment, numeric bases
Time: Duration, Instant, Stopwatch, Deadline
Building from Source
git clone https://github.com/bad-antics/lateralus-lang.git
cd lateralus-lang
make build
make test
Documentation
- Language Spec: docs/language-spec.ltlml
- Tutorial: docs/tutorial.ltlml
- Cookbook: docs/cookbook.ltlml
- Grammar: docs/grammar.ebnf
- Blog: docs/blog/
License
MIT — see LICENSE for details.
Made with care at lateralus.dev
Metadata
Release files for lateralus-lang 3.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lateralus_lang-3.2.0.tar.gz | 1.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lateralus_lang-3.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.8 MB
Release files / lateralus_lang-3.2.0.tar.gz
| Download URL | lateralus_lang-3.2.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6a3e5da2ccfe2d8dc5d82e359484337ca4e9532dcf7631bee7f2a41a59dd5a0
|
|
BLAKE2b-256 checksum How to use checksums |
2b998ea766da06edc5a4c0b7aa75bdc5908fe0f8061ac170bfd7f6d9f632ab48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / lateralus_lang-3.2.0-py3-none-any.whl
| Download URL | lateralus_lang-3.2.0-py3-none-any.whl |
|---|---|
| Size | 683.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7cbb20834360cc3b68706e474642f1d42d137bbd3fff76c7007e09393979de85
|
|
BLAKE2b-256 checksum How to use checksums |
9ab129f9d892f4a658f440ce6f0753a38adde4bb48e4e238c5744fb3d8daf351
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|