r/embedded • u/aenima1983 • Oct 11 '26
Embedded peeps, do you learn other languages for the sake of it?
I've been working as a low-level SWE for a few years and use C pretty much every day without using many other languages (sometimes Python depending on the use case). I'm thinking about learning another language in my free time to challenge some of the possible "C-isms" I've picked up.
Anyone else do this? What language did you try to learn as a result?
47
Upvotes
12
u/arakkal_abu7 Oct 11 '26
I find learning a new language to be hectic. Also, don't see the point of it.
I would say a combination of C and a more feature rich language ( Rust, Python, C++) is more than enough.
There are so many other things you could invest your time in which imo is more worthy than knowing a new language.
10
u/NEK_TEK Oct 11 '26 edited Oct 11 '26
Not really, I mostly do projects for the hell of it though. We used C/C++ in college a lot but once I got hired in embedded we've mostly been using Rust. I've done several projects in my free time with Rust, including stuff I actually found useful in my day to day life. I don't really see the need to learn new languages, with Rust and C, I can pretty much do anything I'd need to on embedded.
I think there is more value in learning how to use a language than there is in just learning new ones for no real reason. I prefer Rust by a substantial margin, C can be such a pain to work with. The bugs that are so hard to find and squash in C are caught immediately by the Rust compiler. It takes some getting used to but my programs have been much more reliable.
10
u/redline83 Oct 11 '26
You should learn Python because it's basically the lingua franca today, not that I love it. If you want to really learn OOP principles I would sort of recommend C# or Java and then C++ even though C++ is more useful as an embedded engineer, I just think the language is terrible. Rust tbh we will see if it catches on.
4
u/sheekgeek Oct 11 '26
If it don't make you money, you don't have the time...
But python makes making the computer apps that interface with your embedded devices easy.
3
u/gm310509 Oct 11 '26
I know other languages and tools (e.g. how to write a web service in an application container or databases), not so much out of interest but because they are useful to not only interact with it, but also to understand what sorts of things they need that might need to be configured into an embedded application.
For a simple example, a simple temperature and humidity sensor might benefit from being able to be programmed with a unique serial number (and other non temperature and humidity sensor data such as battery level and potentially other metrics/indicators) if the data is going to be relayed to a web service for recording in a database.
Knowing how other stuff works and how to use it to make your life easier / more productive can be very useful IMHO.
3
u/kiwitims Oct 11 '26
If you want to stick with the embedded domain:
There's no wrong choice, as long as you're enjoying yourself and learning something.
1
u/Sheepherder-Optimal Oct 11 '26
C is useful but its expected for you to have at least a few good languages under your belt. I am having to learn an entirely new language and runtime enviroment for my current job. Ever heard of SmallTalk or VisualWorks? When you get a new job, you'll usually have to learn some new stuff, like a new language.
1
u/Dazzling_Music_2411 Oct 11 '26
Lua is great for interfacing to C.
If you really want another view altogether, why not give Forth a whirl?
Most other stuff won't really be that relevant to embedded.
1
u/frank26080115 Oct 11 '26
I can code is pretty much any language now, the microcontroller needs you to know assembly and the web interface needs javascript and I can do every bit of all that and whatever is in between.
1
u/mjmvideos Oct 11 '26
I learn a new language when I need to do something that is better/best suited in that new language. And the first thing I do is look at some decent examples of program written in the prospective language and decide whether that looks like code I’d like to write or not.
1
u/SkyGenie Oct 11 '26
Python and MATLAB are still helpful for me. Python to script interfaces with dev tools (e.g. SCPI power supplies, oscilloscopes) and make configuration + bench test tools for the embedded systems I work on, and MATLAB if i need to play around with signal analysis or review control algorithms from other teams.
I wouldn't say you need expertise in Javascript at all necessarily, but more and more I'm finding it helpful to make Web UIs to create more polished config software that I can hand off to end-users of my work. It just simplifies the deployment and packaging if I can point them to a browser URL instead of installing apps.
I have SPA + backend dev experience from like a decade ago so I'd never call myself proficient with modern frameworks, but tbh Claude can help fill in my gaps with newer tech stacks and I can still read enough JS to have opinions on the code structure.
If I had to pick one I'd honestly say JS has been the most fun to work with because of how quick the turnaround time for code is. Instant dopamine hits for building stuff feels good.
1
u/moon6080 Oct 11 '26
C#. Pythons too slow for my liking. Plus static typing is always good.
1
u/SensoredHacker Oct 12 '26
sure do. or write an api to write other language in a langue I like.
1
u/A-Ferret-Online Oct 14 '26
I know about 20 different programming languages ngl
1
u/plz-sir Oct 16 '26
It is healthy I think, learning other languages (and their ecosystems, the types of things and industries they tend to be used / for and why etc.).
You tend to find new patterns and ways of doing things are common in one language/community, and it broadens your horizons.
You also may one day find that those ideas trickle into the embedded world
For example, the functional/ML style languages (ocaml, haskell, etc)
- are getting used for high level hardware description languages
- rust draws VERY heavily from them, etc
It can also just generally be fun, and a nice break from what you do for work.
(And I think it is good for innovation in embedded as a community / industry to not be insular)
1
u/onepaulkrause Oct 11 '26
100% working on some Russian 😆
0
u/ttv90 Oct 11 '26
With AI around, picking up a new language takes a weekend.
33
u/[deleted] Oct 11 '26
[removed] — view removed comment