Hacker News new | ask | show | jobs
by headcanon 104 days ago
+1 for Tauri, I've been using it for my recent vibe-coded experimental apps. Making rust the "center of gravity" for the app lets me use the best of all worlds:

- declarative-ish UI in typescript with react

- rust backend for performance-sensitive operations

- I can run a python sidecar, bundled with the app, that lets me use python libraries if I need it

If I can and it makes sense to, I'll pull functionality into rust progressively, but this give me a ton of flexibility and lets me use the best parts of each language/platform.

Its fast too and doesn't use a ton of memory like electron apps do.

2 comments

Also, Rust's strong and strict type system keeps Claude honest. It seems as if the big LLM models have trained on a lot of poorly written TypeScript because they tend to use type assertions such as `as any` and eslint disable comments.

I had to add strict ESLint and TypeScript rules to keep guardrails on the coding agents.

I added a list of known Extism implementers to my comment above, to take inspiration from should Extism be attractive to consider for you.