Get the latest tech news

Rust Is for the Engine, Not the Game


Macros are cool! But, if we're going to create another language anyways...

You can either embrace Rust's borrow checker, inheriting its safety and efficiency but losing on style and readability, or you can create systems that feel closer to something like typical UI programming. To be clear, some of these issues can be addressed with something like PhantomData generics to maintain type state before runtime, but many are built deep into the engine or would require something like 'real' reflection (or additional const facilities). For example, the plugin system has support for dynamic loading, so most techniques like const, compile-time reflection, and PhantomData marker types are difficult or impossible to implement without panicking.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of game

game

Photo of engine

engine

Photo of Rust

Rust

Related news:

News photo

Wevr raises $3.5M for spatial computing and game production

News photo

Rust-Written Redox OS Continues Gravitating Toward The COSMIC Desktop

News photo

GAME shutting reward scheme next month - and you should use any remaining credit while you still can