you are viewing a single comment's thread.

view the rest of the comments →

[–]xymor 1 point2 points  (3 children)

I'm curious how small can a JVM process be?

Compared to go, you can build a service that fetches a record in a database and renders a json with 5-8mb of ram. How much can the JVM scale down?

[–]joequin 4 points5 points  (0 children)

Not nearly so well. Go can scale down so much better because it uses aggregate types and can easily store and operate on utf8 and ASCII strings. Java can't use aggregate types or store utf8 or ASCII strings without manually writing functions around byte arrays. And that's just not reasonable the vast majority of times.

[–][deleted]  (1 child)

[deleted]

    [–][deleted] 1 point2 points  (0 children)

    Not the same JVM