6 ms·
Okay okay, I take issue with the last sentence of that (specifically the word "marginal"). The aim of Cython is to provide a smooth slope from "quickly writing
by boothby 7y ago
Okay okay, I take issue with the last sentence of that (specifically the word "marginal"). The aim of Cython is to provide a smooth slope from "quickly writing comprehensible programs in Python" to "belaboring bits and mallocs in C to crush the performance of that Python crap", where the optimal Cython experience is "profile, identify a huge hotspot, and do that little bit in C"... and then brace yourself for that boilerplate, boy howdy.
These days I write a lot of C++ and using it through Cython wrappers. With both Python and C++ redefining themselves, each at a breakneck pace, I frequently hope that they'll converge to a common language. But then I remember that I know that devil, and its name is Cython.
- pjmlp 7y agoLike Cling. :) https://developer.nvidia.com/gtc/2020/video/s21588 https://developer.nvidia.com/gtc/2020/video/s21588 However, best way would be just having a JIT by default.
- BerislavLopac 7y ago> With both Python and C++ redefining themselves, each at a breakneck pace, I frequently hope that they'll converge to a common language Sounds like Rust to me...