Expert developer, Buddhist

  • 0 Posts
  • 26 Comments
Joined 2 years ago
cake
Cake day: June 21st, 2023

help-circle

  • Are you high?

    Why am I writing this post? Not because I hope for something or believe in change. These are just words. I could write this at the end, but then you would be looking for answers for me while reading, and I don’t need them. They won’t change anything.
    So here it is. I don’t claim to be a software development guru or a C language expert. I’m just a simple developer.

    What? People stopped using C because it takes forever to write. You’re still stuck adding null terminators to string arrays and stressing about memory leaks and overflows. Even the Linux kernel / Linux Torvalds are moving towards Rust. That’s evolution, and sometimes evolution is messy

    Then the rest of your thing seems to be about how people shouldn’t make money from coding? That’s one of the most valuable skills of the information age, and you can become a millionaire in a decade doing it

    Just contribute to open source if you want to do some “good deeds”







  • Well, generously I think this guys point is that you shouldn’t use rust for developing actual game logic (you’d use those higher level scripts). For game logic, it’s bad bc it’s not very iterative - and the rest of the stack sucks too but everyone knew that getting into it. But yes, I’m sure you could make a game engine with it


  • Yeah idk Rust seems superior in the less useful ways. Go’s tooling, fast build times, hyper efficient parallel GC (not kidding, it’s world class), interfaces, and simplicity are really killer features. Though honestly, even after many years, channels still confuse me - it’s like plumbing, but plumbing needs pressure gauges, emergency valves, and buffers - so it always ends up with this string cheese of events spread over multiple files. I end up using a mutex half the time


  • Lung@lemmy.worldtoRust@programming.devLeaving Rust gamedev after 3 years
    link
    fedilink
    arrow-up
    29
    arrow-down
    6
    ·
    edit-2
    8 months ago

    Interesting to read about how borrow checker constraints affect iteration speed in game dev

    Yeah seems like the wrong choice overall. I think Rust found its way to the niche of being a “new C” that’s pretty much just for when you need something very optimized like kernel modules and backend hotpaths (and Firefox I guess). That’s a cool niche to fill

    I most enjoy Go for servers, and JS unfortunately is mandatory for many things. I don’t tend to write code that requires Rust’s performance. For mobile, the Flutter stack with Dart is pretty cool. For automation & simple cli, shell scripts suit me fine (but any language can do this ok). Python is tragic, Java is evil, C# is MS Java, node/npm are a toxic hazard, and webassembly with preloaded runtimes in browsers cant come soon enough


  • Lung@lemmy.worldtoProgramming@programming.dev...
    link
    fedilink
    arrow-up
    24
    arrow-down
    1
    ·
    edit-2
    8 months ago

    Shout-out to the Flutter-Dart stack that Google made. Neither are outstanding, but Flutter compiles to native code for every platform including mobile and web. This is way more convenient than React Native (which funny enough doesn’t really work on web). Dart is a much saner lang than JS and the UI framework is much saner than React. Dependency management is fast and easy without NPM and webpack trash. So for my recent project I embedded a flutter app inside a static website, and can also have it run native on desktop or wherever. The only real downsides are an extra 1.5mb load for the dart runtime stuff, and some need to fiddle with platform specific issues and configs. Upside is I need neither xcode nor node


  • Lung@lemmy.worldtoProgramming@programming.dev...
    link
    fedilink
    arrow-up
    23
    ·
    8 months ago

    Well configuring NeoVim is basically game development / modding. But yeah it’s built as an embedded mostly single thread thing so. I also used it for AwesomeWM many years ago, whole thing was lua. I do think it’s one of the most elegant languages ever designed, with it’s very simple table/metatable mechanics