edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Adam Thompson <arthompson1990@gmail.com>
To: Karl Dahlke <eklhad@comcast.net>
Cc: Edbrowse-dev@lists.the-brannons.com
Subject: Re: [Edbrowse-dev] IPC, sooner?
Date: Mon, 8 Dec 2014 23:45:50 +0000	[thread overview]
Message-ID: <20141208234550.GP14122@toaster.adamthompson.me.uk> (raw)
In-Reply-To: <20141107180243.eklhad@comcast.net>

[-- Attachment #1: Type: text/plain, Size: 2241 bytes --]

On Sun, Dec 07, 2014 at 06:02:43PM -0500, Karl Dahlke wrote:
> > Ok, that sounds like a good idea, though the js process's going to have to have
> > some sort of threading if we want to do ajax etc.
> 
> right, but perhaps threading could come later, on the next increment.
> I'm thinking of pulling js to its own process,
> with an interprocess communication protocol,
> between edbrowse and js proc,
> that I would present here, first, for review,
> but all having the same functionality as today.
> Then of course we enhance it, and consider other engines, and such.

Ok, would this be launched from edbrowse via fork (thus making another edbrowse process) or be a totally separate js engine with a DOM perhaps?

> > I'd also like to separate out downloading from the network somehow such that a
> > large download doesn't block the entire program.
> 
> I think this is lots of work for little gain.
> Remember, everything asynchronous is a potential nightmare.
> I can download a 300 mb file and it just doesn't take very long.
> I think those features were developed when people were on dial-up connections.
> Really by the time I switch to another session to try to do something else,
> the file would already be downloaded.
> Maybe I'm spoiled by a good connection; but that's how it seems to me.
> And speeds will only increase.

Perhaps, but I've often found myself wishing edbrowse could download in the
background (and straight to disk) particularly when trying to download 1 gb +
isos and the like. Sometimes, like when downloading audiobooks (which sometimes
come as large zip files) you can't use something like wget because there's a
js-driven bit of logic which bounces your browser to the correct page,
and boom, I'm left with a blocked web browser downloading a file which I've got
no idea how big it is (if I forgot to look at the page)
and my machine's fairly resource limited by modern standards (only 1 gb of ram).
Anyway, may be that's just me, and is certainly a topic for a different thread,
but I don't think asynchronous downloads is an out dated feature,
particularly as files will get larger as internet speeds,
amounts of ram and disk space all increase.

Cheers,
Adam.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2014-12-08 23:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-07 23:02 Karl Dahlke
2014-12-08 23:45 ` Adam Thompson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-12-08 23:53 Karl Dahlke
2014-12-06 23:52 Karl Dahlke
2014-12-07 13:57 ` Adam Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141208234550.GP14122@toaster.adamthompson.me.uk \
    --to=arthompson1990@gmail.com \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    --cc=eklhad@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).