The good thing about spending your Friday afternoon pulling your hair troubleshooting a bug, is that it makes for a nice blog article afterwardsβ¦
gaultier.github.io/blog/subtle_...
#bug #golang
@pgaultier.bsky.social
The good thing about spending your Friday afternoon pulling your hair troubleshooting a bug, is that it makes for a nice blog article afterwardsβ¦
gaultier.github.io/blog/subtle_...
#bug #golang
Your article on βdeferβ was a great read!
06.08.2025 15:50 β π 2 π 0 π¬ 0 π 0Thank you for making C better !
I am really looking forward personally to βdeferβ being standardized.
I joined the Go team just after exploiting a carry bug in a Go assembly core, and I've been looking for ways to prevent the next one ever since.
This year's attempt is very promising: mutation testing swapping e.g. ADC β ADD, CMOV β MOV, etc. to provide test coverage for constant time assembly.
Me: wow, my new work got me the new M4 MacBook Pro with 48 GB of RAM, every build is going to be instant!
npm run build: Worker terminated due to reaching memory limit: JS heap out of memory.
Tim Apple giveth, JavaScript taketh away
i hope to become the #1 RSS influencer
10.11.2024 19:27 β π 227 π 9 π¬ 5 π 0Modern webdev is so much. I'm installing so many packages and gems and I'm completely unsure of what is doing how and where.
One day I'll have to get used to this stuff. It's very different from Systems Engineering.
Also Node is just a C++ program using libuv so experience with either can help dtracing using usdt probes.
I seem to remember years ago βjstack()β in dtrace showed the js call stack, but it seems this does not work anymore (or I did not yet find a way).
Today I wanted to dtrace a nodejs application at work but then I discovered that nodejs removed dtrace support some time ago (static probes). Bummer.
Still can do a lot just dtrace-ing system calls⦠but still, unfortunate.
Reminds me of the talk βplatform as a reflection of valuesβ¦
... Well. I got a paper number, despite thinking I'd just hold onto it. No wording but I think it's about as complete as it can be.
thephd.dev/_vendor/futu...
Me, after 10 years of coercing various crazy C & C++ build systems and mixed language codebases to work everywhere even on old unsupported BSDs: Unlimited power! I can do anything !
Me after 2 weeks of having to work with npm and the JavaScript world: Iβm in danger.
Ever wondered if itβs possible to use DTrace on a Go program? Turns out itβs super easy, barely an inconvenience!
gaultier.github.io/blog/an_opti...
#golang #dtrace #optimization #debugging
Interesting read, thank you!
But I kept thinking: if the bulk of the work for the compiler is asynchronous functions, and the expected traffic is small, would it be worth it to try a rust http server that uses a thread-per-process model, meaning no async?
Spent the last ~month trying to figure out why compiling my website took so long. Decided to turn it into a blog post :)
sharnoff.io/blog/why-rus...
A subtle data race in Go: gaultier.github.io/blog/a_subtl...
#golang #data-race
What should your mutexes be named?
gaultier.github.io/blog/what_sh...
#programming #golang #structural-search #awk
I recently had the honor of interviewing Zenβs chief architect Mike Clark! I tried to fit in as many microarchitecture questions as I could, including x64 vs ARM ISA power efficiency, 4k vs larger page sizes, 64-byte cache lines, scatter/gather and more:
www.computerenhance.com/p/an-intervi...
New day, new blog article: gaultier.github.io/blog/build-p...
#golang #pie #security
New blog article: gaultier.github.io/blog/tip_of_...
#bpftrace #dtrace #golang #c
How itβs going: due to increasing cloud cost, the new company policy is to have every employee get permission and justify it in writing before creating a new VM in Azure. Even if itβs a temporary, small instance for a few hours.
19.02.2025 21:44 β π 1 π 0 π¬ 0 π 0How it started: Stop asking for permission! Instead of procuring a machine and getting it weeks later, you get it in seconds, all by yourself! Everyone is in the organisation is empowered!
19.02.2025 21:44 β π 0 π 0 π¬ 1 π 0[1/2] The cloud, how it started vs how it's going.
(based on a recent discussion with colleagues)
β¨#cloud #datacenter
New day, new blog article!
Making my static blog generator 11 times faster:
gaultier.github.io/blog/making_...
#programming #git #optimization #odin
New week, new blog article:
Making my debug build run 100x faster so that it is finally usable:
gaultier.github.io/blog/making_...
#programming #optimization #simd #c
New blog post: gaultier.github.io/blog/address...
#golang #programming
True! The match pattern really shines when doing deep destructuring of nested types, that's where it would carry its weight, and not here in this minimal snippet.
11.02.2025 16:45 β π 0 π 0 π¬ 0 π 0New blog post: Tip of the day #4: Type annotations on Rust match patterns: gaultier.github.io/blog/tip_of_...
The Rust compiler be like: coffee or tea? Wrong! It's tea.
New blog article: gaultier.github.io/blog/the_mis... #programming
03.02.2025 06:09 β π 1 π 0 π¬ 0 π 0Why Gelsinger was wrong for Intel
bcantrill.dtrace.org/2024/12/08/w...