Sign in

Daniel Martí

@mvdan.cc
1.9K followers 158 following 290 posts

#cuelang #golang mvdan.cc London, UK

PostsRepliesMedia
Daniel Martí @handle.invalid · 07/09/2026
#camouflage
030
Daniel Martí @handle.invalid · 30/08/2026
The Design Museum in London is really cool - and free entry! Really recommend if you happen to be in west London. Lots of interesting gadgets in the shop as well.
A selection of old computers and laptops.A display of old Apple devices, including laptops and music players.
030
Daniel Martí @handle.invalid · 28/08/2026
Overdue for a feature release for my shell #golang module 🏃‍♂️
github.com
Release v3.14.0 · mvdan/sh
This release drops support for Go 1.25 and includes many enhancements, particularly in the interpreter, which implements more shell features and fixes many divergences from Bash. cmd/shfmt Add --...
070
Reposted by Daniel Martí
Roger Peppe @rog.bsky.social · 26/08/2026
For any LLM sceptics out there. Russ is probably the most talented dev I've ever met.
0181
Daniel Martí @handle.invalid · 18/08/2026
The social aspect of @tangled.org would work better if I could see which people I follow are on there, as well as navigate trending repos in more detail, e.g. by language or timeframe. The site is getting there though!
050
Reposted by Daniel Martí
CUE @cuelang.org · 04/08/2026
📣 We have released #cuelang v0.18.0-alpha.1 - with a new CUE formatter, a new YAML encoding, experimental support for whole OpenAPI documents, and dozens of fixes 🎉
github.com
Release v0.18.0-alpha.1 · cue-lang/cue
Changes which may break some users are marked below with: ⚠️ Language ⚠️ Pattern constraints may no longer be marked as optional or required: [string]?: int and [string]!: int are now rejected by t...
041
Reposted by Daniel Martí
Jake Bailey @jakebailey.dev · 31/07/2026
born to rebase, forced to merge
191
Daniel Martí @handle.invalid · 31/07/2026
Gerrit seems to be an issue with AI transcripts 😆 Garret is being slow, Garret is down today, can you please look at Garret... Poor guy doesn't get a break.
040
Daniel Martí @handle.invalid · 27/07/2026
I receive a handful of drive-by AI PRs per week. I've decided to start rejecting ones from accounts which seem to target issues across dozens of unrelated projects. I don't know if they're trying to pad their resume, or claim broad experience, but I'm not interested in participating.
151
Reposted by Daniel Martí
Josiah Mortimer @josiahmortimer.bsky.social · 20/07/2026
I know it's not the biggest news of the day, but I just spotted this... One of Keir Starmer's last acts in Govt is this: Laying legislation that will legalise 'plug-in solar' (aka balcony solar) panels in Britain It means plug-in solar panels do not (legally) have to be wired in by an electrician.
statutoryinstruments.parliament.uk
Timeline - SI 2026/848 - Plugs and Sockets etc. (Safety) Regulations 1994 and Electricity Safety, Quality and Continuity Regulations 2002 (Amendment) Regulations 2026 - Statutory Instruments - UK Parl...
Timeline for Plugs and Sockets etc. (Safety) Regulations 1994 and Electricity Safety, Quality and Continuity Regulations 2002 (Amendment) Regulations 2026
16738254
Daniel Martí @handle.invalid · 13/07/2026
GitHub Actions is down *again*. I can't do this anymore. What are people switching to? I need Linux+Mac+Windows support, GitHub or Gerrit integration, and all the usual: secrets, webhooks, logs, etc. For context, we already have scalable machines for all OSes via @namespacelabs.com.
230
Reposted by Daniel Martí
CUE @cuelang.org · 29/06/2026
📣 We have released #cuelang v0.17.0 - introducing module replaces, the `shortcircuit` language experiment, a new comprehension algorithm, and lots more 🎉
github.com
Release v0.17.0 · cue-lang/cue
Changes which may break some users are marked below with: ⚠️ Language The active try experiment renames the new fallback keyword, used with for comprehensions, to otherwise. fallback continues to b...
022
Reposted by Daniel Martí
Jake Bailey @jakebailey.dev · 15/06/2026
This is a fun one: I just sent go.dev/cl/790740, which elides method wrappers for embedded types at offset zero, common for mixins/inherited data types. Doing this removes 60 _thousand_ method wrappers from tsgo's AST package, dropping the compilation of our main exe from 49s to 28s on my machine.
Benchmark 1: go build -a ./cmd/tsgo
  Time (mean ± σ):     48.992 s ±  0.274 s    [User: 345.152 s, System: 12.545 s]
  Range (min … max):   48.702 s … 49.478 s    10 runs
 
Benchmark 2: ~/work/go/bin/go build -a ./cmd/tsgo
  Time (mean ± σ):     28.323 s ±  0.133 s    [User: 141.277 s, System: 4.853 s]
  Range (min … max):   28.075 s … 28.555 s    10 runs
 
Summary
  ~/work/go/bin/go build -a ./cmd/tsgo ran
    1.73 ± 0.01 times faster than go build -a ./cmd/tsgo
3656
Reposted by Daniel Martí
Quim Muntal @qmuntal.bsky.social · 09/06/2026
🔥 Replaced the fixed Windows callback table in the #golang runtime with a growable design. No limits, smaller binaries, and ~6,000 lines of auto‑generated assembly gone. go.dev/cl/788700
go.dev
Gerrit Code Review
0222
Daniel Martí @handle.invalid · 02/06/2026
It really does feel like GitHub is getting worse by the day. Now I regularly get bogus "invalid value" label errors when the label clearly exists and works.
0112
Daniel Martí @handle.invalid · 31/05/2026
It just dawned on me that "firm"ware is someplace between software and hardware.
814713
Daniel Martí @handle.invalid · 22/05/2026
Stared at my screen for a good while, not understanding why a git diff didn't git apply when it obviously should. Turns out Discord turns tabs into spaces when you send code snippets, even inside triple quotes 🙄 As a workaround, use git apply --ignore-whitespace.
160
Daniel Martí @handle.invalid · 15/05/2026
The issue with GitHub Actions used to be its poor design. Nowadays it's down so often, that I don't even get to think about that at all.
1200
Daniel Martí @handle.invalid · 07/05/2026
bbc.co.uk
Curious canines and patient pups - it's dogs at polling stations
Pictures of dogs at polling stations are now a part of election day - here are some of the best we have seen.
030
Reposted by Daniel Martí
Felix Geisendörfer @felixge.de · 06/05/2026
PSA: Green Tea GC in go1.26 is incredible 🚀 This is what we saw for two big Go services. We'll try to gather more data and share it soon.
3377
Daniel Martí @handle.invalid · 04/05/2026
overdue for a gofumpt release, so I took the chance to close a bunch of issues too! #golang
github.com
Release v0.10.0 · mvdan/gofumpt
This release is based on Go 1.26's gofmt, and requires Go 1.25 or later. A new rule is introduced to drop unnecessary parentheses around expressions where the inner expression is unambiguous on its...
0172
Reposted by Daniel Martí
Damien Neil @misago.org · 08/04/2026
Holy cheese my untyped composite literal proposal from 2015 just got accepted. #golang github.com/golang/go/is...
github.com
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...
4314
Daniel Martí @handle.invalid · 01/04/2026
It's about two and a half years since we installed a heat pump and disconnected gas in this house, so out of curiosity I went to look at our average efficiency over this time. The install study predicted about 350%, but we're actually averaging 425%!
1110
Reposted by Daniel Martí
Roberto Empijei Clapis @empijei.bsky.social · 30/03/2026
I'm officially looking around, if anybody needs a Go software engineer with a very strong background in web security lmk. I also know a fair share of frontend dev and was a SWE/SE for Google and Microsoft. I'm looking for security-sensitive dev projects and security reviews.
1117
Reposted by Daniel Martí
Quim Muntal @qmuntal.bsky.social · 27/03/2026
Compiler nerd joy: making some #golang switch statements ~2.5x faster ⚡ go.dev/cl/756340
go.dev
Gerrit Code Review
1242
Reposted by Daniel Martí
Dario Castañé 🏴‍☠️ @dario.cat · 27/03/2026
Seen in the fediverse: If you're learning programming, apply to @igalia.com program and get paid to work on open source. 💰 Fully paid grant 📆 450 hours of work with mentor from June 📍Global remote 🎓 Open to students or self-directed learners 🚨 Until April 3rd! www.igalia.com/coding-exper...
igalia.com
Igalia Coding Experience | Igalia - Open Source Consultancy and Development
Igalia is an open source consulting firm specialised in the development of innovative projects and solutions. Our engineers have expertise in a wide range of technological areas, including browsers an...
12215
Daniel Martí @handle.invalid · 26/03/2026
I keep finding Semantic Line Breaks really useful for doc comments and markdown documentation - it really makes reading the plaintext so much nicer and shouldn't affect the rendered text in any way.
sembr.org
Semantic Line Breaks
When writing text with a compatible markup language, add a line break after each substantial unit of thought.
190
Daniel Martí @handle.invalid · 24/03/2026
Come find us at our booth tomorrow!
080
Reposted by Daniel Martí
Roger Peppe @rog.bsky.social · 20/03/2026
1/ I've just published three orthogonal but related CUE proposals. #cuelang 🧵
141
Daniel Martí @handle.invalid · 18/03/2026
070
Reposted by Daniel Martí
Alan Donovan @adonovan.bsky.social · 11/03/2026
Find out how the source-level inliner in Go 1.26 can help you with API migrations. go.dev/blog/inliner
go.dev
//go:fix inline and the source-level inliner - The Go Programming Language
How Go 1.26's source-level inliner works, and how it can help you with self-service API migrations.
15513
Daniel Martí @handle.invalid · 09/03/2026
I've just released a new version of the "sh" #golang module, including initial Zsh support in shfmt, as well as many improvements and fixes to the parser and interpreter 🎉
github.com
Release v3.13.0 · mvdan/sh
This release introduces support for Zsh in the parser and formatter, which was tracked in issue #120 alongside the label zsh . While support is not complete, it should be far enough for many u...
0195
Reposted by Daniel Martí
CUE @cuelang.org · 03/03/2026
📣 We have released #cuelang v0.16.0 - introducing an experiment with `try` and `else`, big performance gains, lots of LSP work, and much more! 🎉
github.com
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...
051
Daniel Martí @handle.invalid · 02/03/2026
Finally! No more "dirty" #golang builds because you have untracked files laying around which don't affect the build at all :)
github.com
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 ...
0163
Reposted by Daniel Martí
Go @golang.org · 27/02/2026
“Allocating on the Stack” by Keith Randall — go.dev/blog/allocation-optimizations #golang
1447
Reposted by Daniel Martí
Go @golang.org · 17/02/2026
“Using go fix to modernize Go code” by Alan Donovan — go.dev/blog/gofix #golang
06122
Daniel Martí @handle.invalid · 01/02/2026
Front row seats to @kakkoyun.me's talk #FOSDEM
Two speakers at FOSDEM on stage
0111
Daniel Martí @handle.invalid · 31/01/2026
I'm at #FOSDEM all weekend! Ping me to talk #cuelang or #golang :)
2110
Daniel Martí @handle.invalid · 28/01/2026
This was really cool! Thanks @aendra.com and @davenash.com for organizing. And to @alex.bsky.team for fielding my questions!
150
Daniel Martí @handle.invalid · 28/01/2026
@rog.bsky.social this sounds perfect for testing servers locally, especially with synctest 😊 github.com/golang/go/is...
github.com
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...
1203
Reposted by Daniel Martí
CUE @cuelang.org · 28/01/2026
📣 We have just released #cuelang v0.16.0-alpha.1 - packed with big performance gains, lots of LSP work, and many other improvements 🎉
github.com
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...
051
Reposted by Daniel Martí
ATProto London • Bluesky social events in London, UK @atproto.london · 28/01/2026
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!
1173
Daniel Martí @handle.invalid · 26/01/2026
Type inferred composite literals in #golang might happen after all 👀
github.com
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...
0170
Daniel Martí @handle.invalid · 23/01/2026
Interesting expansion of generics in #golang 👀
github.com
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...
3368
Daniel Martí @handle.invalid · 22/01/2026
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.
1100
Daniel Martí @handle.invalid · 21/01/2026
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
0142
Reposted by Daniel Martí
thepudds @thepudds.bsky.social · 16/01/2026
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
0143
Reposted by Daniel Martí
Jay Conrod @jayconrod.com · 15/01/2026
New blog post, with a perhaps mildly unpopular opinion: jayconrod.com/posts/133/in...
jayconrod.com
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...
4317
Reposted by Daniel Martí
Unusual Whales @unusualwhales.bsky.social · 11/01/2026
BREAKING: The UK Government is working with Canada and Australia to launch a coordinated ban on X, per the Telegraph
651186793060
Reposted by Daniel Martí
Jake Bailey @jakebailey.dev · 07/01/2026
My GopherCon talk was just posted!
youtu.be
GopherCon 2025: Porting the TypeScript Compiler to Go for a 10x Speedup V2 - Jake Bailey
YouTube video by Gopher Academy
27819