all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: joaotavora@gmail.com (João Távora)
To: "Andreas Röhler" <andreas.roehler@online.de>
Cc: "Eric M. Ludlam" <eric@siege-engine.com>, emacs-devel@gnu.org
Subject: Re: About CEDET, Completion, and compilers
Date: Thu, 13 Mar 2014 14:04:14 +0000	[thread overview]
Message-ID: <jjbmwguyz35.fsf@gmail.com> (raw)
In-Reply-To: <5321B561.2030004@online.de> ("Andreas \=\?iso-8859-1\?Q\?R\=F6hle\?\= \=\?iso-8859-1\?Q\?r\=22's\?\= message of "Thu, 13 Mar 2014 14:40:49 +0100")

Andreas Röhler <andreas.roehler@online.de> writes:

> Given that's true - what about dropping EIEIO and re-building
> everything in plain Emacs Lisp?

FWIW, Eric Schulte's web-server [1] uses EIEIO and has recently been
accepted in Emacs ELPA. Eric reports it to be an roughly an order of
magnitude faster than el-node [2], and it apparently creates an EIEIO
object for every request. The code looks clean enough, but I didn't see
any `defmethod's or complicated inheritance.

But I've also noticed that some dismiss EIEIO as some kind of overkill,
a cannon to kill a fly. That's sometimes true, though I frequently wish
later that I had started out with a cannon. That's why in CL I almost
always start with CLOS right off the bat.

So, I've read some of the EIEIO docs, and know it's not as powerful as
CLOS, but would like to hear some experience about when to use it,
actual downsides experienced, etc...

Using more EIEIO could possibly make some people (including me)
understand, approach, and accept CEDET better.

João

[1] https://github.com/eschulte/emacs-web-server
[2] http://eschulte.github.io/emacs-web-server/benchmark/



  reply	other threads:[~2014-03-13 14:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-13  3:04 About CEDET, Completion, and compilers Eric M. Ludlam
2014-03-13 13:40 ` Andreas Röhler
2014-03-13 14:04   ` João Távora [this message]
2014-03-13 14:21     ` Andreas Röhler
2014-03-14  0:36   ` Eric M. Ludlam
2014-03-14  2:26     ` EIEIO Daniel Colascione
2014-03-14  3:35       ` EIEIO Eric M. Ludlam
2014-03-14  6:42       ` EIEIO David Engster
2014-03-14  9:41       ` EIEIO Eric Abrahamsen
2014-03-14 20:13         ` EIEIO Eric Schulte
2014-03-15  6:54           ` EIEIO Thien-Thi Nguyen
2014-03-16  1:06             ` ELPA Go integration Was: EIEIO Eric Schulte
2014-03-16 10:36               ` Thien-Thi Nguyen
2014-03-24  8:33                 ` Thien-Thi Nguyen
2014-03-17 14:36               ` Stefan
2014-03-25  2:05                 ` Stefan
2014-03-14 10:24       ` EIEIO João Távora
2014-03-14  6:47     ` About CEDET, Completion, and compilers Andreas Röhler
2014-03-23 14:57 ` Richard Stallman

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=jjbmwguyz35.fsf@gmail.com \
    --to=joaotavora@gmail.com \
    --cc=andreas.roehler@online.de \
    --cc=emacs-devel@gnu.org \
    --cc=eric@siege-engine.com \
    /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.