Repository navigation
Mini 0.8.0
Mini 0.8.0 adds experimental native Windows x64 support and includes the measured compiler/runtime improvements developed since 0.7.0.
Windows x64 (experimental)
The Windows package provides mini.exe, minic-native.exe, the runtime and standard-library sources. mini new, build, run, test and check use the C backend. Native Windows tests cover self-compilation with identical stage 2/3 C and MIR, Unicode paths and arguments, subprocess quoting, large captured output, environment/working-directory isolation and compiler failures.
Windows builds require Visual Studio 2022 C++ Build Tools with LLVM Clang and the Windows SDK. Use Developer PowerShell and PowerShell 7. The install page documents the PowerShell source installer, which verifies its bootstrap download and refuses to overwrite an existing prefix.
The Windows ZIP is C-backend only. Windows LLVM API, REPL, native thread support and sanitizer parity are not included. Linux and macOS retain the LLVM API default, bundled LLVM and mini repl; the explicit C fallback remains available.
Compiler and runtime improvements
- Optimized macOS application links remove unused code, and the packaged macOS compiler drops local symbols while retaining external exports. Debug and bootstrap paths remain separate.
- The compiler avoids empty substitution maps for non-generic classes.
- Reviewed runtime changes reduce allocation/RC overhead in reference arrays, ArrayList and StringBuilder. LLVM string access fast paths retain bounds/null checks and fallback behavior.
- WebAssembly fixtures keep browser-only allocator behavior separate from native compiler checks. Browser programs continue to compile live; only libraries are shipped precompiled.
On the recorded local fixed-input C/MIR self-compilation workload, the combined campaign reduced median wall time by 7.9% and retired instructions by 9.6%, with identical output. These are not complete build/link measurements. The JSON confirmation remained about 1.205 times the fastest tested strict C reference: the broader 1.2x target has not been established. See the repository's optimization reports for methods, tradeoffs and rejected experiments.
Assets and installation
- Linux x64, Linux arm64 and macOS arm64: LLVM API toolchain
.tar.gzarchives. - Windows x64: experimental C-only
.ziparchive. Extract it to a new directory and add itsbindirectory to a Developer PowerShell session's PATH. - Portable C bootstrap seed and
SHA256SUMS.
Unix installation remains:
curl -fsSL https://raw.githubusercontent.com/HenrySchwerdt/mini/main/install.sh | shREPL input/runtime-exception limits and the LLVM API debug-symbol limitation documented in 0.7.0 remain in effect.
All changes since v0.7.0
- Use literal ZIP paths and clarify source install status (2252970)
- Publish experimental Windows C-only ZIP (7db2290)
- Prepare Mini 0.8.0 release notes and Windows install guidance (e97bb23)
- Verify cross-volume Windows installs and report smoke status (f07a2f0)
- Match Windows host fixture CRT compatibility flags (36837b3)
- Cover valid long Windows process arguments (1ff41a0)
- Run Windows host contract checks before compiler bootstrap (139e6f2)
- Normalize extended Windows paths only at API boundaries (943c290)
- Harden Windows install and executable linking (961b756)
- Exercise Windows tool discovery and host processes (ebf244d)
- Add experimental Windows source installer (218ed26)
- Add experimental Windows C-only mini staging (314ff1d)
- Port native mini host and project paths to Windows (0f3f104)
- Normalize Windows bootstrap source paths (2f29494)
- Handle Windows source basenames and escape C type metadata (3d15c17)
- Keep skipped Windows death tests warning-clean (b1d158c)
- Harden Windows bootstrap setup and work directory handling (11303ad)
- Add native Windows runtime filesystem support (a0ef329)
- Extend Windows Unicode and entry tests (f010782)
- Add initial native Windows CI lane (3bade33)
- Test Windows entry argument lifetime (7328548)
- Add Windows UTF-16 process entry (e31e56d)
- Separate portable type-family checks from native C interop (045c7fe)
- Record rejected copy initialization and current target status (3293e1f)
- Record final runtime and compiler suite (2e86f73)
- Record fresh WASI and installed package validation (8f9fc57)
- Record fresh integrated fixpoints and strict runtime validation (5e4c296)
- Avoid null pointer arithmetic in UTF-8 strings (713f0fa)
- Inline pure type family classifiers (5097406)
- Record fresh profile and scope next classifier experiment (dbecbc8)
- Record hot cold JSON candidate profile (806a97e)
- Preserve evidence for rejected null-slot setter guard (366f3e2)
- Keep StringBuilder reserve guard on hot path (3a9c8a4)
- Record rejected StringBuilder inline storage pilot (6f23927)
- Record builder tradeoffs and reject unsupported cast optimization (36c3e08)
- Record reviewed type-family integration status (9f7e3b9)
- Preserve custom instance-check overrides (2070f2d)
- Add guarded type-family cache fast path (6f9cc8b)
- Document continued escape analysis and measured runtime progress (5d4b292)
- Coallocate private reference array storage with its owner (e40d3bb)
- Clarify runtime-call scope of RC counters (02655e3)
- Record combined escape optimization JSON baseline (4025625)
- Record string fast path pilot evidence (ba0129f)
- Inline string runtime fast paths in LLVM backend (5158886)
- Record ArrayList capacity pilot evidence (f10fef6)
- Reduce default ArrayList capacity to four (c223f53)
- Skip null releases when disposing ref arrays (c1d8f24)
- Record JSON API profiling and runtime counters (e62fafd)
- Finalize measured optimization campaign report and validation (8433c38)
- Record compiler API optimization triad results (1e7a98d)
- Add isolated local API compiler control (6c63c00)
- Record integrated compiler campaign measurements (81212ec)
- docs: record rejected typecheck fast-path pilot (aaa8758)
- Record fair Mini runtime baseline (ce26ec4)
- Strip local symbols from macOS release compiler copy (924042d)
- Record campaign targets and paired compiler pilot (2f38e45)
- Clear provenance for untracked benchmark artifacts (f1024a5)
- Repair benchmark runner for current Mini CLI (5aac674)
- Avoid empty substitution maps for non-generic classes (e319fe5)
- Record fresh compiler campaign baseline (704890d)
- Clarify optimization measurement scope (1e2a7b5)
- Reduce optimized macOS minic executable size (c2fa4e6)