Java 21… and Beyond

Поділитися
Вставка
  • Опубліковано 26 вер 2024
  • Brian Goetz (Java Language Architect) Devoxx 2023 Keynote.
    Java Platform Extension for Visual Studio Code ➱ inside.java/20...
    Additional informations ➱ inside.java/ta...
    Tags: #Java #OpenJDK #Java21

КОМЕНТАРІ • 60

  • @FABGIO1
    @FABGIO1 11 місяців тому +25

    That's a pleasure to have Brian passionately talk about Java

  • @softcoda
    @softcoda 11 місяців тому +13

    I still love and use Java❤

  • @svalyavasvalyava9867
    @svalyavasvalyava9867 11 місяців тому +2

    wonderful talk, thank you 😌

  • @klarissaclairiton9010
    @klarissaclairiton9010 11 місяців тому +3

    I am using it and the performance is superior to previous versions. I have some GUI Swing and FX hobby programs. I am not a professional Java programmer, I am doing it for my own personal needs on the computer at home. For my Swing programs I use Jyloo's look and feel. I started with Java 5 many years ago

  • @pirxie1127
    @pirxie1127 11 місяців тому +30

    I love Java 21. Next, I would like to see a project that allows null safety similar to Kotlin without typing everywhere NonNull annotations. Migration is often impossible, and I prefer overall Java syntax except for the lack of null-safety.

    • @caiosantesso
      @caiosantesso 11 місяців тому +12

      You should check out JEP draft: Null-Restricted Value Class Types (Preview)

    • @hilligans1
      @hilligans1 11 місяців тому +1

      They are going over this with Valhalla

    • @pompiuses
      @pompiuses 11 місяців тому +5

      Null safety has never been an issue in any of the projects I’ve worked on for the last 20 years. It’s been oversold a lot by the Kotlin community, and seems to appeal mostly to students or junior programmers.

    • @pirxie1127
      @pirxie1127 11 місяців тому +10

      @@pompiuses You can say the same about unnamed classes. And yet, this change was introduced in Java 21. No matter if it's a small or big change, Java seems evolving. Null safety seems to be a much bigger issue than the additional two lines with class declaration. We can say it's just a "student or junior" problem, but in the end, the code goes to production and companies are losing money on faulty software and further fixes. I have half of your experience, so maybe my view will change over time but for now, I think this type of error could be solved by specifying at the type check level if you allow nulls or not. Like you can do in Rust, Dart, C# or others.

    • @VolatileVariable
      @VolatileVariable 11 місяців тому +4

      A project that allows us to not have to add final everywhere would be equally as desirable to me. Such a pain final is not the default

  • @gubgubbubbub
    @gubgubbubbub 4 місяці тому

    Awesome speaker and content!

  • @garciat
    @garciat 11 місяців тому +1

    Good to see Haskell as a measure of conciseness. Good to see it as a measure at all, for a mainstream giant like Java.

  • @fabianmerki4222
    @fabianmerki4222 10 місяців тому +2

    It is funny how history repeats 😂
    Green threads refers to the name of the original thread library for the programming language Java (that was released in version 1.1 and then Green threads were abandoned in version 1.3 to native threads). It was designed by The Green Team at Sun Microsystems.

  • @karthiksundaram544
    @karthiksundaram544 3 місяці тому

    I still love java 21

  • @AnnasVirtual
    @AnnasVirtual 10 місяців тому

    great that made it more modern now

  • @jorgenota
    @jorgenota 10 місяців тому

    Thanks for the video.
    Amazing features are comming with every release, thanks!
    I'm, however, not fan of some of Amber Project features. From my point of view, some of these new features (such as unnamed classes, var, etc) are complicating the language, making developers have to learn how to read and mantain multiple ways of doing the same thing... and the only advantage is typing a few less characters.
    I don't think is worthy:
    - The more ways to declare the same thing, the more a developer has to learn (and the more code need to be written and mantained for IDEs and compilers).
    - Explicit declarations may be more verbose but are easier to read than an implicit way of coding (Scala code can be very powerful and concise but often developers have a very hard time wondering were's all the magic and what side effects their changes can have).
    - IDEs help with a lot of features (autocompletion, etc) to ease the "typing burden".
    - Developers spend a lot more time thinking and designing (at least in their minds) than writing classes of variable declarations.

  • @softcoda
    @softcoda 9 місяців тому

    Java21+ the new Javaly

  • @alessioantinoro5713
    @alessioantinoro5713 11 місяців тому +2

    13:42 Why do I feel like I've already heard this somewhere, ah right the dude who was upset under a Java bug fix video lol

  • @lionelsimon7613
    @lionelsimon7613 5 місяців тому +1

    You are now happy by introducing scala features

  • @antilogicalsociopath
    @antilogicalsociopath 8 днів тому

    oop < fp < pp

  • @doodocina
    @doodocina 11 місяців тому +3

    no way this is duke's nose, not an eye

  • @juancarlospizarromendez3954
    @juancarlospizarromendez3954 11 місяців тому

    Can 1000 threads implicate 1000 JIT compilations from many parts of JVM code with their new problems as the CPU cache misses and higher latencies?

  • @antonpieper
    @antonpieper 11 місяців тому

    What about valhalla?

  • @karanahlawat9106
    @karanahlawat9106 11 місяців тому +1

    So where's the VSCode extension?

    • @delabassee
      @delabassee 11 місяців тому +1

      See inside.java/2023/10/18/announcing-vscode-extension/

    • @karanahlawat9106
      @karanahlawat9106 11 місяців тому +1

      @@delabassee Oh wow released just today, ty

  • @user-zq8bt6hv9k
    @user-zq8bt6hv9k 11 місяців тому +1

    Nothing about Lilliput and value types. The community, sorry the customers, didn't learn anything new in this presentation . Back to rust/golang

    • @alessioantinoro5713
      @alessioantinoro5713 11 місяців тому +4

      I guess it was just a big recap of what's going on

    • @user-zq8bt6hv9k
      @user-zq8bt6hv9k 11 місяців тому

      ​@@alessioantinoro5713Yeah, I don't know, it sounds like the 251st recap I've watched recently. Like if they repeat the same thing over and over, people will suddenly forget about java 6. they seem to react to features in other programming languages to stay relevant instead of leading tech innovations. Anyway, good luck to Oracle as they attempt to regain some market share from Python, Golang, NodeJs and cie after decades of stagnation and disregard for their ~community~ customers.

  • @joachimdietl6737
    @joachimdietl6737 11 місяців тому +1

    The good old days, now it is crap

  • @Drekrosh
    @Drekrosh 11 місяців тому +4

    Everything Oracle is doing now should have been done 10 years ago. New projects are now being developed in Kotlin and Go; nobody uses Java anymore. The only ones left are the enterprise who are still on Java 8 and can’t even afford to upgrade to 11, let alone 21. It would be just as time-consuming to migrate to Kotlin, but the results with Kotlin would be much greater.
    Due to their greed, Oracle lost Android, and now due to their sluggishness, they are losing server-side. Nobody needs their innovations. It's just laughable.
    I believe that Oracle should admit defeat, officially stop supporting new versions of Java, and recommend transitioning to more modern languages, such as Kotlin.
    Lastly, Google has moved away from Java on the Android side, and now they’ve done the same on the server side. Draw your own conclusions.

    • @RakeshPatel-zh7ds
      @RakeshPatel-zh7ds 11 місяців тому +15

      rubbish, lots of java devs around including me. I am also using java 17 for the past year.

    • @ZeZeBatata69
      @ZeZeBatata69 11 місяців тому +10

      Your degree of self-confidence is envious.

    • @kitkarson4226
      @kitkarson4226 11 місяців тому +12

      lol.. people say "java is dead" for 20 years.

    • @jjupitertv
      @jjupitertv 11 місяців тому +3

      Even if Oracle gives up, Java community just simply won’t.

    • @Drekrosh
      @Drekrosh 11 місяців тому

      @@RakeshPatel-zh7ds No matter if you use Java 17, it doesn’t change the facts in my previous post. Unfortunately, that’s the current reality.
      Name one reason why those enterprises that have moved to Kotlin, and those that are transitioning now, should return to Java? Java’s only strength is its large legacy, the only thing keeping it afloat.