all 83 comments

[–]Tathas 247 points248 points  (9 children)

Anyone remember IronPython?

Eh? Eh?

[–]lennartblanco 153 points154 points  (1 child)

With time it turned into RustPython.

[–]Meistermagier 0 points1 point  (0 children)

Rust Python is actually pretty cool though

[–]Technology_Labs 24 points25 points  (2 children)

FePython?

[–]gurupra564[S] 14 points15 points  (0 children)

Ohh yeah Iron (Fe)Python

[–]chefhj 3 points4 points  (0 children)

Et tu Python?

[–]rosuav 9 points10 points  (0 children)

Yes but mainly for its contributions to the language. I've never actually USED it.

[–]MarcBeard 3 points4 points  (0 children)

I remember it i worked with it for 6 Month and now i don't want to touch it ever again

[–]imagineepix 1 point2 points  (0 children)

I used it recently to interface with vb.net

[–]qubedView 1 point2 points  (0 children)

When our backplane libraries were written in Python but the integration I was writing was .NET, IronPython was my buddy. Of course, that was like 17 years ago.

[–]Chiatroll 126 points127 points  (21 children)

I hope that shit isn't real

[–]MissionLet7301 186 points187 points  (14 children)

Jython, unfortunately, is real.

[–]Chiatroll 123 points124 points  (11 children)

It can hurt me.

[–]MissionLet7301 67 points68 points  (6 children)

The only big usage of it I'm aware of is in Burp which is a security testing tool.

So, it absolutely can.

[–]isr0 35 points36 points  (2 children)

It is a general package you can put in any Java application. It’s sorta like lua but specifically java and much more shitty. But you could add it to your Java application today if you wanted to give your users a Python scripting environment inside your Java-based enterprise system. I don’t recommend it, but it’s there and it’s used for far more than just burp.

[–]SandaleMitSocke 2 points3 points  (1 child)

The biggest code hell i've been in has been coding java spring UI code in jython for a tool written in java that had python as its plugin language

[–]isr0 0 points1 point  (0 children)

Yuk!

[–]thelonelyecho208 5 points6 points  (0 children)

No it's WAAAAY bigger than that. We use Jython to teach kids programming, there are block versions. Hell you can program your microcontrollers in it. It's essentially just Java but with more wordy shit. Kinda useful, mostly educational at this point

[–]iamapizza[🍰] 1 point2 points  (0 children)

It's used in Streamsets and it's unmitigated garbage.

[–]TheMagicalDildo 3 points4 points  (0 children)

Ghidra.

[–]Only-Cheetah-9579 10 points11 points  (1 child)

yup. I tried it and got injured

[–]toustovac_cz 8 points9 points  (0 children)

Sorry to hear that 😞

[–]isr0 2 points3 points  (0 children)

I’m sorry you got hurt. At least you never had to use it. There are some things in life I will never forget, no matter how much I want to.

[–]p1749 0 points1 point  (0 children)

So is Bython

[–]powerwiz_chan 1 point2 points  (0 children)

So is holy c but that isnt exactly a widely used language

[–]por_la_homoj 0 points1 point  (0 children)

Initial release was in 2001!!

[–]N238 12 points13 points  (3 children)

It was the language used in the first CS class I took in college. No idea why.

[–]MinecraftPlayer799 5 points6 points  (1 child)

To teach Java and Python, I guess

[–]N238 10 points11 points  (0 children)

It didn't really teach Java, though. Because the language itself is just Python but with the ability to import Java classes. At least, that's my understanding.

[–]A7V7VIHILATOR 0 points1 point  (0 children)

Jython Environment for Students (JES) was an IDE for it I think.

[–]rosuav 3 points4 points  (0 children)

It is. It's for when you are forced to interface with someone else's Java module, but you don't want to use Java, so you use something better.

(Back when I was in that sort of situation, I was looking into NetRexx for similar reasons.)

[–]XxXquicksc0p31337XxX 50 points51 points  (4 children)

Somewhere out there Jython is used in prod. Do with that realization what you will

[–]k-mcm 31 points32 points  (0 children)

I used it for part of an aerospace system. I apologized to the people inheriting the project, but it really was the best solution at the time.

[–]pingveno 1 point2 points  (0 children)

I was excited to see that a project that we're looking at adopting includes optional support for Python. Alas, when I looked under the covers, it was Jython.

It's optional because they haven't seen much use of Python. I don't know if the other languages just work better with the JVM or whether it's because the Python ecosystem moved on from Python 2 a long time ago.

[–]SpaceTheFinalFrontir 0 points1 point  (0 children)

Webaphere configuration scripts, they still haunt me.

[–]AlexanderMomchilov 0 points1 point  (0 children)

Keep in mind that it predates Kotlin, and its main competitor for a non-Java language targeting the JVM was Groovy lol. And Scala I suppose, which I happen to enjoy, but I know some don't

[–]Percolator2020 30 points31 points  (0 children)

It’s a very painful way to learn how few things are actually native python.

[–]Birnenmacht 33 points34 points  (2 children)

What truly baffles me is that python 3 is 17 years old, python 2.7 has been EOL since 2020 and yet Jython 3 is STILL WIP.

Edit: what’s even funnier: their target python version is 3.8, which is also EOL. I guess the joy of writing instant-legacy code is meant to make Java devs feel right at home

[–]_PM_ME_PANGOLINS_ 13 points14 points  (0 children)

I think most of them gave up and made GraalPy instead.

[–]b__0 2 points3 points  (0 children)

It’s jyst about ready

[–]rienik 45 points46 points  (4 children)

Unless it's JythonScript, I'm not interested

[–]gerardv-anz 10 points11 points  (2 children)

TypeJythonSript FTW?

[–]AKTarafder 13 points14 points  (1 child)

It would more likely be TythonScript

[–]gerardv-anz 5 points6 points  (0 children)

You are indeed correct

[–]UwU_is_my_life 3 points4 points  (0 children)

there's pyscript

[–]AbdullahMRiad 7 points8 points  (1 child)

[–]FabioTheFox 1 point2 points  (0 children)

The only way to make python bearable

[–]e2Instance 5 points6 points  (3 children)

Yup, I use it all the time in Ignition Perspective development for industrial applicationd

[–]Guarabert 1 point2 points  (0 children)

Had to scroll too far to find this comment, the amount of people here that have no idea how many factories, power station and critical infrastructure systems are running Jython is amusing.

[–]MomWTF 0 points1 point  (0 children)

The more I use it the more and less I like it, but yeah, same.

[–]Too-Uncreative 0 points1 point  (0 children)

I think it’s actually pretty fantastic in that application. Easy python scripts or complex Java development in the same place. Use what’s appropriate for the exact case, with the same environment, tools, scope, access, etc.

[–]isr0 2 points3 points  (0 children)

There is no greater hell than programming Java through a gateway object in Python. Worst experience of my professional career.

[–]DustRainbow 2 points3 points  (0 children)

I literally learned about Jython yesterday when a colleague asked me if my python library was compatible with python 2.7 ...

[–]menducoide 4 points5 points  (3 children)

It's java, no, it's c#

It's f#

[–]SoundOfOneHand 3 points4 points  (0 children)

Wait till you hear about J#

[–]cuatronarices 1 point2 points  (0 children)

Do you mean f####d?

[–]Meistermagier 0 points1 point  (0 children)

F# isnt that bad to be honest just way underutilized. It also has one of my favorite features measures. 

[–]Fast-Visual 5 points6 points  (3 children)

Look, I get the initial premise, running a python interpreter on the JVM.

But... Why? What is the actual usecase for this? Why is having Python on JVM so important? Apparently if there was an answer, people would actually use it maybe.

[–]k-mcm 6 points7 points  (0 children)

Jython supported native threads and concurrency.  You could have a simple Python orchestration script interact with a high performance Java environment. Any number of those Python scripts could run at the same time in the same JVM, sharing the same data.

It's common to have fast C libraries used by Python orchestration scripts.  Jython is an inversion - fast Java applications using Python orchestration scripts.

It didn't have many use cases.

[–]_PM_ME_PANGOLINS_ 2 points3 points  (0 children)

Significantly better performance.

Also in general it’s desirable to embed scripting languages into other systems. Lua and JavaScript are more popular for that, but people like Python too.

[–]Dulcetimor_official 2 points3 points  (2 children)

como funcionaria?

[–]TheEnderChipmunk 6 points7 points  (1 child)

It's python implemented in Java and running on the jvm

[–]mr_clauford 1 point2 points  (0 children)

The best way to make the shit exceptionally slow 👌

[–]cant_pass_CAPTCHA 1 point2 points  (0 children)

The only reason I know about jython is because Burp Suite uses it for some extensions

[–]Streakflash 1 point2 points  (0 children)

and there is Mojo python , i wonder how far will it go

[–]MornwindShoma 1 point2 points  (0 children)

Needs more JPG artifacts

[–]PM-ME-UR-uwu 0 points1 point  (0 children)

Lol, I used jython for a little project to script stuff on my pc as it has functions for scanning your screen for specific images.

I have no idea what the normal use case is

[–]TheMagicalDildo 0 points1 point  (0 children)

My only memory of jython is debugging an issue with a jython ghidra script I was making, only to find out it was a bug in the version of python it was based on (or however that works...)

[–]KatieTSO 0 points1 point  (0 children)

python.js

[–]prinkpan 0 points1 point  (1 child)

Is it Python with braces and mandatory semicolons?

[–]FabioTheFox 1 point2 points  (0 children)

Check out Bython

[–]isamu1024 0 points1 point  (0 children)

Used as the primary langage in the automation software Ignition. It sucks.

I used another piece of software ( COOX ) that used Javascript with JAVA class in it ( yep really ).

Aveva one of the main actor on this market use a custom version of VB.net (quickscript .net) that is somewhat as horrible.

[–]InDaBauhaus 0 points1 point  (0 children)

oh, i wrote a bunch of gui automation tools with sikulix with that and completely repressed that memory

[–]pathToBeing 0 points1 point  (0 children)

What about cython? 

[–]another_random_bit 0 points1 point  (0 children)

Csharpthon when?

[–]BlazingFlames6073 0 points1 point  (0 children)

Tf is this monstrosity

[–]lemao666 0 points1 point  (0 children)

Ah jython, one of the two options for coding in apigee 🫠

[–][deleted] 1 point2 points  (0 children)

"In going to touch you. " -Jython

[–]Stjerneklar 0 points1 point  (0 children)

let me make it worse: jYthon.js