Hacker News new | past | comments | ask | show | jobs | submit login

How is scalajs now? The last time I checked it out, it baked in about 100KB of overhead into the simple hello world.



According to this[1], as of 2 years ago, hello world was only 2.63KB. It's probably even better now as there have been several releases in the past 2 years.

[1] - https://github.com/scala-js/scala-js/issues/4#issuecomment-2...


20 KB is as low as it gets, these days (not gzipped). But really, that doesn't matter in the least, because you don't write Hello World's with Scala.js. You write larger apps for which the cost of these few tens of KB is completely dwarfed by the size of your application code. Remember that jQuery itself is 40 KB, and nobody complains about it.


My experience too.

But that goes down to like 50k after compression. Some logos are bigger than that.

Not trivial, but for a lot of use cases, that's good enough. Especially if you cache appropriately.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: