17 Sep '12, 4am

A little experiment in statically-compiling Ruby…my evening project at the #gogaruco party on Saturday.

This is about 30% faster than JRuby with invokedynamic. It is not doing any boundschecking (for rolling over to Bignum) but it is also not caching 1...256 Fixnum objects like JRuby does, nor caching them in any calls along the way (note that it creates three new RFixnums for every recursion that JRuby would not recreate). I call that pretty good. Obviously because this is designed to compile the whole system at once, we could also emit optimized versions of methods that look like they're doing math. That is yet to come, if I continue this little experiment at all. There's also some fun possibilities here. By specifying Java types, the compiler could add normal Java methods. Implementing interfaces could be done directly. And Android applications built with this tool would be entirely statically optimizable, only shipping the small amount of code they actually call and havi...

Full article: http://blog.headius.com/2012/09/an-experiment-in-static-c...

Tweets

GrammaTech introduces static analysis for Java ...

edn.com 17 Sep '12, 6am

CodeSonar for Java from GrammaTech, Inc., is a tool that works on all Java code, including code written for Android. The a...

For mongodb, choose ruby on rails or python? #p...

stackoverflow.com 17 Sep '12, 5pm

So I need to create a web app for managing network security data. Right now the requirements are very poorly defined, so I...

link: 20 Reasons Why Every Web Designer Needs to Learn Ruby on Rails

link: 20 Reasons Why Every Web Designer Needs t...

blog.teamtreehouse.com 18 Sep '12, 4pm

She told me her husband was being downsized. He was 52 years old, been with the company for twenty. He was a COBOL man. No...

Expecting... a baby

xiaxue.blogspot.com 19 Sep '12, 12pm

So as you probably have guessed from the title or my twitter, I am pregnant !!! I am writing this blog entry on the 16th o...