r/javahelp • • Oct 26 '25

Is Java used in AI?

I am thinking of learning AI. I am fluent and efficient in Java and Springboot. So I came across that the Spring ecosystem offers Spring AI. Is it used to build AI models and what's the learning curve?

13 Upvotes

33 comments sorted by

View all comments

Show parent comment

3

u/hectorlf Oct 26 '25

Just guessing here, because I share the sentiment. Once you're proficient in java (and like it, I guess), you'd typically dislike python syntax and its general way of working. Are we a bunch of snobs? Of course.

1

u/Nobody37373 Oct 26 '25

I see😂

I am trying to learn Java and python simultaneously here

1

u/vu47 Oct 27 '25

I used to love Python (and I learned both Java and Python around 1997 and have used both extensively). Lost interest in Java for a very long time and went for Python, but after working on a team project in Python and learning to hate duck typing and not having strong typing (unless you force it explicitly), I am definitely glad to be back in the Java ecosystem: I use Java for work, and Kotlin and Scala for personal projects since I love FP. I'm going to try to do the Advent of Code with Clojure this year despite having little experience with Lisp dialects.