Mako v0.4.0
v0.4.0 — Performance, DCE, lint, runtime speed
362 Mako tests + 80 Rust tests, 0 failures. All CI jobs pass.
Performance
- 99.8% C output reduction (30,184 → 64 lines for hello.mko)
- Fast int-to-string (24x faster, no snprintf)
- Realloc string concat (16% faster chained ops)
- Dead code elimination (default-on)
- Demand-driven type helpers (tuples, arrays, channels)
- Compile-time folding: booleans, strings, len, contains, prefix, suffix, repeat, replace
Lint (mako lint)
- Unused imports, unreachable code, unused variables, shadowed variables
Concurrency
- Hardened channel select (thread-local state, seeded stress tests under TSan)
Build
--stripflag for smaller binaries- Improved Linux installer (distro detection, profile persistence)
Install
curl -fsSL https://github.com/loreste/mako/releases/download/v0.4.0/install-linux.sh | bashWhat's Changed
- Free discarded Option and Result payloads by @attahn in #8
- fix(installer): detect Linux distribution and persist shell environme… by @imfanee in #10
- Harden channel select concurrency by @attahn in #9
New Contributors
Full Changelog: v0.3.0...v0.4.0
What's Changed
- Free discarded Option and Result payloads by @attahn in #8
- fix(installer): detect Linux distribution and persist shell environme… by @imfanee in #10
- Harden channel select concurrency by @attahn in #9
New Contributors
Full Changelog: v0.3.0...v0.4.0
What's Changed
- Free discarded Option and Result payloads by @attahn in #8
- fix(installer): detect Linux distribution and persist shell environme… by @imfanee in #10
- Harden channel select concurrency by @attahn in #9
New Contributors
Full Changelog: v0.3.0...v0.4.0
What's Changed
- Free discarded Option and Result payloads by @attahn in #8
- fix(installer): detect Linux distribution and persist shell environme… by @imfanee in #10
- Harden channel select concurrency by @attahn in #9
New Contributors
Full Changelog: v0.3.0...v0.4.0
What's Changed
- Free discarded Option and Result payloads by @attahn in #8
- fix(installer): detect Linux distribution and persist shell environme… by @imfanee in #10
- Harden channel select concurrency by @attahn in #9
New Contributors
Full Changelog: v0.3.0...v0.4.0
What's Changed
- Free discarded Option and Result payloads by @attahn in #8
- fix(installer): detect Linux distribution and persist shell environme… by @imfanee in #10
- Harden channel select concurrency by @attahn in #9
New Contributors
Full Changelog: v0.3.0...v0.4.0
What's Changed
- Free discarded Option and Result payloads by @attahn in #8
- fix(installer): detect Linux distribution and persist shell environme… by @imfanee in #10
- Harden channel select concurrency by @attahn in #9
New Contributors
Full Changelog: v0.3.0...v0.4.0
What's Changed
- Free discarded Option and Result payloads by @attahn in #8
- fix(installer): detect Linux distribution and persist shell environme… by @imfanee in #10
- Harden channel select concurrency by @attahn in #9
New Contributors
Full Changelog: v0.3.0...v0.4.0
What's Changed
- Free discarded Option and Result payloads by @attahn in #8
- fix(installer): detect Linux distribution and persist shell environme… by @imfanee in #10
- Harden channel select concurrency by @attahn in #9
New Contributors
Full Changelog: v0.3.0...v0.4.0