Segmentation fault

slow
-fsanitize=address -fsanitize=undefined and learn the clang static analyzer

Now this is an abstract kind of cancer.

main:
call unsafeFunction
int 33h
unsafeFunction:
xor rsi, rsi
mov rdi, 0ffffffffffffffffh
mov rcx, rdi
rep stosq
ret

Attached: lCQ5mPg.png (380x380, 119K)

Learn to code properly.

Sanity check fails? abort();

>Error: the "impossible happened.

Y'all are just mad C implements generics without the need for templates.

Except it doesn't. void * is a lot less safe, and more importantly, it uses more indirection, which harms performance.
This is the main reason why std::sort is noticeably faster than qsort.

It's rather have my compiler spend 2 seconds analyzing code instead of fuzzing everything and running it through valgrind on every release.

>detailed type information makes code faster
Shhh, you are gonna confuse the typelets.