Memory, without the mystery.
The compiler inserts reference counting and removes redundant operations. Objects stay put, so C can work with stable pointers.
Build closer to the machine with Dart syntax,
native
performance, and memory you can reason about.
A working subset of Dart, built for systems code. Explicit where it matters. Readable where it counts.
The compiler inserts reference counting and removes redundant operations. Objects stay put, so C can work with stable pointers.
Fixed-width integers. Explicit conversions. Arithmetic that traps on overflow by default. Control that survives compilation.
Compile to object files and link with C. Freestanding code can live in firmware, kernels, or the native library you are building next.
@bare
u64 sumTo(u64 n) {
var i = u64(0);
var total = u64(0);
while (i < n) {
total = total + i;
i = i + u64(1);
}
return total;
}
v0.1.3 improves memory safety and Windows interoperability, with native iOS and Android targets. Install the compiler on macOS Apple Silicon or Linux through Homebrew, or Windows through Scoop.
Build your first program ↗brew tap dotcorr/tap brew trust --formula dotcorr/tap/dcdart brew install dcdart
Windows: install with Scoop ↗. Linux requires glibc 2.39 or newer.
Compiling source also requires Dart SDK 3.12.2. Use an explicit prelude path, as shown in the setup guide.
Native output for macOS, Linux, Windows, iOS, Android, and bare metal. Installation packages and target support are documented separately.
| Distribution | Availability | Status |
|---|---|---|
| Homebrew / DotCorr tap ↗ | macOS ARM64 · Linux x86-64 / ARM64 | v0.1.3 / LIVE |
| Scoop / DotCorr bucket ↗ | Windows x86-64 | v0.1.3 / LIVE |
| GitHub Releases ↗ | macOS · Linux · Windows | v0.1.3 / LIVE |