Faster Python with Go shared objects

There’s no two ways about it, Python is slow. I felt this in particular when exploring how to sanitize potentially malicious HTML content in the CTFd content editor. The two options for sanitizing/processing HTML in Python both have some tradeoffs: Poorl… Read more

Similar

Python Generators

What is a Generator? A Python generator is a function that produces a sequence of results. It works by maintaining its local state, so that the function can resume again exactly where it left off when called subsequent times. Thus, you can think of a gene... (more…)

Read more »

Python Books

This book list contains all the knowledge needed for Python from entry to mastery. This book list is mainly divided into Grammar, Data Structures and... (more…)

Read more »

cppyy: Automatic Python-C++ Bindings

cppyy is an automatic, run-time, Python-C++ bindings generator, for calling C++ from Python and Python from C++. Run-time generation enables detailed specialization for higher performance, lazy loading for reduced memory use in large scale projects, Pytho... (more…)

Read more »