logoalt Hacker News

fithisuxlast Wednesday at 7:28 AM2 repliesview on HN

What I get in these article is that the original intent on C language stands true.

Use C as a common platform denominator without crazy optimizations (like tcc). If you need performance, specialize, C gives you the tools to call assembly (or use compiler some intrinsic or even inline assembly).

Complex compiler doing crazy optimizations, in my opinion, is not worth it.


Replies

kergonathtoday at 7:43 AM

> Complex compiler doing crazy optimizations, in my opinion, is not worth it.

For these optimisations that are in the back-end, they are used for other languages that can be higher-level or that cannot drop to assembler as easily. C is just one of the front-ends of modern compiler suites.

erutoday at 7:29 AM

Well, C is a lie anyway: it's not how computers work any more (and I'm not sure it's how they ever worked).

show 1 reply