#Cython
Finally took the first steps with uv!

I maintain a Python library that relies heavily on Cython and was using Poetry. After integrating uv into the workflow, I wrote a blog post about the final results — how to use uv and setuptools to build Cython and C extensions!

sgoel.dev/posts/buildi...
Building Cython (or C) extensions using uv
Developing Python libraries with C extensions can be tricky. Learn how uv and setuptools can work together to build Cython-powered projects.
sgoel.dev
January 11, 2025 at 7:45 PM
scikit-learn 1.8 will be the first scikit-learn release with native extensions that are officially marked as free-threading compatible.

github.com/scikit-learn...
MNT Mark cython extensions as free-threaded compatible by lesteve · Pull Request #31342 · scikit-learn/scikit-learn
Part of #30007 Cython 3.1 has been released on May 8 2025. Following scipy PR scipy/scipy#22658 to use -Xfreethreading_compatible=True cython argument if cython >= 3.1 This cleans up the lock-fi...
github.com
September 2, 2025 at 4:51 PM
the v8 engine is more computationally efficient than the cython engine, i think we’re safe
January 9, 2026 at 6:09 PM
cython might be a good middle step (but i haven't tried that workflow)
September 21, 2026 at 10:49 PM
Cython != CPython
January 23, 2025 at 2:24 PM
If it starts with a "C" it's all a dialect of C-lang.

C99
C11
C18
C23
C++
C#
C*
COBOL
Caml
Common Lisp
Clojure
Cython
Coldfusion
Coffeescript
Cache Objscript
Carefully written PHP
Core Wire Spool remagnetism
cURL
Cock
Chicken Rearing (backyard)
June 29, 2026 at 2:00 PM
penaltyblog v1.1.0 is released!

🔥 250x faster models with Cython
📊 New models: Negative Binomial, Weibull, ZIP & Bivariate
🔢 Pi Ratings System for ranking teams

🔗 Full changelog: penaltyblog.readthedocs.io/en/master/changelog/index.html

#Python #SportsAnalytics #MachineLearning
Changelog — penaltyblog documentation
penaltyblog.readthedocs.io
March 15, 2025 at 8:20 PM
Heh. My money is on Cython and boilerplate. C'mon, Kevin. What's your game? Apparently, we're all a bunch of dopesick parrots.
September 21, 2026 at 3:06 AM
I just discovered cython holy shit it's fast!
January 11, 2025 at 7:47 AM
I'm not a programmer but can someone confirm to me that code completion in python/cython was a whole different thing pre-2020s before LLMs got scaled to insanity harmful levels?

Using stuff like Copilot for code completion seems to have tainted this project everyone trusted up till now.
I use language models to develop Ren'Py, and have since Github copilot came out in beta in 2021. Before that I've used other tools (code completion, etc.)

I don't vibe code Ren'Py, though - that's not something you do if you want a project you can maintain.
1/2
June 10, 2026 at 3:17 AM
We did a cursory review of it and it looks like it tried to rewrite some cython module that was doing insane arcane stuff in Rust and it's just thrashing memory and constantly locking itself up trying to read what it just overwrote
August 26, 2026 at 12:56 AM
Golang made a hell of a lot more sense to me once somebody explained to me that it was trying to replace Cython at Google rather than C++.
October 6, 2025 at 4:26 PM
I’ve been meaning to switch from packaging with #poetry for my #cython library to packaging with #uv, but alas, physical packing is kicking my ass.
January 4, 2025 at 2:35 PM
The algorithm does not always need to change to make a Python loop faster.

Session 1 shows what Cython can remove once the types are known at compile time.

youtu.be/skHoiIob4qE
Part 1: Cython for Python Performance: How Static Typing Speeds Up Your Code
YouTube video by Command Prompt, Inc.
youtu.be
September 22, 2026 at 3:13 PM
Very fascinating to remember this in numerical simulations

I’ve run into similar ‘features’, especially when optimizing in cython
Many people don't realize this about floating point arithmetic:

This is also why GPUs can give slightly different results between runs! Thread execution order changes the sequence of operations.

(CUDA also has a slower deterministic mode, which works by artificially enforcing operation order)
December 31, 2024 at 3:06 AM
Extensions Highlights:
- New Language Extensions: Haxe, VHDL, Gem, Cython
- Libsql Context Server (first community MCP-enabled extension!)
- Updates: Java, ltex, Ruby, Relay

#ZedEditor
December 11, 2024 at 6:19 PM
project2_old.py
project2­.py
project_cython_test.py # and cython didn't help
March 12, 2025 at 7:31 PM
For those wondering we started POT with @ncourty.bsky.social with a Sinkhorn solver for entropic OT and a cython wrapper adapted from a Matlab mex file (remember those?) using the C++ solver from @nbonneel.bsky.social for exact OT.
December 13, 2024 at 9:54 AM
Zed Language Extension Updates:
- New: Move Smart Contracts (@suinetwork.bsky.social)!
- New: RHAI: Embedded Scripting for Rust!
- New: YARA!
- Updates: INI, Cython, LaTeX, Julia, SageMath

#ZedEditor
December 18, 2024 at 10:26 PM
Vc pode escrever em cython tb ... se for facilitar sua vida ... e quiser algo + rápido que Python interpretado.

cython.org
Cython: C-Extensions for Python
cython.org
November 4, 2024 at 8:10 PM
Modularizing the SageMath library:
passagemath-combinat consists of 350 first-party Python/Cython modules for enumerative and algebraic combinatorics, representation theory of the symmetric group, symmetric functions, etc.
pypi.org/project/pass...
#Python #OpenSource #Mathematics #MathSky
passagemath-combinat
passagemath: Algebraic combinatorics, combinatorial representation theory
pypi.org
December 1, 2024 at 7:31 AM
Almost certainly. Someone else pointed out that PyPy performs much differently than Cython, which is what most people run Python with.
November 16, 2024 at 3:52 AM
Me: Haha, I managed to implement a Riemannian trust region solver in JAX for my problem (with help of Claude). Finally new geometry to solve this problem naturally and quickly!

My Cython implementation of sequential quadratic program: couldnt see you back there, I converged minutes ago...

:(
April 17, 2026 at 3:32 PM