~/talk

Python and the JVM - A Love Story

Talkat PyCon US 2026 · 2026-05-13..05-19· [python]
links:none on file
slides:none on file

Claims that the JVM gives 10× faster runtime for some workloads and that Py4J lets Python call JVM objects via a Py4J gateway server. Shows Scala code exposing an entry-point object, then a Python FastAPI that submits ad hoc Spark jobs to an on-demand Spark simulator backed by real Spark clusters. Demonstrates running this in production at Hunters, explains classpath and Scala module quirks, and shows the remote-client option where Python stays local and heavy Spark runs on a powerful JVM server.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Combine Python and JVM
  3. 4:41Setting up Py4J for JVM-Python communication
  4. 9:02Py4J bridging runtimes
  5. 11:28Apache Spark use case
  6. 18:14Expose JVM objects
  7. 20:41Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.