Lunacy Alternatives
Similar projects and alternatives to lunacy
-
luafilesystem
LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
luawinmulti
Lua build and installation script for Windows, building multiple Lua versions in parallel, including LuaRocks.
lunacy reviews and mentions
-
Building Lua on Windows
I like having a language which can quickly do a lot more than what BASH/Sed/AWK can do fit in a 116,224 byte sized Windows 32-bit binary, but I have had to do some hacking, both making my own custom compile of Lua and making a number of Lua functions to fill in the blanks while keeping things small and trivial to install on either native Windows, as a Cygwin program, or as a program in Linux or pretty much any POSIX compatible *NIX clone (including MacOS).
-
Glibc is still not Y2038 compliant by default
Now, last time I researched this, there still isn’t a “int64_t time_64bit()” style system call in the Linux API so that newly compiled 32-bit binaries can be Y2038 compliant by using “time_64bit()” instead of “time()”.
Keep in mind that we also need 64-bit versions of “strftime()”, “localtime()”, “ctime()”, “gmtime()”, “asctime()”, and “mktime()”, and so on probably with strdtime_64bit(), localtime_64bit(), and so on. In my piece of code, I could had written my own implementations of all these — note that time zone management is a really hard problem because of things like changing daylight savings time and the Indiana time mess^2 — but I decided to simply just have my Lua fork have no timestamp support beyond a simple 64-bit timestamp. There’s also the issue with stat() and the struct timespec returned for file creation/modification/access/status change timestamps^3, so I just don’t have stat() look at timestamps.
[1] https://github.com/samboy/lunacy
[2] https://en.wikipedia.org/wiki/Time_in_Indiana
[3] To ruin a classic sadistic interview question for sys admin roles, Linux these days returns both the modification time and the mostly useless “status change” timestamp. Facebook once decided to not move forward because I said that file timestamp was “modification time” and not “status change”; if Facebook is still asking that question, their knowledge is out of date.
Stats
samboy/lunacy is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.
The primary programming language of lunacy is C.
Popular Comparisons
Sponsored