A new year, new language

Rusty computer by Copilot

I’ve switched to learning Rust hence the corny image.

It is an interesting programming language where the Rust compiler can stop you introducing bugs at compile time. It’s very strong on ownership of variables.  However my interest lies in the area of games and to that end you can

        • get  bindings for libraries like SDL
        • generate WASM for browser games.

It’s cross-platform and you can setup VS Code with a couple of extensions on Windows and Linux (Mac as well but I haven’t got oneto test that) though I noticed a curious thing.  The same program, built and run on Ubuntu in a Hyper-V is quicker than running on Windows. Both were optiomized builds – the Hyper-V Ubuntu took 266 ns, the Windows 388 ns.

(Visited 32 times, 1 visits today)