[-] fluffy_hub@programming.dev 1 points 1 week ago

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.dev 2 points 3 weeks ago

I 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!!

[-] fluffy_hub@programming.dev 1 points 3 weeks ago

I have considered it in the past but JSON feels like the standard. But TOML could be an option. I might try to see which I like better

[-] fluffy_hub@programming.dev 6 points 3 weeks ago

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.dev 4 points 1 month ago

I'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.

52
submitted 1 month ago* (last edited 1 month ago) by fluffy_hub@programming.dev to c/rust@programming.dev

Hello,

This is my first post to this Rust community and I am happy to introduce myself and discuss what I love about this language, but first a little about myself.

I'm Alice, Fluffy to most, and she/her are my pronouns. I'm from the UK. I got a little boy who love like crazy. I'm Autistic, suffer from cPTSD and I also 🩷 Rust!!

Rust I feel appeals to Autistic people because of it's focus on accuracy and correctness. It's a common feeling people have about the language. But as the type of person I am I love it.

I began learning it in 2023, before this I was using C++. Rust showed me the importance of error's as values and helped improve the quality of my code.

Currently I'm writing a game-engine as a hobby. The game-engine is a work in progress (WIP) and I have only just begun it's development. Since the game-engine will natively support various platforms. To ensure consistency I'm writing all the platform specific code manually and building my own custom standard library for my engine, loosely based on the actual Rust standard library.

Right now I have the code in place to create/remove directories and to create, delete, write, read and set file pointer location. Convert UTF8 to UTF16 and output to the console in Unicode (Windows C API uses UTF16) and heap functions to get the process heap and create and delete memory dynamically.

Next will be the 'config.json' for which Serde will be used. Then the logger, and so on.

So it is a WIP but it's fun and given my conditions allows me to do what I love, writing Rust code.

Thanks for reading!!

Alice 🏳️‍⚧️

[-] fluffy_hub@programming.dev 2 points 2 months ago

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

[-] fluffy_hub@programming.dev 3 points 2 months ago

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!!

[-] fluffy_hub@programming.dev 3 points 2 months ago

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

[-] fluffy_hub@programming.dev 2 points 2 months ago

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.

[-] fluffy_hub@programming.dev 5 points 2 months ago

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

25
Odin or Rust (programming.dev)

I'm currently suffering a dilemma and I’m considering using Odin over Rust.

I was hoping for friendly and positively constructive assessments of which language and why from anyone who wishes to answer?

view more: next ›

fluffy_hub

joined 2 months ago