[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: bitwise ops -- make them enums! (Re: what's wrong?)
- From: Glenn Maynard <glenn@...>
- Date: Mon, 5 Sep 2005 19:09:53 -0400
> MD5, CRC, just to keep in simple (?), widely used algorithms.
> Random number generators, hashes, storage of large number of booleans,
> etc.
On Mon, Sep 05, 2005 at 11:40:45PM +0100, Lisa Parratt wrote:
> The joy of a good prototyping language is that you can quickly throw
> together the program, and then optimise the bits that turn out to be
> too slow for production use *afterwards*.
These aren't things that need prototyping; they're algorithms that
have been implemented in C a thousand times--dropping them into a simple
Lua layer is a lot easier than reimplementing them in Lua.
(I'd avoid using lua_Number for bitmasks, at least, anyway; I use Lua
on systems without hardware doubles, where it's not going to be able
to hold a 32-bit mask.)
--
Glenn Maynard
- References:
- Re: what's wrong?, Luiz Henrique de Figueiredo
- Re: what's wrong?, Philippe Lhoste
- Re: what's wrong?, Mike Pall
- bitwise ops -- make them enums! (Re: what's wrong?), Asko Kauppi
- Re: bitwise ops -- make them enums! (Re: what's wrong?), Mike Pall
- Re: bitwise ops -- make them enums! (Re: what's wrong?), Asko Kauppi
- Re: bitwise ops -- make them enums! (Re: what's wrong?), Lisa Parratt
- Re: bitwise ops -- make them enums! (Re: what's wrong?), Philippe Lhoste
- Re: bitwise ops -- make them enums! (Re: what's wrong?), Glenn Maynard
- Re: bitwise ops -- make them enums! (Re: what's wrong?), Lisa Parratt