Daniel Martí's Avatar

Daniel Martí

@mvdan.cc

#cuelang #golang https://mvdan.cc London, UK

1,885
Followers
158
Following
261
Posts
17.04.2023
Joined
Posts Following

Latest posts by Daniel Martí @mvdan.cc

Release v0.16.0 · cue-lang/cue Changes which may break some users are marked below with: ⚠️ Language As a reminder, we have two ongoing language experiments since v0.15; a replacement for struct embedding and a rework of aliases...

📣 We have released #cuelang v0.16.0 - introducing an experiment with `try` and `else`, big performance gains, lots of LSP work, and much more! 🎉

03.03.2026 14:18 👍 5 🔁 1 💬 0 📌 0
Preview
proposal: cmd/go: only set vcs.modified=true if changes are relevant to build · Issue #77897 · golang/go Proposal Details If I run 'go build' in a repo with a random extra file that doesn't matter to the build, the runtime build info in the binary says vcs.modified=true and the main module path has a ...

Finally! No more "dirty" #golang builds because you have untracked files laying around which don't affect the build at all :)

02.03.2026 15:21 👍 16 🔁 3 💬 0 📌 0

“Allocating on the Stack” by Keith Randall — https://go.dev/blog/allocation-optimizations

#golang

27.02.2026 16:14 👍 41 🔁 7 💬 1 📌 0

“Using go fix to modernize Go code” by Alan Donovan — https://go.dev/blog/gofix

#golang

17.02.2026 16:50 👍 61 🔁 22 💬 0 📌 4
Preview
a dog is sitting in the back seat of a car and looking at the camera . ALT: a dog is sitting in the back seat of a car and looking at the camera .
03.02.2026 21:18 👍 0 🔁 0 💬 1 📌 0
Two speakers at FOSDEM on stage

Two speakers at FOSDEM on stage

Front row seats to @kakkoyun.me's talk #FOSDEM

01.02.2026 10:53 👍 11 🔁 1 💬 0 📌 0

Neat! I've DMed @anirudh.fi :)

31.01.2026 11:08 👍 2 🔁 0 💬 0 📌 0

I'm at #FOSDEM all weekend! Ping me to talk #cuelang or #golang :)

31.01.2026 10:03 👍 11 🔁 0 💬 2 📌 0

Would love to catch up if you attend a future meetup :) We are long time Gerrit users and I'd like to understand how well it supports the stacked reviews use case.

29.01.2026 09:46 👍 1 🔁 0 💬 1 📌 0

This was really cool! Thanks @aendra.com and @davenash.com for organizing. And to @alex.bsky.team for fielding my questions!

28.01.2026 22:47 👍 5 🔁 0 💬 1 📌 0
proposal: testing/nettest: in-memory implementations of net package interfaces · Issue #77362 · golang/go This is a proposal to add in-memory implementations of net.Listener, net.Conn, and net.PacketConn to the standard library. Motivation The net package defines abstract interfaces describing stream a...

@rog.bsky.social this sounds perfect for testing servers locally, especially with synctest 😊

github.com/golang/go/is...

28.01.2026 22:44 👍 20 🔁 3 💬 1 📌 0
Release v0.16.0-alpha.1 · cue-lang/cue Changes which may break some users are marked below with: ⚠️ Language As a reminder, we have two ongoing language experiments since v0.15; a replacement for struct embedding and a rework of aliases...

📣 We have just released #cuelang v0.16.0-alpha.1 - packed with big performance gains, lots of LSP work, and many other improvements 🎉

28.01.2026 16:14 👍 5 🔁 1 💬 0 📌 0

Tonight's the night! We have a boatload of demos lined up and it's looking like we'll pack Newspeak House.

We'll also have a quick informal show-and-tell at the start if you've found something interesting in the Atmosphere and want to share!

See you there!

28.01.2026 10:07 👍 17 🔁 3 💬 1 📌 1
proposal: spec: type inferred composite literals · Issue #12854 · golang/go Composite literals construct values for structs, arrays, slices, and maps. They consist of a type followed by a brace-bound list of elements. e.g., x := []string{"a", "b", "c"} I propose adding unt...

Type inferred composite literals in #golang might happen after all 👀

26.01.2026 21:38 👍 17 🔁 0 💬 0 📌 0
Preview
Proposal: Generic Methods for Go · Issue #77273 · golang/go Proposal: Generic Methods for Go A change of view. Background For clarity, in the following we use the term concrete method (or just method when the context is clear) to describe a non-interface me...

Interesting expansion of generics in #golang 👀

23.01.2026 00:35 👍 36 🔁 8 💬 3 📌 0

Back in the day it used to be somewhat common to encrypt emails end-to-end. I think it fell out of fashion for many reasons, but UX is definitely a big one.

I'm hoping that github.com/FiloSottile/... gains traction. For now, gpg continues to be more widespread.

22.01.2026 16:23 👍 1 🔁 0 💬 0 📌 0

Needing to use GnuPG to decrypt one file after not using it for nearly ten years, and I'm reminded of why I stopped using it.

And yup, I completely failed at decrypting the one file with a simple password. Twenty minutes of googling and doc reading after, I just feel like I'm losing my mind.

22.01.2026 14:46 👍 10 🔁 0 💬 1 📌 0

I'll be at #FOSDEM next week! Haven't been since 2014, which feels like a lifetime ago.

If we have met or collaborated in the past, or you'd like to say hi, my DMs are open :)

#golang #cuelang

21.01.2026 16:29 👍 14 🔁 2 💬 0 📌 0

I nearly had my laptop screen crushed by a guy aggressively reclining his seat recently. I was able to notice it in time and push against his seat, thankfully.

I'm OK with reclining a bit, but it shouldn't be possible to nuke whatever the person behind you is doing.

20.01.2026 17:21 👍 1 🔁 0 💬 1 📌 0

A good way to keep up with the Go project is this starter pack from @mvdan.cc (long-time #golang contributor).

Two other good ways to keep up are subscribing to the Go proposal review meeting GitHub issue:
go.dev/issue/33502

and the Go compiler & runtime meeting notes issue:
go.dev/issue/43930

16.01.2026 15:01 👍 14 🔁 3 💬 0 📌 0
Preview
Integration tests are best tests Itegration tests are the most important kind of tests. You should strive for excellent integration test coverage and invest relatively little time in unit tests. I've believed this since I worked on c...

New blog post, with a perhaps mildly unpopular opinion: jayconrod.com/posts/133/in...

15.01.2026 17:36 👍 29 🔁 7 💬 4 📌 1

BREAKING: The UK Government is working with Canada and Australia to launch a coordinated ban on X, per the Telegraph

11.01.2026 02:17 👍 18880 🔁 3101 💬 658 📌 921
GopherCon 2025: Porting the TypeScript Compiler to Go for a 10x Speedup V2 - Jake Bailey
GopherCon 2025: Porting the TypeScript Compiler to Go for a 10x Speedup V2 - Jake Bailey YouTube video by Gopher Academy

My GopherCon talk was just posted!

07.01.2026 02:50 👍 79 🔁 19 💬 2 📌 2

You can - use the "star" icon at the top left.

As usual, Gerrit has a feature for it, but it's not exactly intuitive UX.

28.12.2025 16:25 👍 1 🔁 0 💬 1 📌 0
Screenshot of the frame.work website with mainboard upgrades in stock.

Screenshot of the frame.work website with mainboard upgrades in stock.

At least in the UK I see all the AMD mainboards in stock, including the HX 370 I have.

23.12.2025 10:27 👍 1 🔁 0 💬 1 📌 0

Half a year later, really happy with my @frame.work 13 purchase. Definitely not going back to Thinkpads.

Reasonably happy with Fedora Atomic Sway too. Arch worked great for over a decade, but these days I prefer a system that Just Works out of the box, and is near impossible to break.

23.12.2025 06:44 👍 9 🔁 0 💬 2 📌 0
Post image

19.12.2025 14:50 👍 4 🔁 0 💬 1 📌 0
Replace Your GitHub Actions YAML with CUE
Replace Your GitHub Actions YAML with CUE YouTube video by Rawkode Academy

Make GitHub Actions, and the rest of your CI/CD and workflow stack, more powerful with type safety, validation, reusability, and policy enforcement using CUE!

How? Easy - check out this hands-on demo from our community member @rawkode.dev:

www.youtube.com/watch?v=MFtQ...

10.12.2025 16:09 👍 6 🔁 3 💬 0 📌 0

I think it's a sound change, but the bar for spec changes is high so it's deemed too niche to be worth the ecosystem cost.

I know this doesn't feel nice - I got plenty of rejected proposals :) You can always file again in the future if you have data to back up how often it's needed.

03.12.2025 23:49 👍 1 🔁 0 💬 1 📌 0
The "Shift-Left" Editor: A CUE LSP Deep Dive
The "Shift-Left" Editor: A CUE LSP Deep Dive YouTube video by cuelang

Missed our deep dive on the CUE LSP?

No worries - we re-recorded the demo! See how to bring CUE's logic engine into your editor with instant validation, error-checking, and rich language features as you type.

Watch here: youtu.be/4bVddevVK9c

01.12.2025 18:03 👍 4 🔁 1 💬 0 📌 1