3 ms·
It would be nice if Microsoft would enable a type of language server scheme, like they use for VS Code, to allow Electron apps to use any backside language rath
by mikece 4y ago
It would be nice if Microsoft would enable a type of language server scheme, like they use for VS Code, to allow Electron apps to use any backside language rather than depending on Node. Would be handy to have a cross-platform app where the UI is HTML/CSS/JS but the core logic was in Go or Ruby or C# or (insert language here).
- tomkarho 4y agoThere are alternatives that might work to such an effect. Tauri comes to mind: frontend using html/css/js but backend is in Rust. Then there is Blazor: C# in the browser. With Blazorserver, you could actually do both core logic and ui with Dotnet. Stick a webview or minimal electron app in front of it (something like Tauri backend might work too now that I think about it) and you could theoretically fake a native experience while in truth you are actually calling an url: just like electron kinda does. Early cross platform phone app frameworks (Ionic) did this exact thing.
- diamondap 4y agoThere are some technologies like this. I'm going to look into Wails: https://github.com/wailsapp/wails https://github.com/wailsapp/wails
- DarrenDev 4y agoElectron.net gives you just that. All the backend logic is in C#. It's not the most well maintained project, but once you have it up and running for a new project it's stable.
- tabtab 4y agoIf most the common GUI idioms are built into a good GUI standard (see below), then it wouldn't need tons of client-side coding, and thus JS would probably suffice for lite-duty stuff.