4 ms·
So, the main use case of this is for writing Electron apps, the biggest benefit of Electron is having cross-platform apps, using swift code in your Electron app
by goestoo 2y ago
So, the main use case of this is for writing Electron apps, the biggest benefit of Electron is having cross-platform apps, using swift code in your Electron app that's only work on macOS gonna defeat of propose of an Electron app.
- dieortin 2y agoSwift code can run on Windows and Linux too
- goestoo 2y agoSorry, I didn't know that, I thought swift is only for Apple platforms.
- pdpi 2y agoNope! It's entirely unremarkable on Linux (in a good way: you wouldn't notice that it's not its "native" platform), and it's surprisingly pleasant to use (and probably the easiest way to get a good C compiler) on Windows.
- adamnemecek 2y agoElectron apps can have native components and in fact many do.
- mmcclure 2y agoThis has already been corrected, but just calling out a bullet from the feature section: > Cross-platform: NodeSwift works not only on macOS, but also on Linux, Windows, and even iOS! Now I'm curious about the iOS bit. Is that intended for React Native?