~/talk

Fun with Melding Java and Python

Talkat PyCon India 2020 · 2020-10-02..10-05· [java, python]
links:none on file
slides:none on file

pgrmi (Python Java Remote Method Invocation) lets Python create shim objects for live Java objects and call methods both ways, using pgrmi (Python Java Remote Method Invocation) to instantiate Java classes, boxing/unboxing primitives, and mapping exceptions to Python. Demos use numpy-based type hints to resolve overloaded constructors, show an eight-level computeIfAbsent callback chain crossing Java↔Python threads, successful proxying of a proxy Runnable into Java thread, arraylist mixing types, pickle-based copy-by-value, and live-attach debugging; open source release is planned.

AI-written summary · about

  1. 0:00Introduction to PGRMI
  2. 1:55Working with Java objects
  3. 4:57Type system and boxing
  4. 8:28Data conversion and arrays
  5. 10:48Overloading and collections
  6. 12:24Exceptions and callbacks
  7. 14:46Duck typing and scripts
  8. 17:12Q&A and closing remarks
~/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.