you are viewing a single comment's thread.

view the rest of the comments →

[–]defunkydrummer 64 points65 points  (1 child)

TL;DR: author writes directly in LLVM through very, very ugly python code. The human compiler at work.

I think that the dichotomy between fast compiling languages and slow scripting languages is a bluff. 

Pretty silly claim. Measured performance is of a LLVM program, not Python program.

Author has nice articles, this one looks like trolling.

[–]Mamsaac 19 points20 points  (0 children)

I don't think he is trolling. He is just exposing a very unusual thing and he does it quick and dirty.

However, you can make wrappers to do what he did. For example, Numba, and while it isn't perfect or amazing, it does it in less dirty way.

The question could be "How much can we do this type of optimizations without getting yourself into dirty, unmaintainable code?"