Happy New Years
Phil Hanson (2558) 75 posts |
New friends. |
Malcolm Hussain-Gambles (1596) 811 posts |
Happy new year to all! I hope this year is exciting as the last! |
GavinWraith (26) 1563 posts |
I think it is in a Kai Lung story (Ernest Bramah) that the phrase may you live in interesting times is uttered as a curse. |
David Feugey (2125) 2709 posts |
And FPU support in RiscLua :) |
GavinWraith (26) 1563 posts |
The business of numbers in RiscLua has exercised my mind for quite a while, and I am very glad to have feedback and suggestions on the topic – especially now that Lua 5.3 is about to be finalized. As you may know, the standard Lua distribution has doubles for its default number system. That is fine for most 64-bit systems, but not so fine for the ARM CPUs to which RISC OS has until recently been tied, especially as their floating point operations are implemented in software, and so are slow. See http://www.wra1th.plus.com/lua/version.html for how RiscLua has tried to fudge things over the years. Briefly, the stages were: It would be nice to be able to use hard VFP2 rather than soft FP on the Raspberry Pi. When C libraries There is much controversy about coercion between number types. Do you maintain strong typing or, in the belief that it makes life easier for the innumerate, pretend that numbers are numbers and try to protect the innocent public from the rigours of mathematics? My own preference is for strong typing. However, when Lua was born they had to go with the second strategy. |