Java Performance Update

Поділитися
Вставка
  • Опубліковано 29 січ 2025

КОМЕНТАРІ • 120

  • @Tobias.Bonifay
    @Tobias.Bonifay 4 дні тому +29

    Really excited to see the never ending advancements in Java, especially the Generational Shenandoah GC and Vector API improvements. The new Key Derivation Function API and quantum-resistant cryptography features show Java is staying ahead of future needs.
    Really looking forward to exploring these features, particularly the structured concurrency enhancements!

  • @sillystuff6247
    @sillystuff6247 21 годину тому +6

    Oracle's Java Team (all of them)
    set the standard of language stewardship.
    I'm in awe of these guys & gals.
    They're an international All-Star team.

    • @java
      @java  20 годин тому +3

      🙏🙏🙏

  • @user72974
    @user72974 4 дні тому +61

    video starts at 32:19

    • @Troyseph
      @Troyseph 3 дні тому +4

      I thought this couldn't be true, but it really is 😅

    • @user72974
      @user72974 3 дні тому +8

      @Troyseph I'm being a bit mean I think. The presenter has interesting things to say until then. It's just that the specific information the video title describes starts then.

    • @Troyseph
      @Troyseph 3 дні тому +1

      @@user72974 I agree, but nothing before then is particularly relevant to Java language users, just the language developers

    • @alskaa1
      @alskaa1 2 дні тому +5

      haha even the talk about Java is boilerplate

    • @ooijaz6063
      @ooijaz6063 16 годин тому

      @ We need lombok for java talks!

  • @ArpitRaj
    @ArpitRaj 3 дні тому +12

    @Java Please add timestamp bookmarks for such long videos which cover different topics!
    It would encourage everyone to view it repeatedly.

  • @Respectable_Username
    @Respectable_Username 4 дні тому +4

    I appreciate going through the "current state" of perf optimisations that Java performs on our code. It's very useful to know what Java will do itself so I don't need to micro-optimise those things myself. I'm still gonna be extracting constant function call results and object parameters out of my loops though, just in case the JIT doesn't figure out it can skip that extra indirection 😜

  •  4 дні тому +3

    Thank you so much. Greetings from Popayan, Colombia.

  • @drkovalex
    @drkovalex 19 годин тому +2

    I'm looking forward! I prefer Java instead of Kotlin to write my Android application, so if it would be faster and more advanced that would be really great!

  • @Abhishekiyengar07
    @Abhishekiyengar07 4 дні тому +7

    Bravo JAVA !

  • @RealEyes24
    @RealEyes24 3 дні тому +1

    What is the algorithm used now, in java 24 for GC?

  • @complexity5545
    @complexity5545 4 дні тому +5

    How much RAM? I really don't care about processing performance alone. I need all aspects of the CPU being posted against time-series axis: RAM + Processing (+ Caching).

    • @maksimmuruev423
      @maksimmuruev423 День тому

      Here is Java weak point which is why never mention. And huge memory access can be the issue and big performance penalty.

  • @DINESHGudavalli-z2b
    @DINESHGudavalli-z2b 4 дні тому +47

    Java is My best and favourite language

    • @ilyastrojnov7627
      @ilyastrojnov7627 4 дні тому +14

      No nullable types, no extensions, type erasing with generic... I write in java, but this language has some problems)

    • @JasminUwU
      @JasminUwU 4 дні тому

      ​​​@@ilyastrojnov7627 It's a decent language, but people usually use Java because they have to, not because they want to.

    • @bentels5340
      @bentels5340 4 дні тому

      ​@@ilyastrojnov7627 Meh. Natural consequence of having a runtime system that has to remain backwards compatible.

    • @primegurjar
      @primegurjar 4 дні тому +10

      Did you try other programming languages ?

    • @Chris-qg6kc
      @Chris-qg6kc 4 дні тому +3

      Java: When they ask for the highlights of your day and you give them every detail

  • @pro_gamer29569
    @pro_gamer29569 4 дні тому +17

    Valhalla when?

  • @raphusnet1031
    @raphusnet1031 День тому

    I am about to pick one among Java and c#. Which one would you suggest for microservices?

    • @groenrechts5948
      @groenrechts5948 День тому

      plain C

    • @daniel5040
      @daniel5040 День тому

      Net it's great, the only problem is the lts is lower than java 3 years per major versión

  • @akaalkripal5724
    @akaalkripal5724 День тому

    When are we getting Babylon + LINQ + new deep learning libraries based on babylon?

  • @sanjaygatne1424
    @sanjaygatne1424 3 дні тому +1

    चांगली माहीती मिळाली त्यामुळे काही शंका दूर झाल्या.👍

  • @jason13gaming
    @jason13gaming 4 дні тому +6

    valhalla when?

  • @la-dev
    @la-dev 4 дні тому +2

    Fast Java!

  • @wicktorinox6942
    @wicktorinox6942 4 дні тому

    I am wondering, why the information that JVM is collecting about that code it not persisted on the first run and if you use with the same parameters could be reused.

    • @maksimmuruev423
      @maksimmuruev423 День тому

      Its took 20 years to understand this simple thing.. As far as I know projects which actually do exactly like this only started recently.

  • @Ateshtesh
    @Ateshtesh 3 дні тому

    With that improvement at least will mot eat all the pc ram?

  • @mukhlimkurowo
    @mukhlimkurowo 3 дні тому +1

    dont confuse Java with JVM

  • @RealEyes24
    @RealEyes24 3 дні тому

    Is it faster than Kotlin?

  • @entertainer-xyz7562
    @entertainer-xyz7562 4 дні тому +1

    Hey mommy, another version is out

  • @umardev500
    @umardev500 День тому

    Java is the next jQuery

  • @mayankpm9417
    @mayankpm9417 4 дні тому +3

    Wake up babe new Java update

  • @botyironcastle
    @botyironcastle 3 дні тому +2

    maybe give async await and normal syntax instead of endless boilerplate

    • @nojerome497
      @nojerome497 2 дні тому +4

      Virtual threads have already been introduced and are a far superior mechanism to async await.

    • @botyironcastle
      @botyironcastle День тому

      ​@@nojerome497 and what is the syntax, I bet it's bloated and cryptic ah.

    • @nojerome497
      @nojerome497 День тому

      @@botyironcastle hopefully with more experience programming will become easier for you. Unfortunately it's not for everyone. Good luck with your journey, don't be afraid of a different career path.

  • @SXsoft99
    @SXsoft99 4 дні тому +4

    and yet companies still use JAVA 8

    • @Y2Kvids
      @Y2Kvids 9 годин тому

      all of this should be backported to Java 8

  • @wangshuntian
    @wangshuntian 4 дні тому

    HOORAY! JAVA FOREVER !

  • @diazdiaz3084
    @diazdiaz3084 4 дні тому +2

    I have been using Java 7 for last 10 years .. quiet surprised when they named it 24 instead of 8 ...

  • @elizabeth_ford
    @elizabeth_ford 9 годин тому

    If you are a Native English speaker, then you are automatically disqualified from being a Java developer.

  • @NoHandle167
    @NoHandle167 2 дні тому +1

    No thanks, I will stick to my good old friend C++

  • @Maxშემიწყალე
    @Maxშემიწყალე 3 дні тому +2

    Honest question; why would anyone use Java in the current year?

    • @philthehuman
      @philthehuman 3 дні тому +3

      easy answer: because they have been using it for the last 20 years and their old code still works, but benefits from all the improvements mentioned in this video.

    • @ooijaz6063
      @ooijaz6063 3 дні тому +3

      Once you know ecosystem it's very fast to develop new apps (event faster than node or python).
      Apps are really stable and really easy to extend. Libraries are really mature, mapping codegen, orms, you name it, good chance java has it and it's been there for years.
      The only drawbacks of java are the memory footprint and startup / compile times. And the old community which was with love in the deep OOP patterns which made some code unreadable and slow. But it's by far still the one of the best languages for working in the team.

    • @groenrechts5948
      @groenrechts5948 День тому

      Either pure laziness, or a lot of other Java code already developed that needs to be kept alive.

  • @happyday2912
    @happyday2912 4 дні тому

    Can java faster than go?

    • @VuLinhAssassin
      @VuLinhAssassin 4 дні тому +2

      Comparable, although Java had a slightly larger memory footprint initially.

    • @justADeni
      @justADeni 4 дні тому

      @@VuLinhAssassin arguably Go's arenas solve a big problem with garbage collection, that Java doesn't have an answer to (Unless you code C-style with Panama FFI, there are memory arenas there)

    • @zhamed9587
      @zhamed9587 4 дні тому +3

      it already is

    • @GabrielSouza-dn6sp
      @GabrielSouza-dn6sp 4 дні тому +1

      @@justADeni you can uses Memory Arena in whatever programming language you want and for sure in java

    • @JoandiLeonardus
      @JoandiLeonardus 4 дні тому +1

      Golang lack of maintenance, let's see for next 5 years, will your code still working? 🤣 Java have a good sponsor...

  • @fabiomaruca142
    @fabiomaruca142 4 дні тому +3

    First 🥸

  • @thanosfisherman
    @thanosfisherman 4 дні тому +1

    Is Java finally bLaZiNgLy fast?????

    • @satishkumarpatra4896
      @satishkumarpatra4896 3 дні тому +2

      Yes faster than go

    • @trophimus1
      @trophimus1 3 дні тому

      @@satishkumarpatra4896 java faster than go??

    • @jamesbond9810
      @jamesbond9810 3 дні тому

      @@trophimus1 no, he is a liar.

    • @joan38
      @joan38 3 дні тому

      ​@@trophimus1in many cases yes, it's faster than native code

    • @Александр-ф9в4ю
      @Александр-ф9в4ю 34 хвилини тому

      ​@@joan38can you show those many cases? Maybe Machine learning libraries? Maybe drivers? Maybe databases? Maybe games? Maybe operating systems? Oh, no... All those projects written in C/C++ 😢

  • @jamesbond9810
    @jamesbond9810 3 дні тому

    seems another time cheating our developers...

  • @sdstorm
    @sdstorm 4 дні тому +1

    Nothing quite off-putting like people leaving their stupid blue light filter on during presentations.

  • @Alperic27
    @Alperic27 4 дні тому +4

    blah blah blah … lots of noise…

    • @complexity5545
      @complexity5545 4 дні тому +1

      They never talked about the RAM usage (which is the biggest problem Java has had since it was created (by Gosling)). Java is bad for that very reason alone.

    • @IcyShower
      @IcyShower 4 дні тому

      @@complexity5545 actually all three projects for reducing ram usage are mentioned. project leyden where code will be precompiled (aot compilation), so less jit overhead. project lilliput, i.e. compact object headers. project valhalla, i.e. inline objects with no headers. also generational zgc and generational shenandoah could reduce memory usage, by reclaiming free space more quickly.

    • @ooijaz6063
      @ooijaz6063 3 дні тому

      ​​@@complexity5545Agree, are they even living in the same world as we are? The performance is always trade of.
      If you just starve GC all the time it won't help that jit generated 4% more optimal code.

  • @TwstedTV
    @TwstedTV 4 дні тому +8

    I stopped using Java and even quit my job because of it 8 years ago, because I grew seriously tired of Java and how bloated the language is. I grew such a hatred for java language.
    Corporations never want to fix their bloated projects and employees forced to pile on classes on top of classes making matters worse. God, I hate this language.
    It's like covering rot and mold with paint. That's how I feel about java.

    • @aj.arunkumar
      @aj.arunkumar 4 дні тому +5

      interesting.. why do you think so ?

    • @complexity5545
      @complexity5545 4 дні тому +5

      You are like 99% of all the teenagers and students and enterprise users that had to wade through Java until hardware covered up the stank of Java. Java never fixed their underlying issues: RAM bloat and hog. Java is a no go. Until they fix that -- which is never -- I will always think of Java as the "dumb boomer language." I dislike Java with a passion: I used to literally edit the source code back in Red Hat in the late 1990s as a job/coop for literally NCSU, Sun Systems, and Red Hat and compile that crap. Literally the "gray beards" that distributed java were down the hall (and the linux kernel guys were in the other wing -- the kernel guys knew java was bad). We'd tell them of the hundreds of bugs and unpredictable behavior from the Runtime and they'd axe it. I been through hundreds of scenarios and lockups and compile errrors. I remember many nights having java compile over night and me waking up with it failing in the middle of a render. Being around all that made me realize that Java wasn't a solution for computing, but a way to pull money from naive companies. It taught me a very valuable lesson of corrupt businesses and politicians. Java is a terrible corporation black hole.

    • @DavidDLee
      @DavidDLee 4 дні тому +6

      It sounds like you had to maintain a terrible code base.
      Do you think this is not possible in other languages? Perhaps provide clear arguments on what's wrong with Java, divorced from your bad work experience.

    • @Respectable_Username
      @Respectable_Username 4 дні тому +1

      Corporations being bad at code maintenance isn't Java's problem. Just like your manager being a micro-manager isn't Jira's problem. Don't blame the hammer, blame the wielder!
      Am working on an open source project in Java right now and, while there's certainly some things I miss from TypeScript/Node (duck-typing my beloved), it's been surprisingly good actually! But that's also because both of us on the team are software engineers who don't think twice about refactoring something if it needs refactoring to work better. And also both of us actually enjoying the code optimisation challenges so our code is fairly performant (though there is more to do on that front). And the decompilability of Java makes it so much nicer for working with poorly documented library functions in proprietary libraries when you can just click into them and figure out what they're doing. And the portability, never having to worry about if the code that works on my x86 Windows machine will work on another person's ARM MacOS machine.
      There's a lot to like in Java, particularly modern Java that's actually been working to shake off the cobwebs of old Java. But like any tool, it can be wielded by incompetent folks to make a mess, and unfortunately Java's history of being business's go-to language has meant that it's been wielded by far too many incompetent folks being pressured by incompetent leaders which leads to the impression that the language is incompetent, rather than just that it's mainstream enough to reach the hand of incompetent people.

  • @jshowao
    @jshowao 4 дні тому

    Guys! Java is fast! Finally! lol

    • @daiymulhaqsiddiqui
      @daiymulhaqsiddiqui 4 дні тому +4

      Java was never slow, only slow to start on a cold vm

    • @jshowao
      @jshowao 4 дні тому +1

      @daiymulhaqsiddiqui I know, it was a joke

  • @georgehooper429
    @georgehooper429 4 дні тому +1

    I just clicked on the thumbnail because I though... "Are people are still coding in Java in 2025?"
    Most corporations have pulled all java apps and development because of Oracle's changes to the licensing model in 2023 for Java (hence why there is still a lot of java 8 deployments still out there). For example, if you have 23,000 employees, and 10 employees are using a niche java app, you need to license all 23,000 employees. Its not hard to see which way the scale will tip. With that said, bravo to the Java development team for continuing to develop and extend my beloved coding environment from yester-year.

    • @elimgarak3597
      @elimgarak3597 4 дні тому +4

      Openjdk exists, if that's a concern

    • @georgehooper429
      @georgehooper429 4 дні тому

      @@elimgarak3597 I'm aware of OpenJDK as well as the offering of IBM's "Semeru". My opinion kicking around my home lab where openjdk is a winner, is different than when I put on my opsec hat. Many of the medium to large corporations will not allow "open source" alternatives on their campuses. They simply don't want the risks, and I can understand that too.
      IMO the center of the universe has shifted and most of the Java developers have moved on too. I could be wrong and I'll accept that, but how many articles have you seen written about Java (anything) in the last 2 years?

    • @julianjupiter5890
      @julianjupiter5890 4 дні тому

      Companies should have just removed Oracle JDK. They couldn’t have just moved to another language or platform. Business is business. Moving Java apps to another language is not a magic. Oracle JDK is just another JDK. With OpenJDK, anyone can virtually build his/her own distribution. There are a lot of distros. One of which is Eclipse Temurin. Almost all cloud providers have their own OpenJDK distro for free, including Oracle Cloud, Azure, AWS.

    • @IcyShower
      @IcyShower 4 дні тому

      if you don't want to pay for support then there are various openjdk distributions for free. if you want paid support then you can pay oracle or go to some cheaper option, like azul or other companies. oracle's changes to licensing include changes to java 8, so it doesn't matter if you stay on java 8 or not (you have to pay for paid version of java). in fact, it's quite the opposite. nowadays, oracle jdk is probably free for commercial use for a few years after release, but i'm not a lawyer.

    • @Respectable_Username
      @Respectable_Username 4 дні тому

      Why would anybody be using Oracle Java over OpenJDK in 2025 😂

  • @joseoncrack
    @joseoncrack 4 дні тому +2

    Shouldn't Java be dead already?

    • @IcyShower
      @IcyShower 4 дні тому +4

      java was proclaimed dead infinite number of times already, but it's still alive and kicking. you can't kill java.

    • @joseoncrack
      @joseoncrack 4 дні тому

      @@IcyShower Yeah, Apparently not! But that's probably because you can't kill Oracle.

    • @philthehuman
      @philthehuman 3 дні тому +1

      @joseoncrack nobody uses oracle's java. Everybody uses openjdk and it still rocks.

    • @sagars861
      @sagars861 День тому

      imagine you being 90 year still wondering why this language is not dying

  • @xtraszone
    @xtraszone 4 дні тому +1

    is that faster than go ?
    No..
    So stop giving new updates. Its now called a tradition language. And does not respect developers productivity at all.

  • @19_088SHOVONSHARMA
    @19_088SHOVONSHARMA 3 дні тому

    public static void main(String[] args) {
    System.out.println("Hello, World!");
    }

    •  3 дні тому +2

      main() {
      IO.println("Hello World!");
      }

    • @philthehuman
      @philthehuman 3 дні тому

      int main(void)
      {
      printf("Hello, world!");
      return 0;
      }

  • @kaihusravnajmiddinov5413
    @kaihusravnajmiddinov5413 3 дні тому +3

    C# outshines java in all aspects.

    • @sagars861
      @sagars861 День тому +1

      who uses that microsoft's shit

    • @kaihusravnajmiddinov5413
      @kaihusravnajmiddinov5413 23 години тому

      @sagars861 it's Microsoft's product, a very good and clean one. Better look at what you eat, and tell me who's the producer.
      Oracle's garbage (though no shit), java etc, seems more testy to you ?

    • @Александр-ф9в4ю
      @Александр-ф9в4ю 32 хвилини тому

      ​@@sagars861many people use vscode 😢