lua-uuid

Lua library to generate UUIDs leveraging libuuid (by Kong)

Lua-uuid Alternatives

Similar projects and alternatives to lua-uuid

  1. AppSignal

    AppSignal knows why the f*#k it crashed. Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.

    AppSignal logo
  2. v8-randomness-predictor

    Using z3 to predict `Math.random` in v8

  3. lua-resty-uuid

    LuaJIT FFI bindings for libuuid, a DCE compatible Universally Unique Identifier library.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better lua-uuid alternative or higher similarity.

lua-uuid discussion

Log in or Post with

lua-uuid reviews and mentions

Posts with mentions or reviews of lua-uuid. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-09-04.
  • Inverting the Xorshift128 random number generator
    4 projects | news.ycombinator.com | 4 Sep 2025
    A word of caution. A few years ago we had a production impact event where customers were getting identical cookies (and so started seeing each others sessions). When I took a look at the code, what I found was that they were doing something very like your code - using a time() based seed and an PRNG.

    Whenever we deployed new nginx configs, those servers would roll out and restart, getting _similar_ time() results in the seed. But the individual nginx workers? Their seeds were nearly identical. Not every call to the PRNG was meant for UUIDs, but enough were that disaster was inevitable.

    The solution is to use a library that leverages libuuid (via ffi or otherwise). A "native lua" implementation is always going to miss the entropy sources available in your server and generate clashes if it's seeded with time(). (eg https://github.com/Kong/lua-uuid, https://github.com/bungle/lua-resty-uuid)

Stats

Basic lua-uuid repo stats
1
25
-
over 4 years ago

Kong/lua-uuid is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of lua-uuid is Lua.


Sponsored
AppSignal knows why the f*#k it crashed.
Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.
www.appsignal.com

Did you know that Lua is
the 19th most popular programming language
based on number of references?