John~ You can easily get around the checked exceptions by just generating all your methods with 'throws Exception'. But in principle, I agree that it is not necessarily a good fit for all languages, and things like ASM make generating byecode fairly easy.
Matt On Nov 22, 2009 1:47 PM, "John Wilson" <[email protected]> wrote: 2009/11/22 Matt Fowles <[email protected]>: > Robert~ > > Ease of debugging mostly. Our production environment always goes straight > to byteco... We looked at this in the early days of Groovy. It my be a decent route for your language but it wasn't great for Groovy. The problem is that there are some Java features (e.g. checked exceptions) which are enforced by the compiler but not the JVM. If your language shares all the restrictions that the Java compiler enforces then it's a perfectly good option. Groovy doesn't share many of the Java restrictions so it didn't seem worth it. Also generating bytecodes is not that hard once you get up the learning curve a bit so I think most people end up just going straight to bytecode because it's easier in the end. John Wilson -- You received this message because you are subscribed to the Google Groups "JVM Languages" group... -- You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=.
