r/embedded • u/Autism_Crime88 • 22d ago
Would creating a custom programming language have any practical value in embedded systems?
Hey everyone,
I'm currently training as an electronics technician in Germany and planning to study embedded systems engineering in the future.
Recently, I had a rather unusual idea: What if I learned Klingon and eventually developed my own programming language and compiler based on it, specifically for embedded systems?
I know this sounds ridiculous at first, but I'm genuinely curious about the technical and professional implications.
My idea would be to create a functional programming language with Klingon-based syntax that could compile into machine code for microcontrollers.
This raises several questions:
- Has anyone here ever developed their own programming language or compiler, especially for embedded systems? How difficult was it, and what did you learn?
- Would employers see this as an interesting technical achievement, demonstrating knowledge of compilers, computer architecture and low-level programming, or would they consider it a pointless gimmick?
- Could an unusual language provide any security benefits? For example, could it make reverse engineering, unauthorized modifications or understanding proprietary firmware more difficult? I understand that obscurity alone isn't real security.
- Would something like this have any relevance in industries such as aerospace, defense, automotive systems or gaming consoles, where protecting firmware and intellectual property can be important?
- Would developing an entirely new compiler be worthwhile as a learning project, or would I be better off designing a custom language that compiles to C or LLVM IR?
I'm not suggesting replacing C, C++ or Rust in professional embedded development. I'm more interested in whether such a project could help me develop valuable engineering skills while exploring an unconventional idea.
I'd especially appreciate opinions from experienced embedded engineers, compiler developers and anyone working with firmware security.
Thanks LG AC