fluffy_hub

joined 2 months ago
[–] fluffy_hub@programming.dev 1 points 3 days ago (1 children)

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 2 weeks ago (3 children)
[–] fluffy_hub@programming.dev 2 points 2 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 2 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 1 points 2 weeks ago (5 children)

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.

[–] fluffy_hub@programming.dev 5 points 2 weeks ago (7 children)

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 3 weeks ago (1 children)

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.

55
submitted 3 weeks ago* (last edited 3 weeks 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 1 points 1 month ago

TLDR; I chose Rust. Thanks.

Hello everyone. I just wanted to update everyone on the result of my deliberating on Odin, Zig and Rust.

After a long time thinking it over. It has become clear that to me in personal opinion that Rust will be the best choice.

Both in terms of the compiler keeping me a solo dev producing correct code. Without the requirement for a Quality Assurance team. And also i know it really well and languages such as Odin and Zig are fantastic and I am advising my son to learn game-dev with Odin.

However, ultimately for producing quality reliable machine code. I feel that Rust is a better choice than Odin or Zig.

Thanks to everyone who commented and helped me find the decision i was looking for <3

[–] 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 1 points 2 months ago

I'm reading his book to get up to speed on Odin as we speak

[–] fluffy_hub@programming.dev 1 points 2 months ago

I agree Odin is simple which is why I’m drawn to it, after all i know computer science so really i don't need a prescribed away to do something like in Rust. Rust is amazing, but it can be slow to develop in, the points is in the compiler as for a solo dev, it reduces my need for a code quality team. Odin just gets out the way and let's you get going, it's also Go like which i'm familiar with. I've been slowly planning to stick with Rust, i might help my son learn Odin though <3

 

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 ›