Recreational Weekend Coding

Yep That’s Right!

I have read about a new coding language called Rust. I have used a lot of the weekend porting my triangle collision demo to this language. Kind of hard to learn a new language for an old fart like me but I succeeded in porting a decent solution using the gtk library for Rust to display the triangles. I is a language that forces you to code to avoid race conditions in your code, the compiler analysis your work and punished with errors if you have made some code that has potential race conditions embedded into it. Tough to work with and understand to from scratch, but a great help once you get the hang of it.


And the compiler is also very helpful, once you get into trouble. It will deliver help texts along the lines of consider adding this or doing that which often hits the mark or gives you a good idea of what you need to do leading you in a constructive direction. I do not know if this system language as they call it will be as popular as to be used all over the industry, but I’m in on this! Highly recommended and unit testing is also relatively easy to start using to thumbs up!

And it was also great relaxation therapy coding along, porting one of my old projects changing and refactoring it to fit the mindset of Rust and improving it at the same time, highly recommended I say. 🙂

Author: Carsten Schwartz

My name is Carsten Schwartz. I live in Stevnstrup, Denmark . I develop Apps and Computer Games. I play board games and I am an experienced GM in Warhammer Fantasy Role Play (1st and 2nd Ed). I am also painting and sculpting miniatures. Yes that's right I am a freak - No mistake there, I even exercise Ju-Jitsu twice a week too. I am using this media to track my work and organize it a little.

Leave a Reply

Your email address will not be published. Required fields are marked *