Day 58 — I miss the Python standard library

Today I worked on translating cutypr to Rust.

I found that I could use pyo3 to start the IPython kernel from Rust! So I wrote a start_kernel() Python function to start the IPython kernel, returned some useful information (the key required to sign messages + ports for all kernel channels) from …

Read

There are comments.

Day 57 — cutypr: an even littler Jupyter console

Today I read the first chapter of the zeromq guide and looked at the client-server and pub-sub examples! I love this paragraph from the preface (sounds so similar to Derek Sivers's CD Baby email!):

We took a normal TCP socket, injected it with a mix of radioactive isotopes stolen from …

Read

There are comments.

Day 56 — The littlest Jupyter console

This week I'm planning to build a terminal frontend for Jupyter (in Rust!) so today I started looking into how Jupyter works!

I found this doc which shows how messaging works in Jupyter. When we start a jupyter_console (like IPython), it starts a Python kernel in the "backend".

The kernel …

Read

There are comments.

Day 55 — Moar Rust reading!

Today I read up on structs, enums, and pattern matching in the Rust book. I also did some rustlings, and read a lot of Rust blog posts to figure out what I should work on in my last week at RC! I want to build a small project to get …

Read

There are comments.

Day 54 — Rust ownership and Python garbage collection

Today I read the chapter on ownership in the Rust book. In this post, I'll try to summarize what I learned for future me!

Ownership in Rust

Ownership is Rust's central feature and the chapter explains how it allows Rust to make memory safety guarantees without needing a garbage collector …

Read

There are comments.