Plan: MINK 1.1.0, the "very strong version"
Status: Plan, written 2026-12-03 from the owner's brief. 1.1.0 is the release the flagship demo and the big public push wait for. Nothing here is built yet except where it says so.
The goal in one sentence
After 1.1.0, a visitor can build a real Windows app in MINK (a window, a tray utility, a web app with a UI), install it, debug it, and get a package for it, and can see all of that working in a short demo.
- proved the compiler, the install and the tools. 1.0.6 carries the bug fixes the test apps found. 1.1.0 is
where MINK stops being "a language that can print numbers and serve HTTP" and becomes "a language you can ship an app in".
Decided
- 1.1.0 is the strong version. The big announcement and the flagship demo wait for it.
- No code signing. The owner has dropped it. We say plainly that the files are not signed, and build trust in other ways (winget, published checksums, reproducible builds, a public roadmap).
- The website is built by MINK and links to the owner's portfolio. Mockups stay until real screenshots are taken.
- Linux stays frozen. Windows 10 and newer only.
What 1.1.0 contains
Ordered by how much each item removes a reason not to use MINK (see ../strategy/POSITIONING.md).
| # | Work | Plan or spec | Removes |
|---|---|---|---|
| 1 | Callbacks (rt_callback, a pool of thunks) | CALLBACKS_AND_UI_PLAN C1, C2 | "MINK cannot make a real app" |
| 2 | ui module: window, label, button, text box, checkbox, list, progress bar, timer, paint hook, tray icon | same plan, C3, C4 | No UI |
| 3 | HTML builder and templating in the standard library; sitegen and mdgen become short programs on top | same plan, H1, H2 | Writing web pages by gluing strings |
| 4 | Less manual memory: intrinsics accept borrowed strings (&Str), a path-sensitive ownership check, a scoped-string helper | new, see below | The biggest day-to-day cost |
| 5 | Faster arrays: remove checks that can be proven safe, keep loop values in registers | new, see below | The speed gap to Go and Rust |
| 6 | Real modules and visibility: a namespace per file, enforced pub | new, see below | Name clashes |
| 7 | mink doc and debug information (PDB, lines and function names first) | DOC_AND_DEBUG_SPEC | "I cannot debug it" |
| 8 | Package registry, first version: mink pack, mink install <name>, an index on GitHub | PACKAGE_REGISTRY_SPEC | "No ecosystem" |
| 9 | Standard library additions for tools: command-line parsing, INI and TOML, dates and time zones, the Windows registry, clipboard, notifications, services | new | "I cannot write my tool with it" |
| 10 | Distribution: winget, the VS Code extension on the Marketplace, mink upgrade for side-by-side versions | existing tools | Install and trust friction |
| 11 | Hosted docs with search, the downloads page, real screenshots | WEBSITE_PLAN | "Where are the docs?" |
Details for the new items
4. Memory ergonomics. The twelve test apps are the measure. Today a function that only reads a string must be handed a copy and must free it; the intrinsics (rt_str_len, rt_str_byte) will not take &Str; and the ownership check does not see that a variable freed and then assigned in both branches of an if is valid. Changes: let intrinsics and user functions borrow with &Str; make the check path-sensitive; add a scoped helper so a temporary is freed at the end of its block. Done when the twelve apps need at least half as many rt_str_free calls and still end with no leak report. Backward compatibility: existing programs keep compiling.
5. Faster arrays. The sieve is 3.9 times slower than Go because every rt_mem_load and rt_mem_store is checked and values live in memory. Changes: prove simple loop indexes are in range and drop their checks; keep the loop counter and accumulators in registers where the allocator can. Done when the benchmark sieve is within 2 times of Go and no safety test regresses. Measure with testapps/bench before and after.
6. Real modules. Today every file is flattened into one namespace and pub is not enforced. Changes: each file gets its own names, module::name becomes the normal way to reach another file, and a name that is not pub cannot be used from outside. A compatibility mode keeps 1.0.x programs building with a warning. Done when two modules can define the same function name in one program, and a private name is refused with a clear error.
What 1.1.0 does not contain
Linux or macOS, a WebAssembly or JavaScript target, a garbage collector, code signing, a custom setup window frame (the plan was rejected for now).
Release gates (every one must be true)
cargo testpasses with no failures, on a clean checkout.- All twelve test apps build and pass, and the three new demos below pass.
testapps/benchre-run: sieve within 2 times of Go; no benchmark slower than in 1.0.5.- No known bug that loses or changes data. The friction log has no open "bug" entry.
- The documentation is hosted on the website, searchable, and every code sample on it was run.
- A clean-machine install and uninstall from the setup file, the portable zip, npm and winget, checked by hand on Windows 10 and Windows 11.
- The VS Code extension is on the Marketplace and
mink lsppasses its tests. - The changelog, the known-limitations list and the website say the same thing.
The flagship demos (made for 1.1.0)
They are the proof for each target user in the positioning paper. Each one is a real program in the repository with a README, a test, a recorded run for the website, and a size and build-time number.
| Demo | What it shows | Needs |
|---|---|---|
| Script to program | A real 30-line PowerShell admin script rewritten in MINK as a program of about 70 KB that needs nothing installed | Library additions (item 9) |
| Tray utility | A small Windows tray program with a menu, a timer and a notification | Callbacks and ui (items 1, 2) |
| How a compiler works | A guided walk from source to .exe using the real compiler stages | Documentation only |
The website replay (a typed terminal session) and a short screen recording are made from these, with real screenshots replacing the mockups at that point.
Order of work
- Callbacks first. C1 is the risk. If it takes more than a few days, ship the rest of 1.1.0 and move
uito 1.2. - Memory ergonomics (4) and faster arrays (5) next, since they change the compiler and need the benchmarks to judge them.
ui(2) and the HTML builder (3) on top of callbacks.- Modules and visibility (6), with the compatibility mode.
mink doc, debug information, the registry (7, 8) in that order.- Library additions (9) driven by the "script to program" demo.
- Distribution, hosted docs, demos, screenshots (10, 11) last, once there is something strong to show.
Each step ends with the full test suite and a note in the changelog under 1.1.0. Work happens on a next-1.1.0 branch cut from the 1.0.6 release; main only moves at a release.
Risks
- Callbacks may be harder than they look. The stack convention and alignment are subtle. Mitigation: build the thunk pool in the plan's smallest form first, with the six tests in the plan.
- Changing ownership and modules can break old programs. Mitigation: a compatibility mode, and the twelve test apps as the regression suite.
- One maintainer. The scope above is large. If time runs short, the cut line is: callbacks,
ui, memory ergonomics, faster arrays, hosted docs. Everything else can slide to 1.2. - Build machine instability. Release builds of the compiler crashed
rustcrepeatedly on the owner's PC. The official release files should be built with retries or on a second machine.
Decisions needed from the owner
- Is the cut line above right, or should something else be protected?
- Should 1.0.6 ship first, as a small release with the bug fixes, or go straight to 1.1.0?
- Should the
next-1.1.0branch start fromnext-1.0.6now?
This page is generated from the file in the repository, which is the source of truth. Found a mistake? Open an issue.