Liste des Groupes | Revenir à cl c |
But, yeah, for most people, writing the compiler is always "someone else's problem".Those figures are extraordinary.
Granted, even with as much suck as it was to write my own C compiler to target my ISA, it is still likely a better experience than it would have been trying to retarget GCC or Clang.
GCC is sort of a tangled mess of code, trying to add a new target would likely involve weaving it in all across the codebase, which is comparably fairly large (well into MLOC territory IIRC).
Any desire to retarget Clang is limited by the issue that it would involve needing to edit and recompile LLVM a large number of times, and LLVM takes an absurdly long time to recompile...
They are like "well, use -j N".
But, like, "-j 1": It takes like 4 hours;
"-j 4": It still takes around 1 hour, PC still usable.
"-j 8": It takes 45 minutes, but PC is made unusable.
Doing so also eats most of the RAM, on a PC with 112 GB... (Can't install a full 128GB with my MOBO/chipset it seems).
At "-j 8", the HDD with the pagefile is basically running at full capacity.
It is a mystery why anyone uses LLVM, I would have considered it a dead end due to all this...Apparently it takes care of all that pesky back-end stuff. For me it would make the task a thousand times harder. Plus I'd end up with a compiler of which only 0.4% was my own work; 99.6% somebody else's. Based on typical LLVM-based compilers being 100MB.
Les messages affichés proviennent d'usenet.