I joined Lemmy back in 2020 and have been using it as qaz@lemmy.ml until somewhere in 2023 when I switched to lemmy.world. I’m interested in systemd/Linux, FOSS, and Selfhosting.

  • 31 Posts
  • 120 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle
  • …definitely takes some getting used to when you come from a non-memory safe language…

    I actually think it’s more like the opposite. The compiler takes the normal rules you apply to avoid issues with a non-memory safe language like C/C++ and enforces them explicitly where memory safe languages don’t have those rules at all. I think lifetimes are much more confusing if you’ve never dealt with a user after free and usually let GC deal with it.

    Also yes the compiler warnings and errors are amazing, the difference between rustc and gcc is night and day.






















  • Yes, and the worst part is that XCode is only available on OSX.

    I once had to make an iOS app once and didn’t have a Mac so I developed the entire thing in a VM. There was no video encoding, the FPS was in the low single digits, which made it very difficult to even type. So I ended up writing the code using VSCode through SSH through Wireguard connected to the VM on the host machine, which actually worked surprisingly well. But hey, the app did work in the end.