Is there any reason that Haxe wouldn’t one day be able to compile straight to assembly? As far as I understand it you would need to implement some kind of LLVM so that you could compile it for different architectures, but I don’t see that as being impossible. I guess if you were going to do that you would have to do memory management yourself like you have to in C, but what if you had the option to use a built-in garbage collector if you didn’t want to manage memory manually. It is a cool thought. Obviously it might be a lot of work, but Haxe is just such a cool language that I can’t help but trying to figure out just how far you could push it.
I’m just having fun brainstorming so don’t take me way too seriously, but are there any huge technical barriers to the possibility? I’m actually curious why C and C++ are some of only very few languages that do compile to assembly. Is it just really hard to do?