15 Feb, 2025

Mini-rust in Rust 005: Making our lexer an iterator

Our lex function returns an iterator, but in the implementation we fake it. Let’s do it right. You can find the source code at codeberg.org/andybalaam/milk and more of my stuff at artificialworlds.net Game Online Gaming Hub A gaming hub can refer to a central platform or space dedicated to gaming, where players can access games, […]

1 min read

Mini-rust in Rust 004: Refactoring our lexer

Refactoring our lexer, so that all the bad things we did to make tests pass are behind us. You can find the source code at codeberg.org/andybalaam/milk and more of my stuff at artificialworlds.net Game Online Gaming Hub A gaming hub can refer to a central platform or space dedicated to gaming, where players can access […]

1 min read

Page not found – Assassin Collection

Assassin’s Creed is the intellectual property of Ubisoft Entertainment (Ubisoft SA) All rights reserved. Assassin’s Creed and the Assassin’s Creed brand are commercial properties of Ubisoft. All published images are the property of their respective owners and are used only for promotion, dissemination and graphics, non-profit Assassin’s Collection is an unofficial and independent site 2012 […]

1 min read

Rust 101 – 49: Foreign function interfaces (interacting with other languages)

October 23, 2024 [Programming, Programming Languages, Rust, Tech, Videos] Calling C code from Rust, Rust code from C family languages, using cargo-bindgen, and creating Python extensions. Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects, Asynchronous, Unsafe, FFI This section (FFI): 49: FFI50: Exercise 1, 51: Exercise 2, 52: […]

1 min read

Mini-rust in Rust 003: A much more beautiful glitch

More about the basic structure of our interpreter: making error messages from the lexer point to the right lines of code, in a pretty way. You can find the source code at codeberg.org/andybalaam/milk and more of my stuff at artificialworlds.net Game Online Gaming Hub A gaming hub can refer to a central platform or space […]

1 min read

Rust 101 – 50: Practice for module G (q1)

October 23, 2024 [Programming, Programming Languages, Rust, Tech, Videos] Calling C code from Rust, Rust code from C family languages, using cargo-bindgen, and creating Python extensions. Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects, Asynchronous, Unsafe, FFI This section (FFI): 49: FFI, 50: Exercise 151: Exercise 2, 52: […]

1 min read

Rust 101 – 51: Practice for module G(q2)

October 23, 2024 [Programming, Programming Languages, Rust, Tech, Videos] Trying to call Rust code from a C program (it helps to call Rust from any language compiled to native). Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects, Asynchronous, Unsafe, FFI This section (FFI): 49: FFI, 50: Exercise 1, […]

1 min read

Mini-rust in Rust 002: Error while lexing

Continuing to write our mini-rust in Rust. Figure out how to make mistakes when lexing is wrong. You can find the source code at codeberg.org/andybalaam/milk and more of my stuff at artificialworlds.net Game Online Gaming Hub A gaming hub can refer to a central platform or space dedicated to gaming, where players can access games, […]

1 min read

Mini rust in Rust 001: Lexing and int

October 31, 2024 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust Introducing my new series: writing a bit of a Rust-like language in Rust. It will be an interpreted language, and (at least for now) it will try to work as much as real Rust. Maybe someday it will be a useful language, but for now […]

1 min read

Mini rust in Rust 001: Lexing and int

October 31, 2024 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust Introducing my new series: writing a little Rust-like language in Rust. It will be an interpreted language, and (at least for now) it will try to work as much as real Rust. Maybe someday it will be a useful language, but for now it’s just […]

1 min read