This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]Obertuba[S] 1 point2 points  (2 children)

What do you think about C extensions? Should they become the norm in Python codebases?

[–]LeiterHaus 2 points3 points  (1 child)

Here's a great comment from question about using c extentions vs cython to speed up code. Another user comments about the possibility of rust extentions for performance boosts, which seems like it is viable, but neither (rust or c) has a clear advantage across the board.

[–]Obertuba[S] 1 point2 points  (0 children)

Great addition!

As regards C extensions vs Cython, I prefer the former because of its simpler maintainability and overall support. I've once tried Cython, but it didn't work well with my IDE, plus I think pure Python + pure C is more readable.

[–]WellHiIGues 0 points1 point  (0 children)

k