Re: Port bitop to 5.3?

  • From: Mike Pall <mike-1503@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 16 Mar 2015 17:23:42 +0100

Daurnimator wrote:
> Do you have any plans to port luabitop to 5.3?

Not really. The number model is too different and people might
get wrong expectations on how many bits it actually works on.

[Actually, this is just one of the many problems of Lua 5.3: as a
module writer, you can never be certain which number types you can
rely on. This depends on how Lua was built, which is not under
your control. IOW: using 3rd party modules is a gamble -- yet
another tombstone for the Lua ecosystem.]

> bit.c:83:2: error: #error "Unknown number type, check LUA_NUMBER_* in 
> luaconf.h"

Yeah, they ripped out an important define in Lua 5.3 luaconf.h.
Great job needlessly breaking compatibility, as always.


Other related posts: