What does HackerNews think of edge?

Run .NET and Node.js code in-process on Windows, MacOS, and Linux

Language: C++

> the first, MVP-style, attempt will be using Electron.

Good choice.

If you want to stick to HTML...WebView2 is suppose to replace it, but it assumes your backend code is .NET or C++, instead of JS/Node.js. Microsoft Teams is using it.

If you want to use native Windows UI components from JS code, then React Native for Windows is recommended. Facebook Messenger is using it.

All approaches require C# or C++ modules to be used to interact with the Windows Platform. Or there is: https://github.com/tjanczuk/edge.

The recommended approach is WinUI 3 which would involve C#/C++ and XAML.

To SwiftUI/React/JetPack are called module-view-update (MVU). There is an MVU for C# called Comet. https://github.com/dotnet/Comet#key-concepts

Try TypeScript or ReasonML or ScalaJS. They all compile to JS and have dead-easy FFI so you can still use the ecosystem stuff you're used to, but you learn something new. In the case of ReasonML and Scala you get to use them later with different backend ecosystems too.

TS will give you a nice balance between learning new stuff (types) and sticking to what you know (most JS patterns are supported), whereas ReasonML and ScalaJS would be a bit more adventurous.

Also try playing with dotnet languages (F# maybe?) via EdgeJS: https://github.com/tjanczuk/edge (but I don't know if thats production-stable)

I don't get this thing. Why do you need to run a webserver an render webpages when we have more powerful alternatives for cross-platform apps?

Also if you need interactivity you need JS anyway, so you can switch your server side rendering to client side rendering, thus eliminating the need for this wrapper anyway.

Maybe I am missing something (and if someone tells me I am missing .NET libs then my response is Edge.js, https://github.com/tjanczuk/edge).

On a side note there is already the Edge project that allows NodeJS and .Net to run in the same process. So you can run Asp.Net MVC websites with NodeJS side by side. And it runs on all platforms using Mono Runtime

https://github.com/tjanczuk/edge