tauri icon indicating copy to clipboard operation
tauri copied to clipboard

[feat] bindings for different languages/runtimes

Open InfernalAzazel opened this issue 2 years ago • 20 comments

Describe the problem

Python is used in almost every industry, easy to use

When will python be supported as a backend language, I am very much looking forward to that day.

Describe the solution you'd like

python as backend language

Alternatives considered

No response

Additional context

No response

InfernalAzazel avatar Jul 14 '22 05:07 InfernalAzazel

Can’t wait to use python machine learning on Tauri !

Arkitect-z avatar Jul 16 '22 19:07 Arkitect-z

I am wondering if nanomsg can be used as a message bus between wry and Python process or thread. Theoretically this method could be language agnostic.

link89 avatar Aug 25 '22 03:08 link89

yes python coders literally need this kind of stuff

ghost avatar Oct 03 '22 16:10 ghost

There was a problem with the translation last time, I've been following for 104 days I'm waiting to support python Come in every once in a while to see the progress I don't know if it can be used in 2023?

InfernalAzazel avatar Nov 17 '22 02:11 InfernalAzazel

I don't know if it can be used in 2023?

2023 at the earliest, i wouldn't be surprised if it takes even longer. There was no work done for it yet.

FabianLars avatar Nov 17 '22 11:11 FabianLars

Artificial intelligence is very popular now, and I have been looking forward to the arrival of binding Python

InfernalAzazel avatar May 17 '23 01:05 InfernalAzazel

Hey there! I was wondering if it would be possible to add TypeScript/JavaScript as supported backend development languages. A lot of us Electron users would really appreciate this feature. It would be awesome if we could choose to use either Bun.js, Deno, or Node.js as the runtime. It can be quite challenging for frontend developers to switch to other languages, so having this option would be a game-changer. I understand that it's a big ask, but I think it would make a lot of us really happy. Thank you for considering this request.

mchao123 avatar Sep 29 '23 10:09 mchao123

Here's a suggestion to share with Tauri developers: Consider leveraging Rust to provide APIs for other backend languages. For example, you can bind Node.js and provide IPC communication APIs and window objects. The remaining tasks such as file I/O and network requests can be handled by Node.js. This way, future development teams only need to update and maintain the IPC and window APIs.

mchao123 avatar Sep 29 '23 11:09 mchao123

This is something we're incredibly excited and eager to implement and it's something we have had on our roadmap (https://tauri.app underneath the features section) for ever. However, it is a monstrous, herculean effort to actually pull of. Each language has its own concepts, primitives and idiomatic ways of doing things and we're already stretched thin as-is. However, we have made changes in Tauri and will continue to do so that will make it easier to implement proper bindings to Tauri's components in other languages so bear with us.

JonasKruckenberg avatar Oct 16 '23 08:10 JonasKruckenberg

Probably this needs to be implemented by someone from the language community. Do you have directions on how to start implementing this? Do we have some functions callable from C / FFI that could be used?

mildred avatar Oct 27 '23 08:10 mildred

2023 has come and gone and it seems this isn't happening?

Zireael07 avatar Mar 10 '24 10:03 Zireael07

Now tauri has achieved linux windows mac iOS/iPadOS Android which is a great feat. It is planned to bind the python backend and put it on the agenda.

I hope I can use it in 2024!

InfernalAzazel avatar Apr 26 '24 06:04 InfernalAzazel