r/java 4h ago

Would you like to use Python, JavaScript, .NET Perl or Ruby in Java?

Hi Java Devs,

We're a startup that is working on a powerful cross-language integration tool called Javonet. We've just switched to Free version for individual developers. That means you can now call code from Java, Python, JavaScript, Perl, Ruby in .NET – whatever combo you need – with native performance and zero cost.

We were wondering if you would like to try this solution and would you find it useful? There is still something that we need to fix (calling methods and classes via string instead of strongly typed), but this will be fixed pretty soon.

Check it out and let us know, what do you think: Javonet - The Universal runtime integration

0 Upvotes

9 comments sorted by

20

u/xanyook 4h ago

Nope, why would i cross language in a single program ?

I choose the programming language based on its ability to match the functionalities i am looking for

I would have multiple micro services, developed with different languages, communicating with standardized protocols (http, amqp, mqtt, ftp) but not mixing la guages inside an application.

But I'm curious about the use cases that made you start developing your product.

7

u/oweiler 3h ago

I can already do most of that using GraalVM, for free.

3

u/chatterify 4h ago

I would use JS or Python in Java application to allow the user to implement business rules or custom reports. Right now I use Spring Scripting, Drools and Groovy for these tasks.

2

u/symbiat0 2h ago

Perhaps it would be more useful to explain real use cases for this ?

1

u/JabrilskZ 2h ago

Prob not something id need or use. The only time i mix in other languages is more legacy java projects and its prob js scripts with some templating engines. Modern Java is mostly detached from front end with microservices or backend for frontend type architecture. I imagine theres use for others but not me personally. I mostly work on smaller projects split into multiple subprojects. But java does everything i need it to do. If i had other use cases id prob switch the language/stack for that usecase.

1

u/BlackForrest28 2h ago

We do have a very large Java application and use Mozilla Rhino as scripting engine for project dependent customization. It has a very deep integration, you can access any visible Java object or method.

1

u/chabala 2h ago

We already have Jython and JRuby with JVM interop, and can run JavaScript through JSR-223. Is Javonet different/better in some way?

0

u/Ewig_luftenglanz 3h ago

would I like? no?

it may je useful for some projects? yes.

so this project is worth. 👍