3 ms·
> 2. Deploying chip specific compilers is unsustainable commercially when your competitor can port in billions of dollars of work with gcc (as bad as it is) Is
by TheMagicHorsey 4y ago
> 2. Deploying chip specific compilers is unsustainable commercially when your competitor can port in billions of dollars of work with gcc (as bad as it is)
Is it really that prohibitive to have your own custom compiler with LLVM (and CLANG)?
- Joel_Mckay 4y agoThere are very good reasons llvm are not used in Real-Time systems. When running in multitasking environments it doesn't really matter. =)
- daworl 4y agoNot coming from a Real-Time background, I'm quite curious as to why? Do you have some sources to point me to?
- Joel_Mckay 4y agoThe simplest explanation is the code motion optimization behavior, and even regular compilers must turn this off in some circumstances. Much of what makes llvm performant, can also make unpredictable execution times and latency worse. There is a deep rabbit hole here, that touches on clocks/hardware/schedulers like RTLinux OS/RTOS/compilers. I am the wrong person to teach you this subject. ;)