Hacker News new | ask | show | jobs
by jeremyjh 3806 days ago
I think he was asking which languages could actually be used to do this today, without writing a new cross-compiler first.
2 comments

That's exactly right. I didn't know that D would be an appropriate language for things like this - I'll have to check it out.
Check some of the videos here

http://wiki.dlang.org/Videos

Namely "Tiny, Ubiquitous Machines Powered by D" and "x86 Bare Metal and Custom Runtime Programming".

You always need a cross-compiler, or a VM. There is no way around it.
I don't have a problem with needing a cross-compiler, but I don't want to write one. I don't have to write my own if I use Rust. Or D, or C. But I can't find such a thing for ATS for example. So just being a language which has semantics to support this is not sufficient to be declared a language "which can do this". I would also need to be able to download a toolchain which can do this.
Ok, but that is a matter of availability of implementations, not a language feature.