Hacker News new | ask | show | jobs
by 19ylram49 2508 days 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
1 comments

Ah it depends on Electron,....
It'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".

Great job explaining that. I couldn't have said that well myself. :P. That's exactly what it is.
Ah utilities of 100MB size then.
~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/). None of the apps is above 2MB.

My task manager shows otherwise for an Electron tab.