[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.2.0 (work1) now available
- From: Mike Pall <mikelu-1001@...>
- Date: Sat, 9 Jan 2010 00:41:41 +0100
Luiz Henrique de Figueiredo wrote:
> All feedback welcome. Thanks.
Yes, I'd like to *vehemently* protest about the included
abomination of a bit library!
It's INCOMPATIBLE to *all* other bit libraries out there! And it
has nonsensical system-dependent semantics, esp. wrt. the number
type. How on earth should one write portable code that way?
Do you really want to repeat the learning curve that the lbitlib
author and myself as the author of Lua BitOp had to go through?
Have you read the lengthy page on portable bit operations
semantics I wrote?
I cannot understand what stops you from just dropping in the
latest Lua BitOp and *be done*.
I strongly suggest to read "Hints on programming language design",
by C.A.R. Hoare from 1973 (!):
Especially chapter 12 (2) about "The language designer [...]":
"One thing he should not do is to include untried ideas of his own.
His task is consolidation, not innovation."