Risto-Stevcev opened a new issue, #392:
URL: https://github.com/apache/cordova/issues/392

   # Feature Request
   
   Add a new platform for Tauri apps
   
   ## Motivation Behind Feature
   
   #### Why should this feature be implemented? What problem does it solve?
   
   Tauri solves a different use case than Electron. Tauri uses Rust as the 
backend, making it much more compatible with existing desktop applications that 
often rely on shared libraries.
   
   For example, a lot of open source desktop projects, especially for Linux, 
are written in either Qt or Gtk. They've been often criticized for being 
aesthetically unpleasing, and often lagging behind commercial software. If 
these projects decide to switch to Tauri in the future, they could reduce the 
barrier to entry for open source contributions, because frontend engineers 
could contribute without having to learn Qt or Gtk and how to compile a C/C++ 
application. Tauri apps are relatively smaller in size and memory footprint 
than Electron apps. 
   
   Electron and Neutralino are more directly comparable than Electron and 
Tauri, because the backend for Neutralino is nodejs. I think that Neutralino's 
main tradeoff is that it has a smaller size and memory footprint than Electron, 
but has a downsize of using [TCP 
sockets](https://neutralino.js.org/docs/configuration/neutralino.config.json#port-number)
 to do the IPC between processes instead of [unix 
sockets](https://github.com/electron/electron/blob/v24.1.2/patches/chromium/process_singleton.patch#L140-L147)
 like Electron does.
   
   
   ## Feature Description
   
   N/A
   
   
   ## Alternatives or Workarounds
   
   #### Using Tauri as a ad hoc platform
   
   I haven't thought of the best architecture for a workaround, but I'm 
thinking of just:
   
   - Creating a `platform/tauri/www` directory
   - Creating a mock command that `prepare`s the directory, so that I can use 
the same watch script for the `browser` and `tauri` platforms to update on 
changes as I'm developing
   - For plugins that I'll use, I can create a custom version of it that's 
adapted to Tauri 
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to