• 1 Post
  • 42 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle













  • I started with C++ too, and then ended up finding a job writing firmware pretty much all in C. There really hasn’t been anything we’ve run into that’s made us consider switching to C++; being able to (and needing to) have complete control over your memory means you can do some pretty fancy stuff with the tiny amounts of memory on our ASICs.

    We’ve been eyeballing switching to rust a little bit, but really only for other applications; the root of our main code base is over 25 years old at this point and a rewrite would take a Herculean effort.







  • Doombot1@lemmy.onetolinuxmemes@lemmy.worldA broken man
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    6 months ago

    Huh, that’s certainly interesting! The hacky solution ended up having to do with power states which is kinda annoying - I have to set the GPU to use max power state because if it goes into the min state and then I walk away for 5-10 mins, it drops out of the PCIe slot and I need to reboot. SSH still works but you can’t reattach it w/o a reboot. I’m running a PCIe gen 5 mobo though and I heard about some potential problems with that, so maybe that was related. Could also be the fact that I ran a Quadro RTX 4000 on the same system/OS for a year or so and didn’t want to do a full reinstall, so it probably had somewhat to do with leftover drivers and crap