01 November 2020 · recurse-center
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.
28 October 2020 · recurse-center
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.
27 October 2020 · recurse-center
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.
26 October 2020 · recurse-center
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.
25 October 2020 · recurse-center
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.