News for hackers. Stuff that matters.
Re:Ask HN: Can small teams maintain Electron apps? by mikece on Monday August 15, 2022 @01:08PM (#32472367)
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).
Re:Ask HN: Can small teams maintain Electron apps? by tomkarho on Monday August 15, 2022 @01:26PM (#32472581)
There 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.

Re:Ask HN: Can small teams maintain Electron apps? by tabtab on Tuesday August 16, 2022 @01:58PM (#32486402)
If 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.
Re:Ask HN: Can small teams maintain Electron apps? by diamondap on Monday August 15, 2022 @01:44PM (#32472851)
There are some technologies like this. I'm going to look into Wails: https://github.com/wailsapp/wails
Re:Ask HN: Can small teams maintain Electron apps? by DarrenDev on Monday August 15, 2022 @03:33PM (#32474228)
Electron.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.