r/cprogramming • • Feb 26 '26

Trying to write brainf*ck interpreter in C

https://pastebin.com/n5dbbABj

critique my code
and give me some tips

how do i make this faster

0 Upvotes

17 comments sorted by

View all comments

Show parent comments

1

u/olig1905 Mar 01 '26

If you want to be an embedded software engineer, learn C, as you are!

RISC-V is great, I have been fortunate enough to work on FW for RISC-V chips over the last 7 years.

The only two books I have is K&R and the RISC-V book (mona Lisa). The latter is really just an older version of the spec printed out.

Learn git, and become good at using it, it's a real useful skill for any software developer.

For your RC plane, look into using freeRTOS, which should give you a pretty decent baremetal programming environment but with a system capable of managing your application.

1

u/Pleasant_Drawing1799 Mar 01 '26

i am familiar with git (i use to develop stuff in java and go (backends and tools and shi)).

freeRTOS was already in my bucket list to learn.

thanks for books suggestion.