late generation of assemble code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I sometime ask myself what have happened to the "LLVM dream"?

The idea of LLVM was not to be *just* an intermediate language for the compiler. The idea was to push code generation as near as possible of code execution. Because at execution time, you know what are the specific features of the CPU, and what is used to most often by the user of the program.

But it seems CLANG have become a plain replacement of gcc. Just an alternative compiler. But as I remember the LLVM whitepaper, the idea was that LLVM generated code was the way programs would be distributed. It would be possible to generate the assembler at install time. But I don't think this is the right time because when you install packages... you have a lot of work to be done. No I think the best time to generate assembler code is when the CPUs are idle... as a background service. Sure, you have to optimize the full program because you don't know yet what features of the program the user will use the most, but this don't seems such a big problem... because hey... the CPU would not been doing much useful things anyway. There is the problem of the user trying to launch the program just after installation... I think it would be reasonable to show a "finishing compiler of <Foo> program", generate the assembler code with low optimization, then launch the generated code. It will still be time later to do a greater level of optimization.

Is there some technical problems for not packaging LLVM code rather than CPU specific code?


_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux