LWN.net Logo

GNU Guile 2.0.7 released

GNU Guile 2.0.7 released

Posted Dec 4, 2012 11:30 UTC (Tue) by dakas (guest, #88146)
In reply to: GNU Guile 2.0.7 released by mpr22
Parent article: GNU Guile 2.0.7 released

I don't consider it inaccurate. Yes, you can recompile Lua to use a single other numerical type, typically integer, possibly even complex, because the source code uses a #define for this and has been carefully written to avoid mixing its number type with actual internal operations. That is considerate, but it does not give Lua a numerical stack but merely changes its single type, so you then forego the use of double.

And you need to recompile Lua for that, whereas you can just link with the standard libguile whatever your number requirements may be.

You can consider me a Lua fanboy, so if I mention a disadvantage in passing, it is rarely an advantage to dwell on it as I might have good reason for my opinion.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds