Re:Electron Is Cancer
by paulddraper on Saturday May 05, 2018 @02:36PM
(#17003116)
> Can you elaborate on what you mean by this?
I'm 100% certain the OP meant "resources for writing cross-platform desktop apps".
> write your core functionality in a language that can target multiple platforms...write platform-specific wrappers around it
This is nearly always suggested by someone who has never attempted this.
There is a reason there are mountains of Windows-only or Mac-only software out there.
Re:Electron Is Cancer
by seandougall on Thursday May 10, 2018 @12:58AM
(#17036503)
> This is nearly always suggested by someone who has never attempted this.
Oh, I've done it, and seen it done many times—it all depends on what the application is attempting to do. If the goal is something platform-specific enough that this approach doesn't work well, then something like Electron generally doesn't seem to either.
Can you elaborate on what you mean by this? I develop primarily for macOS, and I’ve very rarely been unable to find resources for what I need.
As far as alternatives for cross-platform, one possibility in many scenarios is to write your core functionality in a language that can target multiple platforms (e.g. C, C++, Rust, Swift) and then write platform-specific wrappers around it.
(I don’t personally think Electron is the end of humanity, but it does irk me when people call it “native”.)