emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multithreading, again and again


From: John Wiegley
Subject: Re: Multithreading, again and again
Date: Thu, 20 Oct 2011 18:00:40 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin)

>>>>> Dave Abrahams <address@hidden> writes:

>>> For what it's worth, experiments show that launching Emacs as a scripting
>>> engine (e.g. using it in a shebang) is actually more efficient than
>>> launching some more traditional scripting languages.
>> 
>> That's indeed unexpected.  Can you point to some more details?

> I think I need to ask John Wiegley to fill you in.  He did the experiments.
> John?

I think our signals may be a little crossed.  What I had meant to tell Dave
was that an Emacs-shebang script is faster at starting up and printing "Hello,
world" than the equivalent ECL script -- which, for small little scripts,
means that using Emacs Lisp could be more efficient than using CL standalone
binaries.

I did not compare my test with Bash, however, or with using more complex
scripts, where I'd expect CL's native-language compilation to far outdo Emacs
Lisp.

John




reply via email to

[Prev in Thread] Current Thread [Next in Thread]