Expert developer, Buddhist

  • 4 Posts
  • 33 Comments
Joined 1 year 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”







  • I just got a new laptop and was genuinely gonna try windows 11 and wsl for my coding needs. But in first boot, it demands internet to do updates. Ok, I connect to coffee shop wifi. Nope, won’t do it because it can’t handle the click through screen to accept wifi ToS. Fine. I take it home, where my Internet is great but has a glitch where it drops out for a few seconds now and then. Turns out that windows will literally cancel updating and demand I reconnect and restart for the kind of drop that I barely notice day to day. So I gave up, plugged in my ArchLinux thumb drive, and mkfs.ext4 before rsyncing my entire old computer to it





  • You can collect the data and figure out how to use it later. Just look at the Google leaks lately and what they collect, it’s literally everything down to the length of clicks and full walks through the site

    Collecting data about user interests is in itself valuable, and it’s plausible to use various metrics to analyze it, something as simple as sentiment analysis, which has been broadly done. Sentiment analysis has predated modern ML by a long margin, but you can read the wiki page on that

    But yeah just think about stuff like Google trends, tracking interest in topics, as an example of what such data could be used for. And deanonymizing the inputs is probably possible to some degree, aside from the obvious trust we place in DDG as a centralized failure point



  • 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
    7 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
    7 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
    ·
    7 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