4 ms·
That is actually not a bad amount, the native Telegram macOS client hovers around the same. WhatsApp Web (also built on Electron) consumes a staggering 300-500m
by jorvi 9y ago
That is actually not a bad amount, the native Telegram macOS client hovers around the same. WhatsApp Web (also built on Electron) consumes a staggering 300-500mb.
- ivm 9y agoNative Telegram takes only 80mb on my Mac.
- interfixus 9y agoWow! A race to the bottom of the memory pool. Electron is several things which HN guidelines probably won't allow me to describe here. I avoid it whenever I can.
- andrepd 9y agoThat's all very true, but can you point to an alternative? If you were a small team with few resources, and you wanted to ship a cross-platform desktop app, what would you choose?
- interfixus 9y agoThere ar plenty of portable toolkits out there. Gtk, Qt, WxWidgets, Fltk, Tk, several others, with bindings to more or less any language you may care to think of. And Lazarus/FreePascal, of course. You may even embed some web-engine. It doesn't have to involve obscene amounts of megabytes and the selling of your soul to the Google monster.
- 72deluxe 9y agoI would choose wxWidgets personally. Easy to build the libraries, plenty of samples. Some bugs here and there but paired with a tool to layout UIs (like wxFormBuilder), you can get a lot done.
- 72deluxe 9y agoWhat constitues a "bad amount"? It is displaying a series of text onscreen, with a history of messages for each contact. What's it eating all that RAM for? My mind boggles.
- bogle 9y ago300MB is what I see trying to run the MS Teams client. So I don't bother and use a browser instead.