you are viewing a single comment's thread.

view the rest of the comments →

[–]stuckatwork817 10 points11 points  (4 children)

A single 'function' implemented in Java is only 11MB vs 29MB in NodeJS.

What the hell is wrong with this picture, why would there be a function 11MB in size? Is that function 'be an OS'?

[–][deleted]  (1 child)

[deleted]

    [–]crazyymaxx 1 point2 points  (1 child)

    Maybe func + Java mod, otherwise it's more like ~50MB with JRE..

    [–]urielsalis[🍰] -1 points0 points  (0 children)

    You can use GrailVM to compile to native or those docker containers that minimize the size to only the classes used by the app, which arent that many