← 输入框|github.com|刷新
Skip to content

Project Detroit - adding CPython to the Java VM #417

Open

Description

Activity

  1. Stewori commented on Mar 17, 2026

    @Stewori
    Member

    Sounds like they aim to rewrite JEP https://github.com/ninia/jep. I recommend to avoid giving too much on promises. We can take a look when Oracle delivers.

  2. Stewori commented on Mar 17, 2026

    @Stewori
    Member

    Back in 2015, there were great promises for GraalPython, they called it TrufflePython back then. They wanted to compile Python code, Java code, C from native extensions (via TruffleC, later via sulong) all into seamlessly compatible GraalVM bytecode. Modern GraalPython is an interpreter again, basically a faster CPython. It does not even compile Python code to Java bytecode. IBM had similar ideas btw, but the project never produced anything publicly available (AFAIK, correct me if I'm wrong).
    Luckily, Jython has no paying custumers it can loose or has to satisfy. In that sense, there is no competition. They do their thing (or at least announce so) and we do ours.

    In the article you linked, however, it is interesting that they finally recognize it's swimming against the stream (which is also Jython's problem), right now when one would expect AI could provide the heavy lifting for this problem.

  3. wfouche commented on Mar 17, 2026

    @wfouche
    MemberAuthor

    It's a lot of work to accurately re-implement CPython, so I agree that from a JVM perspective it makes sence to just embed CPython inside the JVM. Project Detroit is an active OpenJDK project. We can track its progress here:

  4. ohumbel commented on Mar 18, 2026

    @ohumbel
    Contributor

    The naming of the .sh File is interesting: https://github.com/openjdk/detroit-python/blob/master/jpython.sh

    Reminds me of our very beginnings...

  5. wfouche commented on Mar 18, 2026

    @wfouche
    MemberAuthor

    @ohumbel , JPython yes, brings back positive memories of the early days of Python in Java. I wrote a fairly complex database analysis and schema upgrade tool in JPython.

  6. jeff5 commented on Mar 31, 2026

    @jeff5
    Member

    @ohumbel , JPython yes, brings back positive memories of the early days of Python in Java. I wrote a fairly complex database analysis and schema upgrade tool in JPython.

    Do you remember why we changed the name? It always seemed more rational to me. (And does the PSF still own it?)

    It's a lot of work to accurately re-implement CPython

    Tell me about it! If they wanted to do it properly, they (their LLM) could read our code.

  7. wfouche commented on Apr 6, 2026

    @wfouche
    MemberAuthor

    Do you remember why we changed the name? It always seemed more rational to me. (And does the PSF still own it?)

    The name changed with version 2.0. JPython 1.x became Jython 2.0

    And does the PSF still own it?

    I really do not know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions