News for hackers. Stuff that matters.
Re:Ask HN: Why do so many developers dislike C when I find i... by tuatoru on Wednesday July 30, 2025 @05:57PM (#44739975)
I've been trending towards "C with namespaces" for Arduino on AVR-8.

With namespaces you can have globals and few collisions. At the expense of more typing, of course.

You do know about the "register" storage class/keyword, I am sure. Sometimes it works.

Edit - the tooling for AVR assembler seems to be avr-gcc and make. Check out Nerd Ralph's "ArduinoShrink" library for an example of blended C and assembler:

https://github.com/nerdralph/ArduinoShrink/tree/master

There are no comments on this comment yet.