boo! Java and .NET got scarier
This is totally mind-blowing, baby: via boojay (an extension to boo, which is a hip alternate language, based on Python, for the .NET platform) you can produce valid Java byte code. To my knowledge, this is a first– via an alternate language running on one platform, you can produce valid code for another target platform (i.e. .NET -> Java).
For instance, the author of boojay has already demonstrated how to create an Eclipse plug-in in boojay. Of course, there are plenty of copasetic languages for the JVM that produce Java byte code– Groovy, JRuby, Jython; however, these languages can’t (directly) produce valid byte code for the CLR. Is anyone up to this (oh so spooktacular, baby!!) challenge, man?
If it’s your bag and you want more information on Boo, check out:
- Boo is groovy too (thediscoblog.com, May 2006)
- Boo is groovy two (thediscoblog.com, June 2006)
- Much ado about Boo (InfoQ.com, March 2007)
| Related odds and ends | ||
|---|---|---|
| ||
Wednesday 31 Oct 2007 | Boo, Groovy
Scala (www.scala-lang.org) is another language that compiles to java as well as .Net.
Thanks for the pointer, Robert– I wasn’t aware of that feature!
boojayjay?
Also there’s Jython and IronPython and soon we’ll have JRuby (already exists) and IronRuby (on the wasy)
I recently blogged about this trend here: http://www.rgoarchitects.com/nblog/2007/10/24/TheLanguangeConundrumWhatShouldIChoose.aspx
Arnon-
Yes, IronRuby and JRuby, etc are all very copasetic projects, but what’s unique about boojay is that you can create hip applications that run on the JVM that are created on the .NET platform easily. You can not do this with Groovy or JRuby at this point. Jython too. Can IronRuby code be compiled into Java byte code? I’m trying to verify this feature in Scala as well due to Robert’s pointer.