> So if my understanding, including that bytecode generation requires a comparable amount of effort, why didn't they do that?
They might. It's just not what they've chosen to do first.
> Really? I wasn't aware of that. Are we talking Apple's and Google's? What app store's catalog is predominately C++?
Well, we're talking the iOS app store here. Objective C is the main language, but Apple also supports c++ xcode projects, which Haxe can produce. The reason why Haxe targets c++ is because it can provide garbage collection through the Boehm libs, and (in general) can be made to fit better with the Ecmascript nature of the Haxe language.
Google is much less restrictive in terms of supported languages, but their java toolkit is very polished.
I also think that source code generation also lets you understand better what the compiler is doing, and how to best take advantage of it. Right now, the java target is very early, but it already has a clever way of handling reflection that is much faster than the standard method. It was interesting to me to read through the generated output, even if it was a little ugly.