@pgaultier.bsky.social
📤 83
📥 23
📝 42
The production bug that made me care about undefined behavior. New blog article fresh out of the oven.
gaultier.github.io/blog/the_pro...
#cpp
#bug
loading . . .
The production bug that made me care about undefined behavior
https://gaultier.github.io/blog/the_production_bug_that_made_me_care_about_undefined_behavior.html
7 days ago
0
1
0
New blog article! Detecting goroutine leaks with DTrace:
gaultier.github.io/blog/detecti...
#golang
#dtrace
loading . . .
Detecting goroutine leaks with DTrace
https://gaultier.github.io/blog/detecting_goroutine_leaks_with_dtrace.html
12 days ago
0
2
0
Rant: if you are designing a programming language from the ground up and the only solution you have for data races is “use the runtime race detector”, then you have not spent enough time in the trenches suffering from data corruption and rare, incoherent errors due to data races.
19 days ago
1
0
0
reposted by
rain 🌦️
about 1 month ago
New post: a defense of lock poisoning in Rust. Followup to recent discussion: decided to write about lock poisoning, looking at the arguments on each side, and informed by our experience at
@oxide.computer
dealing with the parallel problem of unexpected async cancellations Please give it a read!
loading . . .
In defense of lock poisoning in Rust · sunshowers
It's worth retaining one of multithreaded Rust's most valuable features.
https://sunshowers.io/posts/on-poisoning/
7
183
43
Tracking and fixing many Go data races lately, I am getting a new found understanding and empathy for all these Mozilla developers who jumped on Rust the moment it was halfway usable. Like a lost, thirsty traveler in the desert seeing an oasis from afar.
#golang
#rust
about 1 month ago
0
1
0
A million ways to die from a data race in Go. New blog post. Well it’s not quite a million, but still.
gaultier.github.io/blog/a_milli...
#golang
loading . . .
A million ways to die from a data race in Go
https://gaultier.github.io/blog/a_million_ways_to_data_race_in_go.html
about 1 month ago
1
4
0
After many years of writing Go professionally and tracking very varied data races, I am slowly becoming convinced that if you care about data races, you should not use goroutines. At all.
#golang
about 1 month ago
2
0
0
“Hell is other people”. Sartres clearly did not have to support 4 different SQL databases in the same codebase at scale. Lucky bastard.
3 months ago
0
0
0
More DTrace, more Go, more blog articles!
gaultier.github.io/blog/how_to_...
#dtrace
#golang
#bug
loading . . .
How to reproduce and fix an I/O data race with DTrace
https://gaultier.github.io/blog/how_to_reproduce_and_fix_an_io_data_race_with_dtrace.html
3 months ago
0
0
0
And another blog article, once again about Go and DTrace:
gaultier.github.io/blog/go_dtra...
#dtrace
#golang
loading . . .
See all network traffic in a Go program, even when encrypted and compressed
https://gaultier.github.io/blog/go_dtrace_see_all_network_traffic.html
3 months ago
0
0
0
I just wrote another Go + DTrace blog article! This time: Are my SQL files read at build time or run time?
gaultier.github.io/blog/are_my_...
#golang
#dtrace
loading . . .
Are my SQL files read at build time or run time?
https://gaultier.github.io/blog/are_my_sql_files_read_at_build_time_or_run_time.html
4 months ago
0
2
0
Go, SQL, and DTrace: a marriage made in heaven? New blog post!
gaultier.github.io/blog/observe...
#golang
#dtrace
#sql
loading . . .
Observe live SQL queries in Go with DTrace
https://gaultier.github.io/blog/observe_sql_queries_in_go_with_dtrace.html
4 months ago
1
2
1
Short article today!
gaultier.github.io/blog/an_amus...
#golang
loading . . .
An amusing blind spot in Go's static analysis
https://gaultier.github.io/blog/an_amusing_go_static_analysis_blindspot.html
4 months ago
0
0
0
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
loading . . .
A subtle bug with Go's errgroup
https://gaultier.github.io/blog/subtle_bug_with_go_errgroup.html
5 months ago
0
2
0
reposted by
Filippo Valsorda
5 months ago
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.
loading . . .
Go Assembly Mutation Testing
Test coverage of delicate Go cryptographic assembly through a new mutation testing framework.
https://words.filippo.io/assembly-mutation/
2
38
4
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
5 months ago
0
3
1
reposted by
Molly White
about 1 year ago
i hope to become the #1 RSS influencer
4
224
9
reposted by
Björkus "No time_t to Die" Dorkus
5 months ago
Modern 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.
2
11
1
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…
5 months ago
1
0
0
reposted by
Björkus "No time_t to Die" Dorkus
5 months ago
... 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...
loading . . .
N3657: Functions with Data - Closures in C (A Comprehensive Proposal Overviewing Blocks, Nested Functions, and Lambdas)
https://thephd.dev/_vendor/future_cxx/papers/C%20-%20Functions%20with%20Data%20-%20Closures%20in%20C.html
2
25
7
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.
5 months ago
1
1
0
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
loading . . .
An optimization and debugging story with Go and DTrace
https://gaultier.github.io/blog/an_optimization_and_debugging_story_go_dtrace.html
6 months ago
1
32
8
reposted by
sharnoff
6 months ago
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...
loading . . .
"Why is the Rust compiler so slow?"
https://sharnoff.io/blog/why-rust-compiler-slow
4
46
14
A subtle data race in Go:
gaultier.github.io/blog/a_subtl...
#golang
#data-race
loading . . .
A subtle data race in Go
https://gaultier.github.io/blog/a_subtle_data_race_in_go.html
7 months ago
0
2
0
What should your mutexes be named?
gaultier.github.io/blog/what_sh...
#programming
#golang
#structural-search
#awk
loading . . .
What should your mutexes be named?
https://gaultier.github.io/blog/what_should_your_mutexes_be_named.html
7 months ago
0
1
1
reposted by
Casey Muratori
10 months ago
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...
loading . . .
An Interview with Zen Chief Architect Mike Clark
Zen is one of the most important microarchitectures in the history of the x86 ecosystem.
https://www.computerenhance.com/p/an-interview-with-zen-chief-architect
5
55
9
New day, new blog article:
gaultier.github.io/blog/build-p...
#golang
#pie
#security
loading . . .
Build PIE executables in Go: I got nerd-sniped
https://gaultier.github.io/blog/build-pie-executables-with-pie.html
10 months ago
0
0
0
New blog article:
gaultier.github.io/blog/tip_of_...
#bpftrace
#dtrace
#golang
#c
loading . . .
Tip of the day #6: Use Bpftrace to estimate how much memory an in-memory cache will use
https://gaultier.github.io/blog/tip_of_the_day_6.html
10 months ago
0
0
0
[1/2] The cloud, how it started vs how it's going. (based on a recent discussion with colleagues) 

#cloud
#datacenter
11 months ago
1
0
0
New day, new blog article! Making my static blog generator 11 times faster:
gaultier.github.io/blog/making_...
#programming
#git
#optimization
#odin
loading . . .
Making my static blog generator 11 times faster
https://gaultier.github.io/blog/making_my_static_blog_generator_11_times_faster.html
11 months ago
0
0
0
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
loading . . .
Making my debug build run 100x faster so that it is finally usable
https://gaultier.github.io/blog/making_my_debug_build_run_100_times_faster.html
11 months ago
0
1
0
New blog post:
gaultier.github.io/blog/address...
#golang
#programming
loading . . .
Addressing CGO pains, one at a time
https://gaultier.github.io/blog/addressing_cgo_pains_one_at_a_time.html
11 months ago
0
0
0
New 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.
loading . . .
Tip of the day #4: Type annotations on Rust match patterns
https://gaultier.github.io/blog/tip_of_the_day_4.html
11 months ago
3
1
0
New blog article:
gaultier.github.io/blog/the_mis...
#programming
loading . . .
The missing cross-platform OS API for timers
https://gaultier.github.io/blog/the_missing_cross_platform_os_api_for_timers.html
11 months ago
0
1
0
reposted by
Bryan Cantrill
about 1 year ago
Why Gelsinger was wrong for Intel
bcantrill.dtrace.org/2024/12/08/w...
loading . . .
Why Gelsinger was wrong for Intel
By all accounts, Pat Gelsinger is affable, technically sharp, hard-working, and decent. Those who have worked for him praise him as a singularly good manager. In January 2021, when Gelsinger was abrup...
https://bcantrill.dtrace.org/2024/12/08/why-gelsinger-was-wrong-for-intel/
10
101
27
you reached the end!!
feeds!
log in