4 ms·
But Arc is native. They are building it in Swift. They have even taken on a mammoth task of building their windows version in Swift!
by srikz 4y ago
But Arc is native. They are building it in Swift. They have even taken on a mammoth task of building their windows version in Swift!
- youssefabdelm 4y agoOh I didn't know! I thought it was Chromium under the hood which is just very memory hungry. Is Chromium actually Swift under the hood?
- mkl 4y agoChromium is C++, i.e. native. The amount of memory used is a separate issue for the most part, and any language or execution environment can use a lot.
- youssefabdelm 4y agoAh okay thank you for the correction. I had heard all this talk about how Electron is based on Chromium which is why developing with it tends to create memory intensive apps or something. Happy to be wrong on that.
- mkl 4y agoYes, Chromium is native, but apps built with Electron are written in (or compiled to) JavaScript or WebAssembly, so not native, which uses more memory. Since Chromium is a full web browser it has a kind of minimum memory use which is higher than simple Electron apps would take if they were rewritten to be native. But if you're making a browser, you're going to need all that anyway.