Inside the work to get Doom on the Super Nintendo
This is definitely what the MS-DOS user interface looked like in 1990
Just casting an immutable pointer to a mutable one.
I'm being safe with it.
Bam! The percentages are small, but This quite a big reduction in overhead for a small test app. I replaced all the Vec get() and get_mut() plus associated error handling with pointers to the objects in Vec + a safe management interface.
unsafe #rustlang is perfectly okay to use
Stop using Google Chrome.
Google Chrome is moving to remove autonomy from Web users. Excuse me while I purge it from my machines. Please remember - it’s a “open source” “project” (commerically provided product) whose goal is to not to “affect our [Google’s] ability to customize ads and/or could block ads online, which would harm our business” (from their SEC 10-K filing).
Google Chrome is not built for people; it’s built for Google, by Google. You are their bank.
JetBrains CLion makes profiling #rustlang with perf a piece of cake and gives a nice flamegraph. There is so much good stuff in this IDE.
Software Engineer & Compueter Scientist, mad about Rust. Indie Game Developer, Linux Dev.
Located in New Zealand.
*Incompatible with Microsoft Windows
Fosstodon is a Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.