LWN: Comments on "Cython 3.0 released" https://lwn.net/Articles/938536/ This is a special feed containing comments posted to the individual LWN article titled "Cython 3.0 released". en-us Thu, 18 Sep 2025 12:08:34 +0000 Thu, 18 Sep 2025 12:08:34 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Cython 3.0 released https://lwn.net/Articles/938628/ https://lwn.net/Articles/938628/ mb <div class="FormattedComment"> <span class="QuotedText">&gt; throw in some annotations here and there</span><br> <p> Yep. And that can be done incrementally. Starting with no annotations at all, which will already get you a couple of percent of performance gain, because the interpreter is not involved in executing these compiled modules anymore.<br> <p> </div> Wed, 19 Jul 2023 18:25:49 +0000 Cython 3.0 released https://lwn.net/Articles/938622/ https://lwn.net/Articles/938622/ NYKevin <div class="FormattedComment"> Having played with it myself, the main benefit, IMHO, is just how easily it integrates into an existing Python project. I mean, sure, your build process gets a great deal more complicated, and for some that's a dealbreaker in its own right, but if you're willing to put up with that, you can literally just write Python code, throw in some annotations here and there, it magically speeds up by quite a long way, *and* it's still 100% callable from the Python side of the fence. If you've already got something 90% of the way to working in NumPy, but you just have this one place where you'd really like to write your own element-by-element loop, without killing the performance, and without having to fiddle with broadcasting etc., Cython lets you do that.<br> </div> Wed, 19 Jul 2023 16:52:13 +0000 Cython 3.0 released https://lwn.net/Articles/938551/ https://lwn.net/Articles/938551/ rsidd <div class="FormattedComment"> I have used cython some years ago. It worked as advertised, but just felt too fiddly. I have since switched to julia, and don't see myself trying cython again. <br> </div> Wed, 19 Jul 2023 08:38:25 +0000 Cython 3.0 released https://lwn.net/Articles/938546/ https://lwn.net/Articles/938546/ ccchips <div class="FormattedComment"> Sounds dangerous. If I ever get back to work (I'm in my 70s,) I hope I don't wind up with a "boss" who wants me to use this thing.<br> <p> </div> Wed, 19 Jul 2023 02:39:32 +0000 Cython 3.0 released https://lwn.net/Articles/938545/ https://lwn.net/Articles/938545/ Cyberax <div class="FormattedComment"> Aaaaaand everything broke down.<br> <p> I've just spent several hours wrangling dependencies of awscli and other dependencies.<br> </div> Wed, 19 Jul 2023 02:27:44 +0000