[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?
From: |
Ken Hornstein |
Subject: |
Re: [Nmh-workers] What OS/Architecture Do You Run nmh On? |
Date: |
Sat, 17 Feb 2018 21:30:43 -0500 |
>from there, implementing Maildir might be easier than from here. even
>IMAP isn't impossible, if we're willing to return a socket descriptor
>instead of a file descriptor, or maybe a pipe from a fork, or (gag me) a
>temporary file.
Weeeelll ... I think, sadly, that to really make things like IMAP a win
we need to abstract out things a bit more.
You can see my experiments with program I wrote, "imaptest", here:
http://lists.nongnu.org/archive/html/nmh-workers/2017-10/msg00043.html
http://lists.nongnu.org/archive/html/nmh-workers/2017-10/msg00068.html
The upshot from all that is to really take advantage of IMAP, we need
to be a lot smarter and leverage the protocol more. For example, when
doing a scan(1) of a large group of messages you can just ask the IMAP
server for the information you are interested in; we already know this
because the format engine has that information. For pick(1) we can ask
the server to do the searching for us, and that is a HUGE win. So
just asking for a handle for a message to do what we've BEEN doing
isn't really good enough, I think ... we want to tell our API, "Hey,
I want to work on this set of messages, I need this information, and
here's an iterator function I want you to call for every message".
--Ken
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, (continued)
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Ken Hornstein, 2018/02/13
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Paul Vixie, 2018/02/13
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Ralph Corderoy, 2018/02/17
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Paul Vixie, 2018/02/17
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Ralph Corderoy, 2018/02/17
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Ken Hornstein, 2018/02/17
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Ralph Corderoy, 2018/02/17
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Ken Hornstein, 2018/02/17
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Bakul Shah, 2018/02/17
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Paul Vixie, 2018/02/17
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?,
Ken Hornstein <=
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Paul Vixie, 2018/02/18
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Ken Hornstein, 2018/02/18
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Andy Bradford, 2018/02/14
- Message not available
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Ken Hornstein, 2018/02/15
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Paul Vixie, 2018/02/15
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Michael Richardson, 2018/02/13
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Ken Hornstein, 2018/02/13
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Paul Vixie, 2018/02/13
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Michael Richardson, 2018/02/13
- Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?, Andy Bradford, 2018/02/14