Rust + Machine Learning: 005

nonsensetwice
{nonsensecodes}
Published in
2 min readOct 22, 2023

--

This is part of my participation in the #100DaysOfCode challenge. This round, I’m learning Rust and Machine Learning (ML) and developing violette: a portable ML system and JavaScript API in Rust.

Developing a curriculum to learn the mathematics underlying machine learning (ML) is work all on its own, though I’m intent on following through on the learning. And I have to balance my efforts with learning Rust. So, day five of this challenge was spent learning Rust.

I began working through chapter three of The Rust Programming Language, which was a general overview of basic programming concepts, ie types, functions, objects, etc. What I found interesting as a divide from JavaScript was how specific number-related types could be. Unsigned vs signed, bits, usize vs isize … there was a fair amount to learn in this part alone. This aside, one thing I can appreciate is syntax in assigning types to variables: while I can program in TypeScript, I don’t really care for it, preferring JavaScript; learning Rust, however, may improve my proficiency in writing TypeScript. I’m looking forward to that.

I had in mind to also continue working through the code examples in Distributed Systems withNode.js, but finishing the first chapter of Introduction to Machine Learning soaked up any remaining time I had set aside for this learning work.

It was a productive day. For day six, I intend to complete chapter three of The Rust Programming Language and begin diving into Introduction to Probability.

005/100

Read day four here.
Read day six here.

--

--

nonsensetwice
{nonsensecodes}

Reading & Writing. Music & Movement. Coffee & Code. Chaotic Great.