logoalt Hacker News

Show HN: Lucen a Python compiler that parallelizes for-loops via comment pragmas

8 pointsby soumik15630mlast Tuesday at 3:36 PM2 commentsview on HN

Comments

peterabbitcooktoday at 3:47 AM

I think I’m a little skeptical.

#pragma is a real keyword in C but # is just a comment in python - why not use a pythonic @decorator?

Vendoring a library like this into an app seems like a lot more toil than just writing the native multiprocessing python code, or using something built for number crunching like arrayfire or numpy

show 1 reply