Will Ayd

  • Archive
  • Categories
  • Tags
  • Search
  • Home
  • Tags
  • python
  • Fundamental Python Debugging Part 1 - Python

    This article shows you how to use pdb to debug your Python applications. While not the most visually appealing option, knowledge of pdb becomes very useful for using gdb, which will be covered in the next article on debugging Python extensions.

    February 08, 2023
     · 27 min read
     · Will Ayd
  • Fundamental Python Debugging Part 2 - Python Extensions

    This article shows you how to step into Python extensions, which are often used to wrap C/C++ libraries for interoperability or optimized performance. Because pdb cannot step through Python extensions we opt for gdb instead.

    February 22, 2023
     · 46 min read
     · Will Ayd
  • Fundamental Python Debugging Part 3 - Cython Extensions

    This article shows you how to use cygdb to debug Cython extensions. While dauting at first glance, the knowledge of pdb and gdb we gained in the previous two articles makes it much easier to step through Cython!

    March 10, 2023
     · 13 min read
     · Will Ayd
  • Profiling Python Extensions with callgrind

    It is common practice in the Python world to write C/C++ extensions to optimize performance, but what do you do when that is not enough? How could you find bottlenecks within your extensions? Use callgrind of course!

    April 03, 2023
     · 11 min read
     · Will Ayd
  • Comparing Cython to Rust - Evaluating Python Extensions

    Here we will see how a Python developer can consider Rust as a viable alternative to Cython. Rust abstracts a lot of the same things that Cython does, albeit it with a different architecture and syntax. Though a truly apples-to-apples comparison is difficult, this article will show you just how well it compares.

    May 17, 2023
     · 22 min read
     · Will Ayd
  • Leveraging the ADBC driver in Analytics Workflows

    Under active development, Arrow ADBC drivers represent a new way of interacting with databases that is tailored more towards analytics. Traditional ODBC/JDBC connections have been stable for general use, but ADBC represents a better, more performant, and type-preserving architecture that should become more commonplace in ETL workflows soon.

    June 16, 2023
     · 7 min read
     · Will Ayd
©2022 • Powered by Pelican & Papyrus