Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ceylon 1.2.0 is now available (ceylon-lang.org)
10 points by egorst on Oct 29, 2015 | hide | past | favorite | 4 comments


Yay!

Folks, please feel welcome to Ask Me Anything.


Yay!

The language module is a 1.5MB JavaScript beast and people routinely complain about 150KB frameworks on HN. Are there plans to have a whole program optimisation pass to prune dead parts of that module (a ceylon webpack or ceylon closure command) ?


It seems to me that the best solution here is to split the single file into one js file for each package. A big part of that file is the implementation of the metamodel, and it's very likely that a lot of people won't even want to use that on the client side.

We've even discussed the pros and cons of actually splitting the metamodel into its own separate module, ceylon.metamodel, or whatever.

P.S. My tests with uglify-js suggest that minification probably isn't the most fruitful path here.


Once minified and gzipped it's less than 200K. But yeah, I can see how a packing command would be useful with program analysis, except that'd rule out any use of the metamodel for dynamic programming.




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

Search: