If you build a local-first AI desktop app, you hit an awkward language split fast:
Rust gives you tiny native binaries, OS lifecycle control, and rock-solid process supervision—but PyTorch and modern NLP ecosystems live in Python.
Python owns CUDA, PyTorch, embeddings, reranking, and neural TTS—but Python GIL contention and packaging UX are painful for desktop UI orchestration.
Node.js handles async I/O, SSE streaming, and file ingestion cleanly—but running 32-bit/native ML runtimes directly inside Electron/Node bloats quickly.
Instead of forcing one runtime to do everything poorly, you can assign each language one strict boundary .…