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
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:…
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
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:…
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…
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…
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,…
October 23, 2024 [Programming, Programming Languages, Rust, Tech, Videos] Using cargo-bindgen to generate bindings automates what we need to do to deploy existing C code within a Rust project. 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,…
October 21, 2024 I have recently evaluated and installed software to provide comments and statistics for this blog. Here is my experience of the deployment process: Python comment system. Using one of 17 outdated installer/packaging systems for Python (none of which work). Read a lot of docs and make sure I have a virtual env…