Math ∪ Code

by Sahand Saba

  • Blog
  • GitHub
  • About
  1. Fun With Python Coroutines: Generating Permutations

    Sep 24, 2016
    , by Sahand Saba

    A very short post on having fun with coroutines to generate all permutations of a given list.

    Tags:
    • coroutines
    • problem-solving
    • python
  2. Understanding Asynchronous IO With Python's Asyncio And Node.js

    Oct 10, 2014
    , by Sahand Saba

    An exploration of asynchronous IO, event loops, threads, and coroutines through code written for Node.js and Python 3.4.

    Tags:
    • nodejs
    • javascript
    • python
    • asyncio
    • coroutines
  3. Combinatorial Generation Using Coroutines With Examples in Python

    Apr 25, 2014
    , by Sahand Saba

    Approaching combinatorial generation algorithms using coroutines, with examples in Python. Inspired by Knuth's work in his volume 4 of The Art of Computer Programming, as well as his "Deconstructing Coroutines" paper, co-written with Frank Ruskey.

    Tags:
    • python
    • algorithms
    • combinatorics
    • coroutines
    • math
    • problem-solving
Copyright © 2023 Sahand Saba