DByte 12.0 · Reference
API + stdlib catalog
One landing map for language semantics, hosted compatibility modules, native/system surfaces and future platform-specific escape hatches.
00 read this catalog correctly§
LANGUAGE CORE canonical v12 semantics
HOSTED STDLIB compatibility modules documented by the hosted language surface
SYSTEMS target/profile-gated native interfaces
PLATFORM OS-specific escape hatches; future names stay roadmap-only
PROVENANCE: this index does not promote a historical hosted module or a proposed platform namespace into a new v12 semantic guarantee.
10 language core§
| Area | Reference | Scope |
|---|---|---|
| Basics | variables, literals, control flow, functions, imports | developer entry surface |
| Generics | generic functions and monomorphization | canonical HIR |
| Enums · Result · match | payload enums · Result + ? · match | typed control/data flow |
| Ownership · borrowing | ownership · borrowing | Copy/move and lexical borrows |
| Views | slices · StringView | borrowed views; not owned String |
| Callables · cleanup | function values · closures · defer | bounded v12 callable/cleanup model |
| C ABI | i686 C ABI | bounded cdecl subset in the v12.0 native lineage |
20 hosted compatibility modules§
HOSTED COMPATIBILITY · NOT A NEW V12 STDLIB REDESIGN
| Module | Current documented symbols |
|---|---|
std.fs | read_text, write_text, read_bytes, write_bytes, exists |
std.encoding | hex_encode, hex_decode |
std.hash | sha256 |
std.buffer | new, from_bytes, to_bytes, len, get, set, slice, load, save, find, replace |
std.binary | u8/i8, 16/32-bit LE/BE reads, 16/32-bit LE/BE writes |
std.math | abs, min, max |
std.env | args |
| built-ins | print, len on documented hosted types |
Use the symbol-level Hosted stdlib reference for signatures and provenance notes.
30 systems APIs§
| Surface | Reference | Boundary |
|---|---|---|
native.* | Native intrinsics | privileged/profile-gated |
| DBYTE32 | DBYTE32 ABI | native calling/layout contract |
| packed layouts | Layouts | hardware/data representation |
| interrupts | Interrupts | kernel profile only |
| user syscalls | User process 11.11 | user profile; frozen machine lineage |
40 compiler · artifact surface§
dbyte run source.dby
dbyte run --vm source.dby
dbyte inspect source.dby --hir --generics --layout
dbytec build source.dby --target i686-dbyte-none --emit obj -o source.o
dbytec build source.dby --target i686-dbyte-none --emit staticlib -o libname.a
dbytec link main.o libname.a -o app.elf
See CLI, ELF objects, static archives, linker, and targets.
50 platform namespaces§
CURRENT v12.0
native.* profile-gated systems surface
PROPOSED / NOT SHIPPED
platform.linux.*
platform.windows.*
PORTABLE POST-v12 DIRECTION
std.fs
std.time
std.process
std.net
std.thread
At the v12.0 baseline, proposed platform escape hatches were tracked in the historical v12.3 roadmap. That roadmap is superseded by the shipped v12.2 modern-native release; this statement remains only v12.0 API-boundary context.
60 deferred runtime types§
NOT IN v12.0
owned String
dynamic Array[T]
collections
allocator abstraction
automatic Drop
concurrency / async I/O
package manager
Read the current release contract before assuming a reference name implies a mature general-purpose runtime.