frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

UUID package coming to Go standard library

https://github.com/golang/go/issues/62026
82•soypat•3h ago

Comments

kayson•2h ago
Odd to me that the focus seems to be on the inactivity of Google's package when https://github.com/gofrs/uuid not only conforms to the newer standard but is actively maintained.
da_chicken•1h ago
While the uuid package is actively maintained, it hasn't had a release since 2024. Indeed, there's an open issue from June 2025 asking about it: https://github.com/google/uuid/issues/194
rafram•53m ago
The RFC isn’t changing, is it?
JimDabell•28m ago
I’m not sure of the state of that particular library, but yes, the RFC has changed significantly. For instance, the UUIDv7 format changed from the earlier draft RFC resulting in incompatibilities.

This is an example of an unmaintained UUID library in a similar situation that is currently causing incompatibilities because they implemented the draft spec. and didn’t update when the RFC changed:

https://github.com/stevesimmons/uuid7/issues/1

Any Python developer using the uuid7 library is getting something that is incompatible with the UUIDv7 specification and other UUIDv7 implementations as a result. Developers who use the stdlib uuid package in Python 3.14+ and uuid7 as a fallback in older versions are getting different, incompatible behaviour depending upon which version of Python they are running.

This can manifest itself as a developer using UUIDv7 for its time-ordered property, deploying with Python <=3.13, upgrading to Python 3.14+ and discovering that all their data created with Python 3.13 sorts incorrectly when mixed with data created with Python 3.14+.

A UUID library that is not receiving updates is quite possibly badly broken and definitely warrants suspicion and closer inspection.

0x696C6961•46m ago
I get a kick out of publishing libs with no external deps. Regardless of reasoning, this change makes that easier.
therealdrag0•2h ago
Golang lack of support for basic stuff like this is quite annoying.
serf•1h ago
the idea of what 'batteries included' means has changed a lot in the past twenty years, and like most Go quirks , probably Google just didn't need <missing-things>.
zdw•1h ago
Now do Javascript.
sheept•31m ago
crypto.randomUUID()?
tptacek•1h ago
What's the language you're thinking of that has more of these decisions fixed in the standard library? I know it's not Ruby, Python, Rust, or Javascript. Is it Java? I don't think this is something Elixir does better.
harrall•1h ago
Obviously PHP
JimDabell•23m ago
Perhaps I’m misunderstanding, but the linked issue seems to address this directly:

> Would like to point out how Go is rather the exception than the norm with regards to including UUID support in its standard library.

> C#: https://learn.microsoft.com/en-us/dotnet/api/system.guid.new...

> Java: https://docs.oracle.com/javase/8/docs/api/java/util/UUID.htm...

> JavaScript: https://developer.mozilla.org/en-US/docs/Web/API/Crypto/rand...

> Python: https://docs.python.org/3/library/uuid.html

> Ruby: https://ruby-doc.org/stdlib-1.9.3/libdoc/securerandom/rdoc/S...

artimaeis•20m ago
My first, and primary, programming language was C# which includes probably too large a standard library. It was definitely a surprise to see how minimal/simple other standard libraries are!
nwhnwh•1h ago
https://github.com/rs/xid
catlifeonmars•1h ago
What other basic stuff are you thinking of?
waynesonfire•1h ago
what a bunch of drama in the comments.
tptacek•1h ago
https://phk.freebsd.dk/sagas/bikeshed#the-bikshed-email
rednafi•1h ago
Basically one guy having a fit when people disagreed with him.
fractorial•1h ago
It would appear that person and OP are one in the same.
azinman2•1h ago
It’s kind of ridiculous to argue against UUID being part of the standard package for a language largely aimed at servers. At that point why even have any crypto functions or any of the bigger stuff it already has if the argument is 3rd party libs are enough?
tptacek•1h ago
UUIDv7 didn't mature until long after the Go standard library was mostly settled. By that point, there was already an idiomatic 3p dep for UUIDs (the Google package), and as you can see from the thread, there were arguments in favor of keeping it 3p (it can be updated on an arbitrary cadence, unlike the stdlib).
vips7L•23m ago
People are weird. A few days ago someone on /r/Java was arguing that a basic JSON parser shouldn’t be in the standard library.
cookiengineer•23m ago
Every time I read these types of Go issues, I think I am reading a writeup of a highschool debate club. It's like there is debate just for the sake of debate.

I understand the defensiveness about implementing new features, and I understand the rationale to keep the core as small as possible. But come on, it's not like UUID is a new thing. As the opener already pointed out, UUID is essential in pretty much all languages for interoperability so it makes sense to have that in the standard language.

Anyways, I'm just happy we'll get generic methods after 10 years of debates, I suppose. Maybe we'll get an export keyword before another 10, too. Then CGo will finally be usable outside a single package without those overlapping autogenerated symbols...

pjmlp•18m ago
Which is why I changed from being on Gonuts during pre-1.0 days to only touch Go if I really have to.

However I would still advocate for it over C in scenarios easily covered by TinyGo and TamaGo.

vzaliva•7m ago
A slow day in Go-news land? :)

It is heathwarming to see such mundane small tech bit making front page of HN when elsewhere is is debated whether programming as profession is dead or more broadly if AI will be enslaving humanity in the next decade. :)

Plasma Bigscreen – 10-foot interface for KDE plasma

https://plasma-bigscreen.org
260•PaulHoule•5h ago•78 comments

UUID package coming to Go standard library

https://github.com/golang/go/issues/62026
84•soypat•3h ago•26 comments

this css proves me human

https://will-keleher.com/posts/this-css-makes-me-human/
205•todsacerdoti•7h ago•74 comments

Can a wealthy family change the course of a deadly brain disease?

https://www.science.org/content/article/can-wealthy-family-change-course-deadly-brain-disease
27•Snoozus•2h ago•16 comments

Maybe There's a Pattern Here?

https://dynomight.net/pattern/
61•surprisetalk•2d ago•29 comments

LLMs work best when the user defines their acceptance criteria first

https://blog.katanaquant.com/p/your-llm-doesnt-write-correct-code
129•dnw•4h ago•98 comments

Galileo's handwritten notes found in ancient astronomy text

https://www.science.org/content/article/galileo-s-handwritten-notes-found-ancient-astronomy-text
77•tzury•1d ago•12 comments

Hardening Firefox with Anthropic's Red Team

https://www.anthropic.com/news/mozilla-firefox-security
536•todsacerdoti•17h ago•150 comments

C# strings silently kill your SQL Server indexes in Dapper

https://consultwithgriff.com/dapper-nvarchar-implicit-conversion-performance-trap
83•PretzelFisch•6h ago•52 comments

Show HN: Moongate – Ultima Online server emulator in .NET 10 with Lua scripting

https://github.com/moongate-community/moongatev2
240•squidleon•15h ago•135 comments

Tell HN: I'm 60 years old. Claude Code has ignited a passion again

288•shannoncc•5h ago•175 comments

Querying 3B Vectors

https://vickiboykis.com/2026/02/21/querying-3-billion-vectors/
15•surprisetalk•3d ago•0 comments

Editing changes in patch format with Jujutsu

https://www.knifepoint.net/~kat/kb-jj-patchedit.html
4•cassepipe•2d ago•0 comments

The Shady World of IP Leasing

https://acid.vegas/blog/the-shady-world-of-ip-leasing/
83•alibarber•8h ago•49 comments

Show HN: Kula – Lightweight, self-contained Linux server monitoring tool

https://github.com/c0m4r/kula
27•c0m4r•5h ago•19 comments

Tech employment now significantly worse than the 2008 or 2020 recessions

https://twitter.com/JosephPolitano/status/2029916364664611242
809•enraged_camel•11h ago•552 comments

Launch HN: Palus Finance (YC W26): Better yields on idle cash for startups, SMBs

43•sam_palus•11h ago•70 comments

CT Scans of Health Wearables

https://www.lumafield.com/scan-of-the-month/health-wearables
197•radeeyate•15h ago•42 comments

Show HN: 1v1 coding game that LLMs struggle with

https://yare.io
15•levmiseri•22h ago•5 comments

What canceled my Go context?

https://rednafi.com/go/context-cancellation-cause/
27•mweibel•2d ago•15 comments

Entomologists use a particle accelerator to image ants at scale

https://spectrum.ieee.org/3d-scanning-particle-accelerator-antscan
116•gmays•13h ago•21 comments

A tool that removes censorship from open-weight LLMs

https://github.com/elder-plinius/OBLITERATUS
143•mvdwoord•15h ago•62 comments

Ada 2022

https://www.adaic.org/ada-resources/standards/ada22/
122•tosh•9h ago•24 comments

Workers who love ‘synergizing paradigms’ might be bad at their jobs

https://news.cornell.edu/stories/2026/03/workers-who-love-synergizing-paradigms-might-be-bad-thei...
535•Anon84•16h ago•301 comments

A Modular Robot Dashboard

https://github.com/transitiverobotics/transact
8•chfritz•1d ago•0 comments

Good Bad ISPs

https://community.torproject.org/relay/community-resources/good-bad-isps/
113•rzk•15h ago•38 comments

Analytic Fog Rendering with Volumetric Primitives (2025)

https://matejlou.blog/2025/02/11/analytic-fog-rendering-with-volumetric-primitives/
90•surprisetalk•1d ago•8 comments

Multifactor (YC F25) Is Hiring an Engineering Lead

https://www.ycombinator.com/companies/multifactor/jobs/lcpd60A-engineering-lead
1•multifactor•12h ago

Helix: A post-modern text editor

https://helix-editor.com/
29•doener•5h ago•2 comments

Game about Data of America

https://americaindata.com/
8•fidicen•5h ago•0 comments