All That is in Java 21?! 😱 - Inside Java Newscast #50

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 47

  • @nipafx
    @nipafx Год назад +28

    Argh, creating timely videos on JDK RDP1 is like nailing pudding to a wall! 🤬 There will probably be no generational Shenandoah in JDK 21 after all. Eight hours before this video went live, JEP owner Roman Kennke wrote: "The Shenandoah team has decided to skip JDK 21 and take the time to deliver the best Generational Shenandoah that we can." Link to that and to Mark Reinhold's email to the jdk-dev mailing list are in the video description.

    • @markandrievsky6317
      @markandrievsky6317 Год назад

      @nipafx
      Don't you think that java need on the top of Collection hierarchy "Unmodifiable" or "ReadOnly" Collection, since Java breaks It's own API with UnsupportedOperationException
      The Collection Interface declares methods to modify it, but in fact - some implementations do not allow it.
      Java breaks "Liskov substitution" principle

    • @loic.bertrand
      @loic.bertrand Год назад +3

      ​@@markandrievsky6317Start Marks talked about this in this video : ruclips.net/video/LI8rpkOGU3c/видео.html at 46:21

    • @nipafx
      @nipafx Год назад +3

      ​@@markandrievsky6317 I don't think that will ever happen. I explained my reasoning in this blog post: nipafx.dev/immutable-collections-in-java/

  • @radosmirkovic8371
    @radosmirkovic8371 Год назад +2

    When I first saw notification and video wallpaper I freakout. But after watching video I think Java is on right track for future development.

  • @nmilutinovic
    @nmilutinovic Год назад +3

    Glad to see so much Scala in Java 21.

  • @TheBigLou13
    @TheBigLou13 Год назад +6

    You were in Hamburg, Germany 🤩 Hope you liked it here!

    • @nipafx
      @nipafx Год назад +6

      I was, and I absolutely did! Went there for Metallica, stayed for everything else. 🤘

  • @ghostdiasse
    @ghostdiasse Год назад +9

    Thanks for the summary. This release is quite impressive and the fact it's LTS, makes it okay to target in a lot of my projects !

    • @nipafx
      @nipafx Год назад

      Very impressive indeed, I couldn't believe what I was seeing when more and more ended up in 21 over the recent weeks. 😍
      Strictly speaking "it's LTS" is not correct, though. Yes, lots of vendors offer LTS for it, but the JDK itself knows no such concept.

    • @ghostdiasse
      @ghostdiasse Год назад

      @@nipafx interesting ! Does that means, the jdk developers try to not take that too much into account when targeting features for a release ? I always believed, broad adoption of the new features would come with these "LTS" version specifically.

    • @nipafx
      @nipafx Год назад

      @@ghostdiasse They shouldn't take it into account at all, but I'm sure it sometimes happens. But look at 21 - every theory on LTS development strategy is refuted right there:
      Features will be rushed? Structured concurrency, scoped values, and FFM API were far along and only saw minimal changes and still they were not finalized.
      Previews will be avoided? We got three new language features in preview.
      Don't rock the boat? GenZGC is a major rewrite of ZGC.

    • @ghostdiasse
      @ghostdiasse Год назад +2

      @@nipafx You're right, Java is going forward but takes the time to makes things right. The best thing is to see all these incremental but huge updates to the language ! Thanks again for your videos (newcasts, JEP café and others), the content allow to follow what's happening in Java without having to subscribe to all mailing lists :-) !

  • @thomasdarimont
    @thomasdarimont Год назад +5

    Great summary! Especially the many directly executable examples are super useful! I wish you a great vacation!

    • @nipafx
      @nipafx Год назад

      Thank you, Thomas! Already over unfortunately, I'm sitting at the airport right now. 😢

  • @onebeartoe
    @onebeartoe Год назад +1

    It was definitely worth my time! There is lots of energy here!

  • @AntonArhipov
    @AntonArhipov Год назад +1

    Nice scenery! :) Great video!

  • @tslee_
    @tslee_ Год назад +2

    Oracle should do a Java AI code assistant for Eclipse

  • @MrVitalirapalis
    @MrVitalirapalis Год назад +9

    I ❤ Java

    • @java
      @java  Год назад +2

      Me too! 😉

  • @prdoyle
    @prdoyle Год назад +1

    Excellent as usual. Actually I think it was too short! The title cards and animations went by too quickly to read.

  • @VerhoevenSimon
    @VerhoevenSimon Год назад +2

    Thank you for the nice summary

    • @nipafx
      @nipafx Год назад

      Thank you, Simon, glad you enjoyed it! 😃

  • @Nick-yd3rc
    @Nick-yd3rc Год назад +1

    So… can I finally reliably run my Java apps on small EC2 instances? 😅

  • @darenkster
    @darenkster Год назад +1

    Hope you had a nice time in Hamburg

    • @nipafx
      @nipafx Год назад

      I did, thank you! Metallica rocked! 🤘

  • @cursodetecnologia
    @cursodetecnologia Год назад

    Hi! Nice job grongrats

  • @alexandre8869
    @alexandre8869 Год назад +1

    Have a nice time Nicolaï.

    • @nipafx
      @nipafx Год назад

      Thank you! Vacation ended today, but I'll have a nice time at home as well. 😊

  • @michelepuccini388
    @michelepuccini388 Год назад +4

    Hey cool news but.. what about Panama ?

    • @Art-kz6zf
      @Art-kz6zf Год назад +5

      and Valhalla.... Those value objects would be a very efficient way to drop resource consumption of all those billions of devices running Java...
      Having a ten year celebrations soon for a project that has produced nothing tangible so far.. 😞

    • @nipafx
      @nipafx Год назад +1

      ​@@Art-kz6zf Calling a dozen talks, a number of very detailed documents, at least four prototypes, an EA build that you can experiment with right now, and a few JEPs and JEP drafts "nothing tangible" seems a tad unfair to me. It's an extremely complicated topic (just look up what John Rose wrote in "A Universal Carrier in the VM") and the Valhalla team works hard to get it right. Let's give them the time they need.
      But yes, I'm impatient, too, and can't wait for it to land.

    • @nipafx
      @nipafx Год назад +1

      Panama works on the foreign function and memory API and the vector API - I cover both in the video. Check out the description for links to more info.

    • @michelepuccini388
      @michelepuccini388 Год назад +2

      @@nipafx indeed we're using Panama and foreign for our stuff in jdk20 and it works like a charm. Cheers to Mr Cimadamore

  • @kparag01
    @kparag01 Год назад

    Why its not entering machine learning

  • @oskarkamil8208
    @oskarkamil8208 Год назад +1

    nice

  • @alcar32sharif
    @alcar32sharif Год назад

    *Demand for Project Panama!*

    • @nipafx
      @nipafx Год назад

      Are you demanding Panama's contributions to be final or to be covered in the video? The former will partially happen soon (my guess: 2024 for foreign function & memory API), the latter did already happen. 😉

  • @emaayan
    @emaayan Год назад

    I"m sure we'll all enjoy not using all those features when ppl actually decide to switch to next lts version of 21 in about 10 years, cause i about ppl will mix legacy code with such new code.

    • @nipafx
      @nipafx Год назад +1

      There are definitely projects that will take a decade to update (and some of them even for good reason) but many others won't. It seems a pretty safe guess that the current distribution of Java versions is in the neighborhood of 30% each for Java 8, 11, 17. I'm pretty sure many of the latter two will update to 21 ASAP. My guess is by mid 2024, 25% will be on 21.

  • @AlexNL1101
    @AlexNL1101 Год назад

    Unsubscribed because of the “crazy faces” on the video thumbnails.

  • @bubbashrimp2655
    @bubbashrimp2655 Год назад

    @nipafx I hope you get paid enough for that amount of shilling, because your other channel was rather good.

  • @devnull4204
    @devnull4204 Год назад +1

    @nipafx Alcúdia!

    • @nipafx
      @nipafx Год назад

      Wow, impressive! What gave it away? 😃

    • @devnull4204
      @devnull4204 Год назад +1

      ​@@nipafx I have been to Muro several times and the landscape seemed somehow familiar to me at first sight. 😉

    • @_wojtek
      @_wojtek Год назад +1

      @@nipafx in the last part it says so on the beach bench chair ;)