~/talk

Generating Java Interfaces for Accessing Foreign Objects in GraalVM (Work in Prog...

Talkat MPLR 2023 · on Sunday, 2023-10-22· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
slides:none on file

A tool that analyzes foreign-language code and produces usable Java interfaces for GraalVM interop, using the mypy API type extractor to pull function, field and inheritance metadata and mapping unannotated types to java.lang.Object. It renames reserved identifiers, generates Java factory functions for Python constructors instead of real constructors, implements Python multiple inheritance as Java interfaces, handles unions with a wrapper, and has working prototypes for TypeScript and WebAssembly.

AI-written summary · about

  1. 0:00Introduction
  2. 0:26What is GraalVM
  3. 1:08Java and Python interaction
  4. 2:16Generic foreign object access
  5. 2:59Extracting Python metadata
  6. 4:03Generating Java interfaces
  7. 5:09Python naming issues
  8. 6:18Python inheritance and Java
  9. 7:26Type transformations challenges
  10. 8:33Future work and multi-language
  11. 8:58Q&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.