Replies: 1 comment 1 reply
-
Thanks for the extensive write-up. #4670 is our overarching tracking issue which also includes Deno. Our current core team cannot handle anything official so we have to rely on community contributions like the deno plugin or the python experiments you see in 4670. We're open to collaborate on changes required to make tauri more accessible and we've already seen such changes mainly thanks to I also believe that features like these really have to start outside of Tauri so that they can better do experiments to get it right, and to make sure that in the end tauri is changed in such a way that new backend languages can be added relatively easily ideally without having to be inside tauri or requiring major changes. Similar to how the winit crate is restructuring their code base at the moment if you've seen it. Also, i think there's a common misconception about how tauri's team works. The working group is very open so in theory we could add the maintainer of the deno plugin to the group (basically no requirements) and nothing would change. The only thing here would be something like an "official" label, it would not change/help its quality and it would just further manifest that misconception. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Currently, Tauri follows a two-layer architecture:
This proposal suggests expanding Tauri into a three-layer architecture by introducing a new, officially supported Deno-based backend layer, while the Rust core focuses solely on native OS operations.
Proposed Architecture
Introduce an official Deno runtime layer within Tauri apps:
Frontend
Backend (New Layer)
Native Layer
Communication Model
All three layers—Frontend, Backend (Deno), and Native (Rust)—should be interconnected using the same messaging/invocation system currently used between frontend and backend (e.g.,
invoke
,emit
,listen
).Benefits
Why Not Just Use the Existing Deno Plugin?
The community Deno plugin is promising but:
Would love to hear feedback from the Tauri core team and the broader community.
Beta Was this translation helpful? Give feedback.
All reactions