Oracle unveils Project Detroit for faster Java interop with JavaScript and Python 3d ago

Oracle has introduced Project Detroit, a new OpenJDK initiative aimed at significantly improving the interoperability between Java, JavaScript, and Python. This project diverges from previous reimplementation approaches by embedding the V8 (for JavaScript) and CPython runtimes directly within the Java Virtual Machine (JVM) process. This strategy aims to overcome the challenges of edge cases and ecosystem compatibility inherent in separate implementations, promising enhanced performance and a more robust security model by isolating heaps. Bernard Traversat, VP of software development, highlighted the FFM API in Java 22 as a foundational element enabling these "very thin layers" for seamless inter-language calls. Project Detroit is slated for presentation at JavaOne in Redwood City, California, with JavaScript and Python as initial targets, and plans for future language expansion.





















