lua-users home
lua-l archive

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


> The important thing is that algorithms implemented in other languages
> should be straightforwardly portable. Having an algorithm that needs
> changed for Lua and Lua alone is the violation of the principle of
> least surprise.

This would also be a good argument. Can you give concrete examples
of algorithms implemented in other languages that would be
straightforwardly portable to Lua except for the logical shift?  (That
would also provide examples of the usefulness of the arithmetic shift.)

-- Roberto