2 ms·
>No, "don't use Electron" doesn't count Why would it count? The situation would have more easily occured and be even worse with a C/C++ native app.
by coldtea 6y ago
>No, "don't use Electron" doesn't count
Why would it count? The situation would have more easily occured and be even worse with a C/C++ native app.
- gitweb 6y agoRust advocates remind me of Apple and Firefox fanbois. They are like the snake oil salesmen.
- coldtea 6y agoOr, you know, reasomable people, with their own arguments, you knee-jerkly dismiss... (Not that Rust's safety over C/C++ is an "opinion" or subject to argumentation).
- jcelerier 6y agowould it though - in a C++ app there'd be way less places where people could send you arbitrary code to run over the network ; and if you use any kind of high-level network library you'd be well pressed to have any kind of buffer overflow, as all the buffer handling is done in already-vetted libs, such as Qt, Boost, cpp-rest-sdk, etc
- freeone3000 6y agoIt's in the IPC invocation, so for this app in particular, it'd be in the exact same place.
- jcelerier 6y agoI have a hard time seeing how. It seems to work by having some JS code to create a webview getting executed. In a pure C++ app there would be no place that would even be able to interpret that js, or any other "script language" in that pipeline.