Fluffy Hub
- 4 Posts
- 13 Comments
Fluffy Hub@programming.devOPto
Rust@programming.dev•When you begin writing Rust like this...English
0·1 year agoHere is an update. I focused on the Node which is the smallest element of the buffer, it is what contains any meta data and the data payload. The code is heavily reduced but what is shared is pretty much verbatim maybe some minor edits
Do you often attempt to but fail to deduct things, you don’t have the skills to perform, or is this a first?
Fluffy Hub@programming.devOPto
Rust@programming.dev•Using Rust since beginning of 2023English
0·2 years agoI have came accress WGPU. But my goal is to write as close to the OS and other API’s as possible. So i will probably go with Vulkan natively but thanks for the idea!!
Your not being rude. You are just wrong, I watched it twice once before you posted when the video was about 6 minutes old, and again when you posted it. I just confirmed that it isn’t a new C.
I saw this the other day. After clicking your link i left a comment but essentially Rust is Rust, it’s more that C/C++ is at the end of its life. But i get the title aiming to mean Rust is taking over C’s role, Rust is a completely differnt beast
Fluffy Hub@programming.devOPto
Rust@programming.dev•Using Rust since beginning of 2023English
0·2 years agoI’ve been meaning to try Gleam, I hear really good things about it. Maybe I can make a Gleam-like scripting language for my game-engine.
Yes and although since originally posting, I’ve began to lean towards Rust. My son wants to learn how to program and Odin will be great for him <3
I already know C/C++, I love them but I never use them again. Rust’s borrow checker is still active in unsafe Rust, combined with Miri it detects most UB, leaks and various other problems. For instance I’m building a allocator now in Rust and i know it compiles and Miri didn’t complain, sure i can do it in C and use Valgrind but Rust makes it a dream.
I know for Odin there are 3 tools i was looking at which could validate it for UB and leaks at runtime, but what attracts me to Odin is the fact it’s not OOP and simple. I’m considering using it because i will be more debugging my game, rather than the language (to quote Zig).
But all that being said I’m good with Rust and it’s tooling, so I’m probably going to remain with Rust. But yours and everyone’s opinions is helping me form this so thank you!!
Hobby game engine, i’m debating if Odin being a quick, simple and performant language would help me get my idea from in my head into RAM
I love me some C, not C++ just C++. That isn’t to say C++ is a bad language, i just prefer the vanilla experience. I picked Rust for it’s expressive syntax and ergonomic approach to programming, also ofc the safety and the fact as a solo dev i cannot afford a quality assurance team to review my code.
I’m familiar and good at Rust. I know the syntax and can read and write it with easy but, there as some instances where Rust can be a pain. For instance quick prototyping. Rust can sometimes feel like i’m working on Rust not my engine.
Hence the Odin idea. I like the guy Ginger Bill who made it and although maybe not as performant as Rust it is simple and concise. I did investigate Zig but Zig feels like it’s a mess to be quite honest, that doesn’t mean i dislike or to any Zig fans i like it but it’s just not my cup of tea.
Also having to use Miri with Rust can make everything feel weird as Rust’s borrow checker has cases not found in other languages.
I think you might be correct. I’ve decide to build a hobby game-engine, as i was signed off from work with limited (if any chance of return), so i definitely have the time to do this and make some measurements. Good idea thank you


Ah, got it—let me clarify a bit.
Right now, I’m working with arrays and slicing them into smaller segments for indexing. Technically, I could rely on bit manipulation to generate much of this, but I’ve chosen to lean into Rust’s type system for that extra layer of expressive control.
In Rust, a slice is essentially a fat pointer: it includes both a memory address and a length. Because the slice type encapsulates both, I don’t need to manually track sizes or offsets. Plus, in debug builds, Rust automatically panics if I try to access an out-of-bounds index, which helps catch issues early. And I can use methods like
getorget_mutfor safe, optional access—either retrieving a value or returning None.Ultimately, Rust’s type system saves me from fiddling with raw bit arithmetic and length bookkeeping. It handles validation elegantly, letting me focus on logic instead of low-level guards.
PS: Although it isn’t finished just yet, I’m linking this
Nodeup with aBufandSlabstruct currently. If i remember when I’ve completed the design and I’m happy to freely distribute the code, I’ll make a paste bin and post it here for you. Always happy to help if I can :)