Live data from Hacker News

I've spent the last two years building a new email client

ivelope.com

221–230 of 608 posts

Re: I've spent the last two years building a new email client

#221
post #213
post #74

Earlier quoted context omitted.

300MB of ram sounds like a lot to me. What are you storing in memory that is that large? If I dont use the app for 1 hour will it stop using the memory?

Ask native thunderbird developers, why Thunderbird take 400 MB of RAM, only after start the programm.

Because Thunderbird is not actually native, it uses Electron's precursor XUL.

Re: I've spent the last two years building a new email client

#222
post #133
post #74

Earlier quoted context omitted.

300MB of ram sounds like a lot to me. What are you storing in memory that is that large? If I dont use the app for 1 hour will it stop using the memory?

I'm sure that a client like Mutt would use much less but considering that many emails have embed HTML and would ideally use a modern web view to render correctly, how much overhead is there from from using Electron/chromium if you're going to load all of that anyway? I couldn't find exact figures for MS Outlook but Office 365 seems to require 1Gb as a minimum. A quick look at the Gmail tab I have open in Chrome seems…

Outlook is using less than 220MB for me right now, and that's fairly standard. It seems to be fairly optimized.

Re: I've spent the last two years building a new email client

#223
Does this have support for OpenPGP? If not, you might want to take a look at https://github.com/openpgpjs/openpgpjs which does all the heavily lifting for you. Although it would also be useful if it could talk to a locally running gpg-agent so it would work with smartcards/yubikeys etc.

Re: I've spent the last two years building a new email client

#224

Does this have support for OpenPGP? If not, you might want to take a look at https://github.com/openpgpjs/openpgpjs which does all the heavily lifting for you. Although it would also be useful if it could talk to a locally running gpg-agent so it would work with smartcards/yubikeys etc.

Doesn't support it as of yet, however it has been requested by many and is on my todolist.

Re: I've spent the last two years building a new email client

#225
post #133

Earlier quoted context omitted.

I'm sure that a client like Mutt would use much less but considering that many emails have embed HTML and would ideally use a modern web view to render correctly, how much overhead is there from from using Electron/chromium if you're going to load all of that anyway? I couldn't find exact figures for MS Outlook but Office 365 seems to require 1Gb as a minimum. A quick look at the Gmail tab I have open in Chrome seems…

For reference, when settled, Gmail in Firefox uses 200MB or a bit more, while FastMail uses around 10MB. I’m tempted to make a FastMail Electron app just to demonstrate that Electron/HTML/CSS/JS doesn’t need to mean slow and heavy (it just normally does). Later: OK, so on Windows a trivial Electron “just load https://www.fastmail.com/login (and then log in)” app uses ~230MB of RAM. Not what I was hoping for, though i…

> Gmail in Firefox uses 200MB or a bit more, while FastMail uses around 10MB.

Yes, but that’s not a fair apples to apples comparison with his 300mb number. Your looking at the memory used for that tab, not the shared memory used by the browser across tabs. Open Firefox with no sites open and check your baseline memory usage. Add that to the numbers above for a direct comparison.

Re: I've spent the last two years building a new email client

#226

This looks pretty cool, I'm really pleased to see people writing new email clients, and you've clearly worked very hard on this! I have a bunch of questions that I couldn't find out from the website (but are obscure enough that I shouldn't expect to): * Is this a purely native app, or an Electron / Javascript app? Personally I'm only interested in native apps & Electron would be a deal breaker - but I'm weird, most p…

1. It's an Electron app, but it is built to use as little RAM as possible, when I run it on my old Macbook Air, it consumes only around 300mb of RAM maximum, which is less than what Finder consumes, and I consider everything over this limit to be a bug. 2. Currently not supporting Mbox/Maildir but downloading emails directly from the server, however an import of this is on the todo list 3. Re: turn off conversation v…

> It's an Electron app, but it is built to use as little RAM as possible

It's _either_ an Electron app, _or_ built to use as little RAM as possible.

I'm not an Electron hater, but if you are starting out with Electron then you are already at a far disadvantage both technically (see aforementioned RAM usage) and politically (many people won't use them, mostly for the technical reasons). FWIW I use the Telegram client which is an Electron app, but I would never use a text editor (Atom), email client, or other Electron app given an equivalent app based on C[++], Python, or even Java.

Re: I've spent the last two years building a new email client

#227

Does this have support for OpenPGP? If not, you might want to take a look at https://github.com/openpgpjs/openpgpjs which does all the heavily lifting for you. Although it would also be useful if it could talk to a locally running gpg-agent so it would work with smartcards/yubikeys etc.

Doesn't support it as of yet, however it has been requested by many and is on my todolist.

Is there a public tracker for these requests? I'd be happy to be informed when OpenPGP support is available. Enigmail started to behave really weird since version 2 and your client looks incredible!

Re: I've spent the last two years building a new email client

#228
post #74

Earlier quoted context omitted.

1. It's an Electron app, but it is built to use as little RAM as possible, when I run it on my old Macbook Air, it consumes only around 300mb of RAM maximum, which is less than what Finder consumes, and I consider everything over this limit to be a bug. 2. Currently not supporting Mbox/Maildir but downloading emails directly from the server, however an import of this is on the todo list 3. Re: turn off conversation v…

300MB of ram sounds like a lot to me. What are you storing in memory that is that large? If I dont use the app for 1 hour will it stop using the memory?

For comparison, my Thunderbird install with over 60k messages stored locally hits about 220MB.

Re: I've spent the last two years building a new email client

#229

Earlier quoted context omitted.

1. It's an Electron app, but it is built to use as little RAM as possible, when I run it on my old Macbook Air, it consumes only around 300mb of RAM maximum, which is less than what Finder consumes, and I consider everything over this limit to be a bug. 2. Currently not supporting Mbox/Maildir but downloading emails directly from the server, however an import of this is on the todo list 3. Re: turn off conversation v…

> It's an Electron app, but it is built to use as little RAM as possible It's _either_ an Electron app, _or_ built to use as little RAM as possible. I'm not an Electron hater, but if you are starting out with Electron then you are already at a far disadvantage both technically (see aforementioned RAM usage) and politically (many people won't use them, mostly for the technical reasons). FWIW I use the Telegram client…

Can't you build something "to use as little RAM as possible, given that it's using Electron"?

Re: I've spent the last two years building a new email client

#230

Earlier quoted context omitted.

1. It's an Electron app, but it is built to use as little RAM as possible, when I run it on my old Macbook Air, it consumes only around 300mb of RAM maximum, which is less than what Finder consumes, and I consider everything over this limit to be a bug. 2. Currently not supporting Mbox/Maildir but downloading emails directly from the server, however an import of this is on the todo list 3. Re: turn off conversation v…

> It's an Electron app, but it is built to use as little RAM as possible It's _either_ an Electron app, _or_ built to use as little RAM as possible. I'm not an Electron hater, but if you are starting out with Electron then you are already at a far disadvantage both technically (see aforementioned RAM usage) and politically (many people won't use them, mostly for the technical reasons). FWIW I use the Telegram client…

Telegram is not an electron app. It's native C++ and QT
Post reply on HN