Jake Lishman 7/27/2020

Contiguous memory and finding segfaults in Cython

Read Original

This technical article discusses using Cython for high-performance scientific code, focusing on the advantages of raw pointers and contiguous memory access for speed. It details the trade-offs in safety, explains how to debug segfaults from memory-safety bugs, and compares approaches like typed memoryviews for use with libraries like BLAS and LAPACK in projects such as QuTiP.

Contiguous memory and finding segfaults in Cython

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week