3 ms·
Finally, one can have inefficient C.
by rhabarba 3y ago
Finally, one can have inefficient C.
- MaxBarraclough 3y agoThere's always the CINT interpreter for C and C++. https://root.cern.ch/root/html534/guides/users-guide/CINT.html https://root.cern.ch/root/html534/guides/users-guide/CINT.ht...
- brnt 3y agoA PTSD trigger for me. Only half joking. Funny thing is, I never checked out Cling to see if it was at long last the real deal.
- wiseowise 3y agoWhy would language choice of compiler make any difference for efficiency of final output?
- NeuroCoder 3y agoThey didn't say the language was the issue. It doesn't support the full C spec. But if you want a reason why language might be an issue for a compiler, it could make compilation time slower. But I think the point of this project is not real world use but fun demonstration of skill
- vgel 3y agoMaybe not the language choice, but the codegen of this compiler is terrible because of the single-pass shortcuts (for example, it unconditionally loads the result of all assignment operations back to the stack just in case you want to write `a = b = 1`, even though 99% of the time that load is immediately thrown away.)
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- folmar 3y agoAlways remember _bashcc_.