News for hackers. Stuff that matters.
Re: by BrunoVT1992 on Friday March 13, 2026 @05:09AM (#47362130)
GUIDs are the most widely supported identifiers across databases, APIs and programming languages. However, some systems use Cuid (Collision-resistant Unique Identifier) or its successor Cuid2 as alternatives to achieve sortable, URL-safe, and collision-resistant identifiers optimized for distributed systems.

For the safest, standards-based choice, use GUID / UUID v4 (fully random) or GUID / UUID v7 (time-ordered for databases). Consider Cuid2 when you need sortable, collision-resistant IDs for horizontal scaling and don't require RFC compliance.