r/ProgrammerHumor • • Oct 15 '18

A Python programmer attempting Java

Post image
516 Upvotes

78 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Oct 15 '18

[deleted] — view deleted comment

2

u/Nebuli2 Oct 15 '18

Interop with Java?

2

u/gotoariel Oct 16 '18 edited Oct 16 '18

You can for example run Python code on a Spark cluster and the JVM can reference your Python objects in memory, which is nice for distributed computing.

The Python objects have to be cached using serialization though (pickle) because Java itself doesn't know what to do with them.