From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: Are there plans for a multi-threaded Emacs? Date: 05 Dec 2003 03:58:50 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87oevbes4h.fsf@emacswiki.org> <20031117040607.C6C5D79B72@server2.messagingengine.com> <87ekvpx18d.fsf@emptyhost.emptydomain.de> <4nad6cikxy.fsf@holmes.bwh.harvard.edu> <4nllpt3hr3.fsf@lockgroove.bwh.harvard.edu> <5bad69zd43.fsf@lister.roxen.com> <4noeuon378.fsf@lockgroove.bwh.harvard.edu> <4ny8tsgxy6.fsf@lockgroove.bwh.harvard.edu> <4nhe0ggv0u.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1070614854 9460 80.91.224.253 (5 Dec 2003 09:00:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Dec 2003 09:00:54 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Dec 05 10:00:51 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ASBpT-0005Jo-00 for ; Fri, 05 Dec 2003 10:00:51 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ASBpS-0007mi-00 for ; Fri, 05 Dec 2003 10:00:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ASClu-0006gX-1R for emacs-devel@quimby.gnus.org; Fri, 05 Dec 2003 05:01:14 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ASClf-0006aI-EL for emacs-devel@gnu.org; Fri, 05 Dec 2003 05:00:59 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ASCkz-0006Sb-2C for emacs-devel@gnu.org; Fri, 05 Dec 2003 05:00:48 -0500 Original-Received: from [207.245.84.69] (helo=colo.agora-net.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ASCky-0006SL-Hk for emacs-devel@gnu.org; Fri, 05 Dec 2003 05:00:16 -0500 Original-Received: from ttn by colo.agora-net.com with local (Exim 3.34 #1) id 1ASBnW-0002VP-00; Fri, 05 Dec 2003 03:58:50 -0500 Original-To: Ted Zlatanov In-Reply-To: Ted Zlatanov's message of "Thu, 04 Dec 2003 15:58:25 -0500" Original-Lines: 20 X-Mailer: Gnus v5.7/Emacs 20.7 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18407 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18407 Ted Zlatanov writes: Plus, I am pretty sure that when an application uses N processors instead of one (as Emacs might with true preemptive multithreading) perhaps you still don't understand the root problem: "true preemptive multithreading" requires a certain program architecture to take advantage of it (including but not limited to: how the functions are written, placement of data, access patterns to the data, external interface requirements). if emacs does not have this particular nature, force-fitting it to make it so is a royal PITA. if you don't force-fit it, you will never get the true preemptive multithreading "experience". there is at least some speed improvement. [...] here's an analogy: rollerskates on two separate people and they both go fast. rollerskates on a potato-sack race pair and you get injuries and lawsuits, coredumps and bug reports. (and the pair still goes slow.) thi