Inspired by a recent 196 post

you are viewing a single comment's thread
view the rest of the comments
[–] 10 points 7 months ago (18 children)

Java is neat: you just get what you write. There are things that really makes you cry and Java is not among them

  • source
  • hideshow 18 child comments
  • [–] 19 points 7 months ago (3 children)

    Just make the 200 line boiler code setup to make some

    system.stuff.thingy.log.println("hello world");

    Then it's not compatible with the installed vm.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 10 points 7 months ago

    Then it's not compatible with the installed vm.

    This almost never happens, unless you do very niche things or have unrealistic expectations from your file system.

    Niche things include using obsolete cyphers for net communication or running java code on the ibm mainframe, not something you do day to day.

  • source
  • parent
  • [–] 13 points 7 months ago (3 children)

    you just get what you write.

    Every language is like that

  • source
  • parent
  • hideshow 3 child comments
  • [–] 12 points 7 months ago (3 children)

    It makes me cry when modded minecraft uses 100% of my CPU and eats up 20gb of ram. (This is only a little bit java's fault)

  • source
  • parent
  • hideshow 3 child comments
  • [–] 8 points 7 months ago (2 children)
    1. Java should not be used for game engine design. Stop-the-world events and poor shaders support do not help.

    2. JVM eats as much memory as you give it, so try playing with -Xmx param

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 7 months ago* (last edited 7 months ago)

    Java has been used by programmers of mobile games just fine, for ages. The trick is the same that one would need with any other environment: knowing what objects you'll need to allocate for a level, and not allocate more than that.

  • source
  • parent
  • [–] 2 points 7 months ago

    Oh yeah I know all about that, I'm talking about what it actually uses within the JVM 😅 It's a messy monster of a game once modded, and there's really nothing you can do about it other than some slight optimizations here and there.

  • source
  • parent
  • [–] 6 points 7 months ago (5 children)

    Fine langauage, terrible build tools

  • source
  • parent
  • hideshow 5 child comments
  • [–] 5 points 7 months ago (4 children)

    Is that why there's like 27 languages that are based on the same jvm?

  • source
  • parent
  • hideshow 4 child comments
  • [–] 6 points 7 months ago (2 children)

    I feel weirdly drawn to learning kotlin.

  • source
  • parent
  • hideshow 2 child comments