Skip to content
0:00 / 0:00

#jvm#scala#memorymodel

Journey to the Centre of the JVM — Daniel Spiewak

ChariotSolutions

9.3K subscribers • 10 videos on Hallway

YouTube
  • Recommended by 2 people: 1 on Lobsters and 1 in engineering communities.
  • Presented by Daniel Spiewak

Advanced. Deep dive for people who know the field.

14K views5 years ago2 recommendations

Systems programmingHardwareOperating systemsConcurrency and parallelismCPUs and computer architecture

Daniel Spiewak shares a mind-bending bug hunt involving CPU architecture, memory models, and JVM intrinsics through high-level functional abstractions.

What do you do when your quest for power leads you to implementations which are not just platform-but processor- and even architecture-version-specific in nature? How do you even start tracking down a bug in a Scala-based implementation which is not only nondeterministic, but only manifests on certain hardware? In this talk, we will dive into the wild and ill-understood world of CPU architecture, memory models, and JVM intrinsics (all through the lens of very high-level purely functional abstractions!) as we examine the story of the most convoluted and mind-bending bug hunt of my entire career. -------------------------------------------- Philly Emerging Technologies for the Enterprise (ETE) is hosted yearly by Chariot Solutions. You can visit our website at chariotsolutions.com/ We're hiring! Come work with our talented team of developers: visit our careers page for open positions, interview process, benefits, and more. chariotsolutions.com/careers/?utm_source=youtube&utm_medium=…

Why it's here

2 people recommend this

What people say. Highly recommended as a fascinating deep dive into JVM internals, CPU memory models, and low-level concurrency bugs.

u/Sunscratchin r/scala • Recommends

Journey to the Centre of the JVM — Daniel Spiewak

agent281on Lobsters • Recommends

Journey to the Centre of the JVM (2021)

u/BalmungSanin r/scala • Mentions

On “Advances In The ZIO 2.0 Scheduler”

> But technical comparisons like these are good for everyone. _"Technical comparisons"_ like these are not good for anyone, rather technical comparisons like this one are very helpful for everyone for multiple reasons like the level of details, showing chases where each of the options was faster and explaining why that was the case; but most importantly by being clear since the very beginning that, in the end, those things are meaningless in the large and that you should always do your own benchmark. > If there is indeed some bug in Cats Effect then fix it In progress: https://github.com/typelevel/cats-effect/issues/2263 > and create a blog post showing how it addresses the concerns, ta…