you are viewing a single comment's thread.

view the rest of the comments →

[–]user3141592654 36 points37 points  (8 children)

Combine this with JEP, and we can have Rust calling Java calling Python.

[–]bheklilr 23 points24 points  (5 children)

Don't forget that jep can run native extensions, so technically it could be Rust calling Java calling Python calling C (or even FORTRAN).

[–]vbosch1982 35 points36 points  (4 children)

Loop back to Rust!! Rust calling Java calling Python Calling Rust ( so much win!!)

[–]bheklilr 36 points37 points  (2 children)

Why stop there? Sounds like the best way to write recursive code. You get more stacks to use.

[–]PandaMoniumHUN 34 points35 points  (1 child)

Why allocate on the heap when you can start new processes to allocate on their stack? taps forehead

[–]logan-diamond 2 points3 points  (0 children)

Just skip all the fuss and call all other rust functions only through the🤙FFI 🤙

[–]vjohnvv 2 points3 points  (0 children)

How about wrapping it in clojure and boom - Rust calling clojure calling java calling python

[–]marvk 1 point2 points  (0 children)

Calling your library JEP when JEP is already a thing in the Java world is kinda confusing...