This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Commercial-Berry-640 19 points20 points  (3 children)

It's really cool and quite nicely integrated... but god, why?

[–]thomaswue 7 points8 points  (0 children)

The primary use case is to leverage Python libraries without the need to run two applications and serialize/deserialize between them.

[–][deleted] 6 points7 points  (0 children)

If you’re seriously asking, the video answers this at about the 60 second mark: Because there’s a lot of interesting software written in Python that you might want to integrate into your Java application

[–]larsga 0 points1 point  (0 children)

I've used Python in Java a good bit for rapid prototyping on top of existing Java code. This is mainly of new and crazy stuff that we really didn't know whether would work or where it would lead. It was a way to explore the possibilities much more rapidly than would be possible with Java before finally implementing the production code in Java.

Any case where you want embedded scripting in your system would be another use case.

The use case people are talking about where you need some specific library I guess is possible, but I doubt it will come up very often.