Hacker News new | ask | show | jobs
by gpderetta 529 days ago
operator + is overloaded even in plain C: it will generate different instructions for pointers, floats, integers, _Complex, _Atomic and the quasi standard __float128. Sometimes it will even generate function calls.

I suspect zig might be similar.