Erlang and Java - a Happy Marriage
summary
A library called JavaErlang connects Erlang and Java by building on jinterface, using Java reflection to avoid precompilation and Javassist to generate proxy classes so Erlang can pass real Java object references. It implements automatic cross-language garbage collection via Erlang NIFs, is practical for testing and driving Java libs like Selenium and JSON tools, and runs in production for the uploader’s use; single calls measure about 800 µs / 200 µs (single vs batched) so it works but is not for ultra-low‑latency cases.
AI-written summary · about
chapters (15)
- 0:00Start
- 0:18What Goes into a Happy Marriage
- 3:05Selenium Directly from Java
- 8:18Design Goals
- 8:50Java Reflection
- 13:09Constructors
- 16:32Api for the Java Module
- 22:19Garbage Collection
- 30:29Erlang Implementation
- 31:29Get Source
- 32:30Limitations
- 32:55Performance
- 36:07Automatic Cross-Language Garbage Collection
- 36:52Future
- 40:07Is It Ready for Production








