Hey there đź‘‹

Welcome to my blog! I am Khan (like “Wrath of Khan” from “Star Trek”). I occasionally share my interests in compilers, computer systems, and programming languages. “just a hobby, won’t be big and professional” :)
Are we writing in Racket again?

Do parentheses matter for better performance?

Missed optimizations in LLVM The book “Computer Systems: A Programmer’s Perspective” warns the readers: “When in doubt, put in parentheses!”. Despite the authors saying this when talking about precedence issues, it would be applicable to some other cases. If you have ever written in a Lisp-like language you must love them! But what would happen if we put some undue parentheses in our code. Let us consider the following C function (sum....

August 29, 2024 Â· 8 min Â· Khagan Khan Karimov