3 ms·
I think he was asking which languages could actually be used to do this today, without writing a new cross-compiler first.
by jeremyjh 11y ago
I think he was asking which languages could actually be used to do this today, without writing a new cross-compiler first.
- akhilcacharya 11y agoThat'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.
- pjmlp 11y agoCheck some of the videos here http://wiki.dlang.org/Videos http://wiki.dlang.org/Videos Namely "Tiny, Ubiquitous Machines Powered by D" and "x86 Bare Metal and Custom Runtime Programming".
- pjmlp 11y agoYou always need a cross-compiler, or a VM. There is no way around it.
- jeremyjh 11y agoI 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.
- pjmlp 11y agoOk, but that is a matter of availability of implementations, not a language feature.