Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
codeinabox ( codeinabox@programming.dev )  to Java@programming.devEnglish · 1 month ago

Java 27 is only boring on the surface

mostlynerdless.de

external-link
message-square
8
link
fedilink
12
external-link

Java 27 is only boring on the surface

mostlynerdless.de

codeinabox ( codeinabox@programming.dev )  to Java@programming.devEnglish · 1 month ago
message-square
8
link
fedilink
Java 27 is only boring on the surface. - Mostly nerdless
mostlynerdless.de
external-link
Java 27 seems to be boring; the JDK only got some new defaults, but the most consequential change is the removal of the JVM Compiler Interface.
  • Valmond ( Valmond@lemmy.dbzer0.com ) 
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    Yeah so it doesn’t. That’s just a horrid mess.

    If you’d know your history, uints were forgotten in the first version, and never added.

    • piccolo ( piccolo@sh.itjust.works ) 
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      Eh. I rarely use unsigned integers, and using 4 extra bytes for large numbers is nothing when the jvm is already chugging RAM… So lacking uint isnt that big deal. Though, why is a byte signed…? That is beyond me.

    • Scoopta ( Scoopta@programming.dev ) 
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      I have written a lot of code that would benefit from primitive unsigned ints…and while it is a little more work to do it java’s way, it’s definitely not a horrid mess

      • Valmond ( Valmond@lemmy.dbzer0.com ) 
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        Just 100 times slower lol

        • Scoopta ( Scoopta@programming.dev ) 
          link
          fedilink
          arrow-up
          0
          ·
          1 month ago

          Eh, if you use the API, I just go up a size and use bitwise operators, the JIT is fast enough that it’s usually not a problem. Definitely not 100x slower

Java@programming.dev

java@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !java@programming.dev

For discussing Java, the JVM, languages that run on the JVM, and other related technologies.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 72 users / 6 months
  • 20 local subscribers
  • 2.06K subscribers
  • 266 Posts
  • 254 Comments
  • Modlog
  • mods:
  • Ategon ( Ategon@programming.dev ) 
  • JackbyDev ( JackbyDev@programming.dev ) 
  • Tom ( thtroyer@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code