[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.2.0 (work1) now available
- From: Miles Bader <miles@...>
- Date: Sat, 16 Jan 2010 02:47:55 +0900
Roberto Ierusalimschy <email@example.com> writes:
> When discussing language design, performance is always present. But
> we do not think that, in a scripting language, such as Lua, we should
> consider a change in an API just to avoid an extra conditional or a jump
> misprediction. For LuaJIT, I am sure it will be able to eliminate
> these extra tests in most cases.
A single shift operator is _also_ more confusing from a readability
point of view, and that is important, even for a scripting language.
Many lisps use a single shift operator like that, and having used it
there, I've convinced it is a mistake -- it makes typical code that uses
it harder to understand.
Dictionary, n. A malevolent literary device for cramping the growth of
a language and making it hard and inelastic. This dictionary, however,
is a most useful work.