logoalt Hacker News

delijatitoday at 10:22 AM2 repliesview on HN

so it is what https://github.com/mypyc/mypyc was supposed to be ... i can just use write my python code add some type hints and it should run faster ... like cython but without learning a new dsl?


Replies

dima-quanttoday at 10:51 AM

Yeah, indeed, I actually read about mypyc a few years ago before starting nimic. Though the goal is very similar, mypyc does not support compilation to a native executable and the performance gains were somehow limited to 2x-4x, as reported in https://sichard.ca/blog/2022/05/compiling-black-with-mypyc-p...

dec0dedab0detoday at 12:49 PM

cython uses type hints now