# Java and the Next Generation of Programming Models

DevFeed: [Java and the Next Generation of Programming Models](<https://devfeed.tech/articles/java-and-the-next-generation-of-programming-models-122669.md>)

Original publisher: [Read original article](<https://inside.java/2026/11/08/devoxxbelgium-java-next-programming-models/>)

Author: Ana-Maria Mihalceanu

Published: 2026-11-08T00:00:00Z

Content type: article

Language: en

Sources: [Inside Java](<https://devfeed.tech/sources/inside-java.md>)

Topics: [Java](<https://devfeed.tech/topics/java.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Programming Languages / Compilers](<https://devfeed.tech/topics/programming-languages-compilers.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-models](<https://devfeed.tech/tags/ai-models.md>), [analyze](<https://devfeed.tech/tags/analyze.md>), [api](<https://devfeed.tech/tags/api.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [backends](<https://devfeed.tech/tags/backends.md>), [bridge](<https://devfeed.tech/tags/bridge.md>), [can](<https://devfeed.tech/tags/can.md>), [code](<https://devfeed.tech/tags/code.md>), [engines](<https://devfeed.tech/tags/engines.md>), [express](<https://devfeed.tech/tags/express.md>), [external](<https://devfeed.tech/tags/external.md>), [files](<https://devfeed.tech/tags/files.md>), [function](<https://devfeed.tech/tags/function.md>), [gap](<https://devfeed.tech/tags/gap.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [inference](<https://devfeed.tech/tags/inference.md>), [java](<https://devfeed.tech/tags/java.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [models](<https://devfeed.tech/tags/models.md>), [programming](<https://devfeed.tech/tags/programming.md>), [project-babylon](<https://devfeed.tech/tags/project-babylon.md>), [project-panama](<https://devfeed.tech/tags/project-panama.md>)

## AI overview

The session presents two ways to work with specialized runtimes and AI models from Java. For current inference work, it covers the Foreign Function and Memory API (FFM) and tools such as jextract to interact with runtimes outside the JVM. It then introduces Project Babylon's Code Reflection as a proposed path for expressing AI models as Java programs that can be analyzed, transformed, and lowered to inference engines and hardware accelerator backends, without external model files or glue code. The description frames these as present-day FFM-based inference and a future Code Reflection approach; it does not provide implementation details or performance results.

## Source excerpt

Modern software increasingly interacts with AI models, query languages, and other specialized programming models, forcing you to switch contexts, embed foreign code, or write verbose wrappers to bridge the gap. What if you could express logic from outside the JVM directly in Java? In this session, we start by looking at how Java enables you to safely interact with runtimes outside of the JVM using the Foreign Function and Memory API and tools like jextract. Then will push further with Project Babylon's code reflection: express AI models as Java programs that Babylon can analyze, transform and lower to inference engines, thus leveraging hardware accelerator backends while skipping external model files or the need to glue code.