Arth
Decision 3 of 18

Keep the native surface small

One decision from Arth, which asks: Can an app understand your money without ever being told what it is?


The model is small and quantised, and it is downloaded on first run rather than bundled so the install stays a reasonable size. The native runtime it runs on is pinned to a specific release rather than tracking its main branch, so the native build stays reproducible and auditable.

Between that runtime and the app sits a hand-written bridge exposing a deliberately minimal API. Keeping that surface small and stable isolates the app from the runtime's internal churn, and makes the native boundary — the place where a mistake becomes a crash rather than an exception — small enough to reason about and test exhaustively.

Inference runs off the UI thread, so a slow or stalled generation never freezes the app. And the interface is deliberately runtime-agnostic: a different on-device runtime can be swapped in behind the same seam without the change rippling outward.

Your opinion

Would you have decided this differently?

Where do you stand?

What gets published. I read every opinion and publish substantive ones, including those that disagree with me, as a scroll on this page. I may add a reply. I leave out spam, abuse and anything off-topic, so please include only what you’d be happy to see in public.

Where it goes. I keep your opinion, your stance and, if you allow it, your name in a database run by Neon. I don’t ask for your email or store your IP address, but Netlify, which hosts this site, may log it when it handles your request. To have yours removed, email pkrishna@vaulthai.health. A published opinion is removed from the site, though it can remain in my site’s version history.

Next