• 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: July 5th, 2023

help-circle
  • I know what you mean. I’ve been doing higher level development for a couple decades and only now really getting into embedded stuff the past year or two. I dislike a lot of what C makes necessary when dealing with memory and controlling interrupts to avoid data races.

    I see rust officially supported on newer ARM Cortex processors and that sounds like it would be an awesome environment. But I’m not about to stake these projects with a hobbyist library for the 8-bit AVR processors I’m actually having to use.

    Unfortunately I just have to suck it up and understand how the ECU works at the processor/instruction level and it’s fine until there are better tools (or I get to use better processors).

    ETA: I’ve thought also that most of the avr headers are just register definitions and simple macros, maybe it wouldn’t be so bad to convert them to rust myself? But then it’s my library that’s probably broken lol


  • I didn’t expect to like Balatro as much as I did. I’m a big fan of deck builders but the poker theme was not super compelling to me. But wow, I’ve had a blast with it. Just boils down to a really good set of mechanics and some ridiculous fun builds. I don’t think it will hold my attention as long as like Slay the Spire or Monster Train but it was well worth the price.






  • I know you mean software applications, but another very common application of C is almost any device that uses a microcontroller unit (which is probably dozens of things you own right now). It is incredibly adept at interfacing with processing units at a level close to the metal.

    That’s also why you’ll see OS kernels and low level system tools and libs in C as well. It provides a good balance of functionality and abstraction so you can scaffold from register manipulation and interrupt functions up to high level code very quickly.

    It also provides a good application binary interface (standards of interoperation with other languages) so you’ll find a lot of applications may be written in C++, Java, Python, etc. but they use a decent amount of core functionality implemented in C.