From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Huchler Newsgroups: gmane.emacs.devel Subject: Re: Concurrency, again Date: Tue, 18 Oct 2016 05:27:37 +0200 Message-ID: <87wph6cp5i.fsf@jupiter.lan> References: <87wq97i78i.fsf@earlgrey.lan> <83twckekqq.fsf@gnu.org> <83mvi9a3mh.fsf@gnu.org> <20161012165911.58437154@jabberwock.cb.piermont.com> <20161012173314.799d1dc5@jabberwock.cb.piermont.com> <8360owaj2s.fsf@gnu.org> <20161013092701.77461800@jabberwock.cb.piermont.com> <20161017105345.2f255760@jabberwock.cb.piermont.com> <83y41nx8l6.fsf@gnu.org> <20161017123459.5ded9408@jabberwock.cb.piermont.com> <83twcayku6.fsf@gnu.org> <20161017135353.533db169@jabberwock.cb.piermont.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1476761354 6471 195.159.176.226 (18 Oct 2016 03:29:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2016 03:29:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 18 05:29:06 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwL54-0006z2-Vp for ged-emacs-devel@m.gmane.org; Tue, 18 Oct 2016 05:28:47 +0200 Original-Received: from localhost ([::1]:38780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwL57-0001ae-4q for ged-emacs-devel@m.gmane.org; Mon, 17 Oct 2016 23:28:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwL4Q-0001aI-HR for emacs-devel@gnu.org; Mon, 17 Oct 2016 23:28:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwL4L-0004gg-Gw for emacs-devel@gnu.org; Mon, 17 Oct 2016 23:28:06 -0400 Original-Received: from [195.159.176.226] (port=53458 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bwL4L-0004fB-AU for emacs-devel@gnu.org; Mon, 17 Oct 2016 23:28:01 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bwL44-0007cd-8w for emacs-devel@gnu.org; Tue, 18 Oct 2016 05:27:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:9ah0c93S9lEXP6PB4LCC7ua2puE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:208387 Archived-At: Lars Ingebrigtsen writes: > > Have you tried using the webkit widgets? Emacs does not hang while, > say, playing video, so presumably it's running its own thread. It is, > in any case, irrelevant to the discussion of Emacs Lisp concurrency: > The Emacs "event loop" is doing anything inside the widgets. As far as I understand the xwidget webkit browser is "only" some sort of a Client-server thing where you send messages from emacs to another process and it then does stuff and sends maybe answers back. More interesting is where does ewb go. Cause I doubt that the Xwidget thing will be very well hackable, like emacs can show pictures and use that to show pdfs, but it dont directly interact with them on a pixel level or can select the text in this pictures or manipulate it with functions directly. And I could see ewb be the real hacker browser in the future. Cause we dont get any api/standarts in the web besides imap and pop3 webpages and as example comment sections cant be threated like nntp messages or as gnus group. So if you wanna interact with such sites you need a browser. But (at least in a normal browser) they force you to use their interface and some sites even force shortcuts on you (like github). So a browser that would make it easy to format sites the way you like and use emacs shortcuts in it would be really nice. Like the readability mode, does start it, with some sort of basic heuristic to change the optics of web sites. Sorry I go OT, but the question is, does ewb need some Concurrency? I guess not really cause the javascript stuff is more a pain than a gain for most cases in such environment. Maybe if you wanna have 10 20 ewb tabs open and some sort of automatic refresh in the background?