Aleksandr Koshkin
Aleksandr Koshkin
  • Видео 10
  • Просмотров 2 213
GameOfLife in Nasm (2): Simplifying the Rust implementation
In the video, I'm refining my Rust implementation to facilitate a smoother transition to NASM.
The code for that clip is here: github.com/magniff/gol-nasm
Просмотров: 144

Видео

GameOfLife in Nasm (1): implementing it in Rust first
Просмотров 1433 месяца назад
In this video, we'll be creating the Game of Life in Rust as a foundation for upcoming vids. Code for that clip: github.com/magniff/gol-nasm
GameOfLife in Nasm (0): invoking assembly from Rust
Просмотров 2873 месяца назад
In this video series, we're going to develop Conway's Game of Life using NASM. However, since my skills in assembly are still developing, we'll begin by implementing it in Rust and then progressively rewrite it in NASM, step by step. The code for that clip is here: github.com/magniff/gol-nasm
Type level implementation of a stack machine in Rust
Просмотров 6273 месяца назад
In this video, we'll create a stack-based virtual machine that performs computations using the Peano representation of natural numbers. The key feature of this implementation is that it's entirely built using various Rust types and traits. The code for that vid is here: github.com/magniff/stack-machine-rs
0: Proc macro derive (Rust) - implementing a smart builder pattern
Просмотров 3613 месяца назад
In this video, I'll cover the implementation of the builder pattern in Rust, demonstrating a nice version using procedural macros. The code for that stream: github.com/magniff/builder-rs/
Type level implementation of Peano numbers in Rust
Просмотров 2404 месяца назад
In this screencast, I'm leveraging Rust's type system by defining Peano numbers using Rust's structs and traits, and exploring some fundamental arithmetic operations. The code for the video: github.com/magniff/peano
3: μjson (Rust) - making it fast
Просмотров 654 месяца назад
I realized that I wasn't measuring performance accurately; initially, my parser was ten times slower than serde_json. However, by using static dispatch, I managed to make my parser combinator implementation 25% faster than serde_json. The code for that playlist is here: github.com/magniff/ujson
2: μjson (Rust) - finalizing the parser implementation, comparing to serde
Просмотров 694 месяца назад
In the video, I'll complete the implementation of the JSON parser and compare it with Serde. Source code for that video: github.com/magniff/ujson
1: μjson (Rust) - a more accurate number parser
Просмотров 844 месяца назад
In this screencast, we'll enhance the accuracy of the number parser and set the groundwork for upcoming improvements to the JSON parser. Prev clip: ruclips.net/video/zfZN6hg_ZaU/видео.htmlsi=Rk_Y6LrxOlUjT6DD Source code for that video: github.com/magniff/ujson
0: μjson (Rust) - initial thoughts and setup
Просмотров 1944 месяца назад
In that screencast, we took a closer look at the design and implementation of a basic parser combinator library in Rust, focusing specifically on topics such as: - Closures and their lifetimes - Common issues encountered when writing code that heavily utilizes closures Source code for that video: github.com/magniff/ujson

Комментарии

  • @matthewmcvicker824
    @matthewmcvicker824 3 месяца назад

    What extensions do you use for auto complete?

  • @vekaev
    @vekaev 3 месяца назад

    Super cool videos, thank you for your content. Subscribed!

  • @_glowlight_8583
    @_glowlight_8583 3 месяца назад

    Круто, не догадывался, что настолько просто можно реализовать факториал на уровне типов Rust. Спасибо за видео.