Integrating Scala Java with your Python code
summary
Claims an easy interop technique and a new library spylon that lets Python talk to the JVM without full rewrites, using py4j and standard JVM tooling. Demonstrations compile Scala via SBT, start a JVM subprocess, call java.util.Random and Scala singletons, convert lists/maps, and add notebook progress bars for Apache Spark. The code runs in the demo, conversions and RPC proxies work, and the project is young (≈2 months) but functional.
AI-written summary · about
chapters (10)
- 0:00Scala Java Python integration
- 1:27Python with Java on JVM
- 3:12Py4J for Java integration
- 9:32Scala in Python workflows
- 13:50SpyOn for Scala Python
- 18:27Scala code from Python
- 21:58Serialization trade-offs
- 25:41Spark with Python tooling
- 29:33Future directions
- 31:21Q&A
related talks
27mPython and the JVM - A Love Story
31mBringing the Jewels of the Python World to Scala with Spark
31mAdding Python support to Scala tooling
46mIntroduction to Scala
47mSupercharge your Java Applications with Python!
56mJourney from Java to Python: Two Worlds, One JEP
41mKeynote: Making the Big Data ecosystem work together with Python
46mJulia, Python, R & Scala – A Comparison From Experience
