Doug (@switchology) header
Doug (@switchology) profile picture

Software engineer interested in high performance Java, Rust, distributed latency sensitive realtime systems... coffee and penguins @kaay@fosstodon.org

England
Joined January 2009
Photo by Doug (@switchology)Photo by Doug (@switchology)Photo by Doug (@switchology)Photo by Doug (@switchology)
Doug retweeted
🦀📕 All chapters of my book, Rust Atomics and Locks, are now freely available online: marabos.nl/atomics/ Enjoy! ✨
60
623
30
2,884
306,493
Doug retweeted
⚛️📋 I made an overview of the ARMv8 and x86-64 machine instructions for all the common atomic operations:
25
336
8
2,153
🦀 New (cursed) Rust proc macro! This one expands to whatever `use` statements you need to make the rest of the code compile. 🪄 😄
29
138
26
1,036
Entropy is not the easiest thing to understand. It is rumored to describe something about information and disorder, but it is unclear why. What do logarithms and sums have to do with the concept of information? Let me explain! ↓ A thread. ↓
32
611
55
2,980
Replying to @headius
I hope there will be a silver lining to the forced WFH where people and businesses find out that this is a viable way to reduce commuting (traffic/time waste/pollution) and improve diversity. IMO It doesn't need to work for everyone all of the time, to prove beneficial.
1
2
4
blog.codecentric.de/en/2014/… Old article but compressed oops can be a gotcha!
1
2
I hope this presentation will answer many questions about excessive memory usage of a Java process. How to find where large RSS comes from, how to monitor native memory consumption and how to profile off-heap allocations.
1
59
2
163
People fighting against "gender identity" on biological grounds need to get better hobbies. I don't care if you identify as a watermelon as long as you run tests before you submit your PR. – at Richfield, MN
3
6
57
Recently we were looking at why a process, whose parent exited and was reparented appears to run but crashes immediately after writing to stdout.. anyway I found this article on how the TTY driver works. I would thoroughly recommend it: linusakesson.net/programming…
3
One of the best things I've learnt professionally, that has been applied to my hobby projects, is ruthless scoping, followed by descoping, and more descoping until all that remains is the minimal effort necessary for a project!
2
Flame graphs are now also in IntelliJ, with integration with Java Flight Recorder and Async profiler blog.jetbrains.com/idea/2019…
52
3
123
ithare.com/infographics-oper… Great article on various classes of performance optimisation. A new one to me was bypass delays that come into affect when switching between int, floating point and vector arithmetic. Agner Fog has more info agner.org/optimize/instructi…
1
1
11
blog.acolyer.org/2019/05/24/… Interesting paper on an compression scheme for heap objects. There's a number of cool ideas in that paper and Hotpads are a new technology to me. Paper on Hotpads: people.csail.mit.edu/sanchez…
1
6
Forget your CS degree (but you already have, right?), read Code Complete NOW. You'll relearn bits of your degree if/when relevant, right now you need to skill up on the profession. Oh, and welcome to the shitshow!
What's one piece of advice you'd give to new coders?
4
17
uops.info: Characterizing Latency, Throughput, and Port Usage of Instructions on Intel Microarchitectures arxiv.org/pdf/1810.04610.pdf (PDF)
6
5
Celebrating their First Day of Trading @Anaplan rings the NYSE Opening Bell #ConnectedPlanning pscp.tv/w/bpCZODIyODE3NHwxbk…
2
40
8
60
Yes sir, my servers are UTC