you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 month ago (8 children)

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

  • source
  • parent
  • hideshow 8 child comments
  • [–] 1 point 1 month ago (7 children)
  • [–] 2 points 1 month ago (6 children)

    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

  • source
  • parent
  • hideshow 6 child comments
  • [–] 1 point 1 month ago (5 children)

    If you do C bitwise operations on big chunks of data (like encryption) Java is probably more than 1000 times slower 😁

  • source
  • parent
  • hideshow 5 child comments
  • [–] 1 point 1 month ago (4 children)

    We're not comparing to C, we're comparing to a theoretical java that has primitive unsigned ints since that was your original complaint. Ofc C is faster, java is faster to write than C though. I write both, there are different tools for different jobs

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 1 month ago (3 children)

    What a load of goal post shifting lol.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 1 month ago (2 children)

    Funny, I thought the same about your comment. Your original complaint was that java lacks unsigned ints, given that's what you said, that's what I thought we were talking about

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 1 month ago (1 child)

    Funny, I thought your goalpoasting moving post was what se were talking about!

    You just sound like a java fanboi lol, cheers and goodbye 👋🏼

  • source
  • parent
  • hideshow 1 child comment