Skip Navigation
General Programming Discussion @lemmy.ml velox_vulnus @lemmy.ml

Do (pure) functional system programming language exist?

Sorry if the question is a little vague. Lately, I've been exploring functional languages, and I'm really ill-informed about them.

I'm aware that most of these languages use some sort of garbage collection or reference counting, also that they're (slightly) slow, and that there's no other way for them to clear their memory manually apart from having to use inline C/C++. I know that some functional language can convert to C, but I'm not really interested in that.

I would like to understand if a system programming language, that is also purely functional, exists? If so, how does memory management work in such circumstances? Can be accommodated in a way such that it helps in the creation of, let's say, the OS kernel, and not the other way round. Can it run without having to use any inline assembly/C/C++ code?

If not pure functional languages, then what about impure ones?

2
2 comments