From: "Ben Wing" <ben@666.com>
Cc: emacs-devel@gnu.org
Subject: Re: Gnu Emacs way slower than XEmacs
Date: Fri, 25 Apr 2003 19:41:58 -0700 [thread overview]
Message-ID: <080c01c30b9d$68e73620$0201a8c0@neeeeeee> (raw)
In-Reply-To: 87k7dlogsp.fsf@nyaumo.jasonrumney.net
actually it was kirill katsnelson who did most of the work on processes and
networks, although i [a] scrapped the synchronous process stuff and rewrote it
using async, [b] added the abstracted stream interface.
but basically, the old gnu emacs way involved trying to simulate select[] and
other unix operations using windows, ala cygwin. kirill scrapped all of the
process and network code for both windows and unix and rewrote it using an
abstraction layer that obviated the need to play games. it doesn't look like
this has changed significantly in recent gnu emacsen. there is no obvious
reason why emulation *has* to be slower, but in practice it often gets that way
because [a] the low-level code sometimes does unnecessary things to make the
emulation work., [b] it is hard to sort out what's really going on, and hence
[c] people are reluctant to make real changes. as it is, i have seen a few
patches come into xemacs over the years from random contributors to speed up the
process/network code by putting a sleep or yield or buffering change or whatever
in certain critical places, and it seems less likely these would have appeared
without the clean abstracted design.
we do use async i/o with winsock.
ben
----- Original Message -----
From: "Jason Rumney" <jasonr@gnu.org>
To: <ben@xemacs.org>
Cc: <emacs-devel@gnu.org>
Sent: Tuesday, April 22, 2003 11:43 PM
Subject: Re: Gnu Emacs way slower than XEmacs
>
> Hi Ben, can you answer the following question for me?
> A simple yes or no is sufficient, we are trying to determine whether
> there is a simple explanation for XEmacs being noticeably faster than
> GNU Emacs for network operations on Windows, or if it is due to a bug
> in GNU Emacs.
>
>
> "Stephen J. Turnbull" <stephen@xemacs.org> writes:
>
> > >>>>> "Jason" == Jason Rumney <jasonr@gnu.org> writes:
> >
> > Jason> Does XEmacs implement non-blocking sockets on Windows?
> >
> > I don't know. Ask Ben Wing <ben@xemacs.org>. I know he's done a lot
> > of work on processes, much of it intended to make processes work
> > efficiently on Windows within the Unix-centric context of the rest of
> > XEmacs. He may have done so; I'm sure it would be high on his
> > priority list.
>
>
next prev parent reply other threads:[~2003-04-26 2:41 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-22 11:43 Gnu Emacs way slower than XEmacs David Abrahams
2003-04-22 12:33 ` Miles Bader
2003-04-22 14:15 ` David Abrahams
2003-04-22 15:09 ` Miles Bader
2003-04-22 16:03 ` David Abrahams
2003-04-22 18:32 ` Kai Großjohann
2003-04-23 12:19 ` David Abrahams
2003-04-23 14:08 ` Kai Großjohann
2003-04-23 18:40 ` Eli Zaretskii
2003-04-23 23:52 ` David Abrahams
2003-04-24 7:26 ` Stephen J. Turnbull
2003-04-24 13:17 ` Simon Josefsson
2003-04-24 14:36 ` David Abrahams
2003-04-24 14:58 ` Simon Josefsson
2003-04-24 7:36 ` Kai Großjohann
2003-04-24 20:22 ` Eli Zaretskii
2003-04-24 20:56 ` Kai Großjohann
2003-04-23 1:39 ` Miles Bader
2003-04-22 13:19 ` Stephen J. Turnbull
2003-04-22 14:17 ` David Abrahams
2003-04-23 9:37 ` Eli Zaretskii
2003-04-23 10:37 ` David Abrahams
2003-04-23 10:38 ` David Abrahams
2003-04-22 18:30 ` Kai Großjohann
2003-04-22 20:17 ` Jason Rumney
2003-04-23 2:55 ` Stephen J. Turnbull
2003-04-23 6:43 ` Jason Rumney
2003-04-23 9:36 ` Eli Zaretskii
2003-04-23 12:21 ` David Abrahams
2003-04-23 18:41 ` Eli Zaretskii
2003-04-26 2:41 ` Ben Wing [this message]
2003-04-22 20:19 ` Jason Rumney
2003-04-22 21:21 ` David Abrahams
2003-04-22 13:27 ` Frank Schmitt
2003-04-23 12:18 ` David Abrahams
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='080c01c30b9d$68e73620$0201a8c0@neeeeeee' \
--to=ben@666.com \
--cc=emacs-devel@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.