• 9 Posts
  • 104 Comments
Joined 2 years ago
cake
Cake day: June 14th, 2023

help-circle







  • IsoSpandy@lemm.eetoProgramming@programming.devOdin or Rust
    link
    fedilink
    arrow-up
    3
    arrow-down
    2
    ·
    1 month ago

    For any other use case, I would have recommended Rust, but for making a hobby game engine, I would advise not using either rust or Odin and instead use C and C++. The graphics drivers have a primary C Abi and you would spend a really long time debugging C to Odin/Rust translation layer bugs than actually working on he engine.

    I would suggest write a C rendering library, wrap it in safe Rust and move on from there.



  • I started with rust 2 years back. It has been amazing since. Just build stuff you want to use, even recreate simple apps that you use everyday and have a rough idea on how they work. Getting used to the borrow checker takes time so don’t do something massive. Also if you haven’t finished the rust book and rustlings, I highly recommend them. They are amazing materials.

    You can check out my github for ideas. I have till now as far as I can remember built a notification daemon, an automatic music player, a time management app, a video server, video library manager, a C/C++ build system and lots of other stuff. Reading other people’s code will make you get best practices.

    PS Don’t learn from my builder_cpp project. The code is utter garbage, but it was how I used to do stuff in the early days


  • I had tried opensuse tumbleweed and absolutely loved the way it did things, my perfect balance between fedora and arch, but there were Teo problems that I couldn’t get over.

    1. Zypper is slow.
    2. I couldn’t get it to do parallel downloads packages.

    But it’s a great distro nonetheless.

    Also it has a similar problem with fedora that arch doesn’t. VIDEO CODECS. I don’t understand how the USA messes with my ability to play a video and I am seriously annoyed by it.