3 ms·
That’s not how it works. There’s a native bridge that enables you to access and use virtually any native APIs that you’d like to via JavaScript et al. If the na
by 19ylram49 7y ago
That’s not how it works. There’s a native bridge that enables you to access and use virtually any native APIs that you’d like to via JavaScript et al. If the native API that you need access to isn’t already exposed by the Electron framework, you can write the bridge code yourself
- pjmlp 7y agoAh it depends on Electron,....
- penagwin 7y agoIt's a shared electron context, it addresses one of the many critiques of electron (that each electron app is an entirely separate instance of Chrome), so each "sketch" while having the capabilities of electron only have the performance impact of a browser tab. This is especially useful for "utility applications".
- pjmlp 7y agoAh utilities of 100MB size then.
- nishkalkashyap 7y ago~100Kb* Only as much as is the actual application logic and bundled dependencies. Which for most cases is usually a few kilobytes or a megabyte. You can checkout the Quark appstore (https://dash.quarkjs.io/ https://dash.quarkjs.io/). None of the apps is above 2MB.
- pjmlp 7y agoMy task manager shows otherwise for an Electron tab.
- nishkalkashyap 7y agoGreat job explaining that. I couldn't have said that well myself. :P. That's exactly what it is.