Documentation
FutureBlitz 0.1.0's docs: guides by topic, the language's spec, and the references for fb, project.toml, and the standard library.
New to FutureBlitz? The tour comes first. Each guide's examples are whole programs, built and run with fb when the site was built.
Guides
Coming from Blitz3D
What stayed from Blitz3D, what changed and why, and how a .bb program's parts are written in FutureBlitz.
Types and nullability
The built-in types, conversions, aliases, Enums, and how T? keeps Null where it's written.
Classes and Structs
Values and objects, constructors, Destroy, Properties, Statics, Operators, Extend, and visibility.
Errors
Checked errors with Throws, Try and Catch, Finally and Defer, and panics with stack traces.
Generics and Interfaces
Interfaces with defaults, the built-in ones, generic Functions and types, constraints, and Where.
Concurrency and async
The worker pool, Spawn and Tasks, Parallel For, Channels, Mutex and Atomic, Sendable, and coroutines.
Modules and packages
Modules and Import, visibility, project.toml, local dependencies, libraries, and native libraries.
C libraries and bindgen
Extern blocks, the C types, @CLayout Structs, strings, callbacks, Unsafe, and fb bindgen.
Testing
@Test Functions, Expect and ExpectThrows, fb test, tests/ folders, and doc tests.
Release builds and shipping
Debug and release builds, what an executable needs beside it, stack traces, licenses, and formatting.
Reference
The fb command
Every command of fb's, with its options, as fb help gives them.
project.toml
Every key of a package's manifest, from spec chapter 11.
The standard library
Every module of std's, from its own doc comments.
The language spec
The specification is the language's source of truth, written for the compiler's builders as much as its users; its examples are close to FutureBlitz but not all whole programs.
- 01 Lexical Structure
- 02 Types, Declarations, Conversions
- 03 Operators
- 04 Control Flow
- 05 Functions and Closures
- 06 Structs, Classes, Interfaces, Enums
- 07 Generics
- 08 Memory Model and Unsafe Code
- 09 Error Handling
- 10 Concurrency
- 11 Modules and Packages
- 12 FFI (Foreign Function Interface)
- 13 Compile-Time Features
- 14 Strings and Collections
Report an issue with this page or with FutureBlitz on GitHub.