Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've explored ghcjs. I had a reasonable react based site down to ~400k after dead code removal and minification. Still biggish, but not multi-megabyte.

The raw unoptimized code was in the several megabyte range though.



I think it would be worth sharing that on a blog post submitted to HN. Sounds like a lot of work, maybe there are ways to automate that with a shell script or a Haskell program. 400KB is absolutely okay I think.


I agree, that would be awesome to study/emulate. Possibly use some of the techniques to make GHCJS programs smaller.




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

Search: