@switchology Profile picture

Doug

@switchology

Software engineer interested in high performance Java, Rust, distributed latency sensitive realtime systems... coffee and penguins @[email protected]

Joined January 2009
Similar User
Gil Tene photo

@giltene

Jean-Philippe Bempel @jpbempel.bsky.social photo

@jpbempel

Nitsan

@nitsanw

Azul photo

@AzulSystems

Todd L. Montgomery photo

@toddlmontgomery

Roman Leventov photo

@leventov

Chronicle Software photo

@Chronicle_SW

Simon Brown photo

@simonbrown

Andres Almiray photo

@aalmiray

Heinz Kabutz 🏝 🇬🇷 🇿🇦 ☕️ photo

@heinzkabutz

Francesco Nigro photo

@forked_franz

Datomic photo

@datomic_team

Peter Veentjer photo

@PeterVeentjer

Martin Thompson photo

@mjpt777

Criteo Engineering photo

@CriteoEng

Doug Reposted

🦀📕 All chapters of my book, Rust Atomics and Locks, are now freely available online: marabos.nl/atomics/ Enjoy! ✨


Doug Reposted

⚛️📋 I made an overview of the ARMv8 and x86-64 machine instructions for all the common atomic operations:

m_ou_se's tweet image. ⚛️📋 I made an overview of the ARMv8 and x86-64 machine instructions for all the common atomic operations:

Doug Reposted

🦀 New (cursed) Rust proc macro! This one expands to whatever `use` statements you need to make the rest of the code compile. 🪄 😄

m_ou_se's tweet image. 🦀 New (cursed) Rust proc macro! This one expands to whatever `use` statements you need to make the rest of the code compile. 🪄 😄
m_ou_se's tweet image. 🦀 New (cursed) Rust proc macro! This one expands to whatever `use` statements you need to make the rest of the code compile. 🪄 😄

Doug Reposted

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. ↓

TivadarDanka's tweet image. 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. ↓

Doug Reposted

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.


blog.codecentric.de/en/2014/02/35g… Old article but compressed oops can be a gotcha!


Doug Reposted

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.


Doug Reposted

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.


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/tt…


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!


Doug Reposted

Flame graphs are now also in IntelliJ, with integration with Java Flight Recorder and Async profiler blog.jetbrains.com/idea/2019/06/i…

brendangregg's tweet image. Flame graphs are now also in IntelliJ, with integration with Java Flight Recorder and Async profiler blog.jetbrains.com/idea/2019/06/i…

Doug Reposted

I reimplemented the attach API for HotSpot on POSIX and now I am trying to do the same for OpenJ9. Once completed, I want to do the same for Win32. This way, you can attach using any JVM and self-attach from the same process. Would love to get this out but my C is rusty. Thanks!

Alright, anybody who is (a) good at C, (b) decent at Java, (c) has a minute. Why does my Semaphore code not work: github.com/raphw/byte-bud… - compared to: github.com/eclipse/openj9…



ithare.com/infographics-o… 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/instr…


For anyone looking to compile JDK 11 or 12 hsdis (the hotspot disassembler) on Linux: gist.github.com/kay/3c7acff64c…


blog.acolyer.org/2019/05/24/zip… 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/papers…


Doug Reposted

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?



Tonight I have been mostly been revising 'strong' consistency models youtube.com/watch?v=D5iCl1… "Sequential Consistency versus Linearizability" by @martinkl


Doug Reposted

uops.info: Characterizing Latency, Throughput, and Port Usage of Instructions on Intel Microarchitectures arxiv.org/pdf/1810.04610… (PDF)


Doug Reposted

Celebrating their First Day of Trading @Anaplan rings the NYSE Opening Bell #ConnectedPlanning pscp.tv/w/bpCZODIyODE3…


Loading...

Something went wrong.


Something went wrong.