New week, new Rust! What are you folks up to?
Still working on the first crates.io release of LPC82x HAL. I finally finished the documentation update and thought that I was going to release today, but hit a last-minute problem. Turns out you can’t release a crate with a
[patch] section in Cargo.toml, so I’m going to have to update some dependencies, which comes with further issues that I wanted to postpone until after the initial release.
Not a big deal, overall. It just means the first release will be delayed for a while longer.
Just finished C/C++ FFI for Zbox this week. Also integrated automake tool chain with Rust cargo tool. Interestingly, now I can use the automake tools to build Rust code!
./autogen.sh ./configure make && make install
Finally finished the minesweaper solver (puzzle on codingame): https://github.com/bajcik/codingame/tree/master/minesweeper.
I was sweating buckets when I was implemented it simply by vectors and indexing.
Next graph-like problem will be hopefully done with RefCell/Rc
Reduce the repo and path base dependencies in diwata
to let people easily build it and try it for themselves.
I forgot that it was still hard for other users to build the project themeselves.
Currently I focusing on map generation. As land is already procedural generated, resources are the next step.
I need to find a way to implement concurrent data structures ideas faster than they land in my mind or this will not end well.
In meantime, I started a pre-RFC proposing a clarification of the semantics of the
unsafe keyword in an abstraction context (unsafe fns, unsafe traits, etc.).
I finally fixed the problem with bi-directional path tracing and get the first pictures using it:
Here you can see uni-directional path tracing on the left vs. bi-directional path tracing on the right:
Obviously I need to fix the camera rays going through the window (and hitting nothing), but otherwise, the noise level for the same amount of pixel samples goes way down. Render time is about 12 minutes.
My little learning project reached a stage where it’s actually usable. I think some parts of the code is super ugly, but hopefully my Rust will get better.
Reading the docs. Finally going to try and see for myself why this language is so loved.
I’ve got some data structures and unit tests written for my grade book application. I’m also reading Programming Rust.
Porting a simply solar system simulation with graphics from C++ to Rust.
I’ve finished the simulation engine, and now searching a good graphical 2D crate for a oversimply interface.