On Fri, May 08, 2020 at 09:52:56AM -0400, Kevan Hashemi wrote:
Dear Paul,
<snip>
I don't think GCC would be easy to work on.
I agree. And I don't like C. That's why I work in Pascal.
I wouldn't care to be coping with the RTL intermediate representation.
So far as I can tell, in GCC 4+ we don't have to deal with the register transfer language (RTL) at all. We have to take the tree generated by GPC and translate it into a GENERIC tree. We pass the GENERIC tree to the GCC middle-end, and the middle end translates it into a GIMPLE tree, optimises the code, translates it into RTL, and passes it to the back-end. The back-end matches the RTL to the machine definition and produces assembler code.
Right. And that is how support for GCC 4.x in current GPC works.
Would it be possible to distribute some kind of load and go VM 64 bit binary wrapper for your code?
I did not know there was such a thing as a VM64 bit wrapper. Speak to me about this magical device, and I shall try it out immediately, for I need a short-term solution to the problem.
I do not know what Paul meant, but there are things like docker. IIUC the idea is that you create "fat" application that contains inside enough of Linux to run your program. They provide a toolkit which is supposed to be easy to use and automate most of this. Never tried it so can not say how well it work. And when I say "like docker" I mean that I remember more than one proposal. I heard mostly about docker but possibly there is also something else with similar purpose.