3 ms·
I use SublimeText with a Cython highlighter; @redcrowbar uses Atom. I started coding uvloop & asyncpg directly in Cython, basically from scratch. Debugging &
by 1st1 10y ago
I use SublimeText with a Cython highlighter; @redcrowbar uses Atom. I started coding uvloop & asyncpg directly in Cython, basically from scratch.
Debugging & refactoring are pretty much as easy as for pure Python code (which is a huge win over C). Sometimes when you're writing low-level code you can get a segfault, in which case lldb (or gdb) help you understand what's going on relatively quickly.
- denfromufa 10y agoSo do you use cygdb to debug Cython code or directly debug the generated C-API code?
- 1st1 10y agoI usually debug the generated C code directly (usually it's quite easy to understand the bug once you see where the program crashes.)