r/AskProgramming • • May 23 '26

Python or Java

im in my last year and figuring out which programming lang is for me but confused betn java and python i love both cause im comfortable with both but want to focus on one which one of them is best suited in future too.

things i know: python is readable and easy than java

python is used in ai because of its simplicity

java is suitable for secure appln(banking sys)

5 Upvotes

38 comments sorted by

View all comments

Show parent comment

1

u/big_data_mike May 23 '26

I think the Python version of the package I am using does the heavy computation in C or part of it in C. I’m not really sure. The main package depends on this other package which is I think 80% C code and I rewrote the computations in rust based on some work that someone else had started. As a mere data scientist I don’t know enough math or computer science to really know what’s going on.

1

u/Psy_Fer_ May 23 '26

Doesn't mean you can't look into it more if you have access to the source and find out. It's how most programmers get better, they look at other people's code.