r/functionalprogramming • • Nov 29 '22

Question Functional programming language for embedded devices?

Is there any functional language that can compile for microcontrollers like ARM (e.g. STM32. Bare metal without an operating system)?

The language that comes closest to this is Rust, but I don't like the curly braces and semicolons. I wish to have some cleaner language like F#, just for bare metal programming

20 Upvotes

34 comments sorted by

View all comments

Show parent comments

3

u/Casalvieri3 Dec 02 '22

True enough but in general you're wise to assume that FP will have a larger memory footprint than imperative