Java 21… and Beyond

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 60

  • @FABGIO1
    @FABGIO1 ปีที่แล้ว +24

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

  • @softcoda
    @softcoda ปีที่แล้ว +13

    I still love and use Java❤

  • @fabianmerki4222
    @fabianmerki4222 ปีที่แล้ว +3

    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.

  • @svalyavasvalyava9867
    @svalyavasvalyava9867 ปีที่แล้ว +2

    wonderful talk, thank you 😌

  • @pirxie1127
    @pirxie1127 ปีที่แล้ว +31

    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 ปีที่แล้ว +12

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

    • @hilligans1
      @hilligans1 ปีที่แล้ว +1

      They are going over this with Valhalla

    • @pompiuses
      @pompiuses ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว +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

  • @klarissaclairiton9010
    @klarissaclairiton9010 ปีที่แล้ว +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

  • @garciat
    @garciat ปีที่แล้ว +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.

  • @lionelsimon7613
    @lionelsimon7613 7 หลายเดือนก่อน +1

    You are now happy by introducing scala features

  • @gubgubbubbub
    @gubgubbubbub 6 หลายเดือนก่อน

    Awesome speaker and content!

  • @AnnasVirtual
    @AnnasVirtual ปีที่แล้ว

    great that made it more modern now

  • @softcoda
    @softcoda 11 หลายเดือนก่อน

    Java21+ the new Javaly

  • @karthiksundaram544
    @karthiksundaram544 6 หลายเดือนก่อน

    I still love java 21

  • @alessioantinoro5713
    @alessioantinoro5713 ปีที่แล้ว +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

  • @doodocina
    @doodocina ปีที่แล้ว +3

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

  • @jorgenota
    @jorgenota ปีที่แล้ว

    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.

  • @juancarlospizarromendez3954
    @juancarlospizarromendez3954 ปีที่แล้ว

    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?

  • @eshnd-1
    @eshnd-1 2 หลายเดือนก่อน

    oop < fp < pp

  • @antonpieper
    @antonpieper ปีที่แล้ว

    What about valhalla?

  • @karanahlawat9106
    @karanahlawat9106 ปีที่แล้ว +1

    So where's the VSCode extension?

    • @delabassee
      @delabassee ปีที่แล้ว +1

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

    • @karanahlawat9106
      @karanahlawat9106 ปีที่แล้ว +1

      @@delabassee Oh wow released just today, ty

  • @user-zq8bt6hv9k
    @user-zq8bt6hv9k ปีที่แล้ว +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 ปีที่แล้ว +4

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

    • @user-zq8bt6hv9k
      @user-zq8bt6hv9k ปีที่แล้ว

      ​@@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 ปีที่แล้ว +1

    The good old days, now it is crap

  • @Drekrosh
    @Drekrosh ปีที่แล้ว +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 ปีที่แล้ว +15

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

    • @ZeZeBatata69
      @ZeZeBatata69 ปีที่แล้ว +10

      Your degree of self-confidence is envious.

    • @kitkarson4226
      @kitkarson4226 ปีที่แล้ว +12

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

    • @jjupitertv
      @jjupitertv ปีที่แล้ว +3

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

    • @Drekrosh
      @Drekrosh ปีที่แล้ว

      @@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.