Article
The reason you should test your personal projects
Small critique in nowaday testing in software development.
Article Rust
Memory alignment and layout in Rust
Explanation of how to implement different memory layouts in Rust programming language
Rust
Easy_GA 1.1.0 is out!
Hello rustaceans! The version 1.1.0 for Easy_GA crate is finally out! As always you can find the repository in Github and the crate in crates.io The full CHANGELOG is avaliable in CHANGELOG.md [1.1.0] Added benchmarks. You can run benchmarks using cargo bench. The benches are all inside benches/. Added logger feature to get information Read more…
Projects Rust
Easy_GA
Crates: https://crates.io/crates/easy_ga Github repository: https://github.com/RubenRubioM/easy_ga Easy_GA is a genetic algorithm library made for Rust projects. It provides full customization for your own genotypes definitions and a genetic algorithm implementation to wrap all the common logic within a genetic algorithm. Features trait Gene: Definition to implement for your custom genotypes. trait Read more…
Article C++
Custom conversions in C++
Article discussing implicit vs explicit conversion and defining your own conversions in c++
Article C++
ADL (Argument-dependent lookup) explained
ADL work is to set a couple of rules to lookup for functions based on their namespaces parameters provided, e.g:
Article C++
return false vs return true
Introduction You might think that this is a stupid debate, and maybe you are right but let me take a moment to explain to you if we should care whether to return true or false. True and false are the basis in computer programming and traditional logic. The binary system Read more…
Projects Z80 Assembly
Shinobu
Shinobu is a videogame made for Amstrad CPC using Z80 assembly and with the CPCtelera library. This project was highly related to optimize every piece of memory due to the Amstrad CPC limitation of 16KB of memory RAM. The source code can be found in the github repository and the Read more…
Article C++
What happens with std::vector<bool>?
If you know a bit of modern C++ you will have use the std::vector<T> container a lot of times without even wondering what type you specify to instantiate the container. This is fine for every case except for on specific one, std::vector<bool>. If you go to the std::vector specification you Read more…