Ask HN: Tips for transitioning from web development to embedded/firmware?
153 pointsI started my career 15+ years ago doing native development (c, c++, etc), but the last decade I've been doing fullstack web applications.
I'd like to transition closer to my roots with a job doing primarily c, c++ or rust. The natural place seems to be in embedded development or firmware work. How feasible is the transition this late in the game? Any advice?
Comments (96) 61 threads
Earlier commentsAs someone who frequently hopped around across different domains, the key is demonstrating that you understand their problems and can provide value. Also, being curious helps.
Also, today with AI am not sure how much native development is going to matter. A handful of best practices in an already set up project plus an AI agent is gonna spit out very workable code. Right now the problem space is very much about reasoning about the larger system, de bugging stuff, thinking about how pieces work together, going in the lab and connecting debuggers so that they agent can do stuff to the hardware, etc.
it's already being done without humans, you are already far too behind here
Embedded development has never had a lower bar to entry. There are cheap development boards, free tools, and modestly priced test equipment. Doing embedded development is entirely up to you.
Getting someone to pay for your time doing it is just the generic problem of getting someone to pay for your time doing something you would prefer to do. It depends on other people and your social capital
Who you know, how good a hang you are [1], the economics of the field, your opportunity cost and compensation requirements, etc. are what matter most. Luck aside there’s no free lunch. The place to start is your building your network. That’s hard.
[1] technical skill might or might not be a determining factor within a workplace culture.
You’re also going to have to get comfortable with some level of electronics, because it’s very rare someone wants embedded development done that doesn’t interact with the outside world in some way, and that’s going to require knowing how to drive some IO.
By the way, this course was hands down the most hardcore thing I ever did. At one point I had to count high pulses for a number of c for loop ticks to read a temperature, in the process of writing the driver by hand (no AI yet), ending up with too high readings, and I couldn't debug it since it's actual pulses of electrons in the wire, once you signal it to start you can't stop it. In the end it was an off by one error, but not the usual kind, I shifted left 1 bit too much. I got stuck like 2 hours in the library trying to figure out what went wrong (I always suspect it's the hw fault, naturally), so that aha moment was really fun!
There is something special about creating something physically. I wish you make it soon and have fun!
Recurring theme here on HN. It's as if programmers are scared to directly touch hardware.
I remember a thread where I explained how sending infrared remote codes worked (RC5 iirc). It was something like "set a bit on some IO port, waste a specific amount of CPU cycles, reset that IO port bit, waste some more CPU cycles. Repeat a fixed # of times, repeat that for # of bits to send".
One poster kept naggin it wasn't that simple: the bits had to be modulated on a carrier frequency. I countered "yes, high-times + low-times + CPU frequency + a # of pulses = close enough to carrier frequency. That's really all there is to it". Poster somehow couldn't believe it / wrap their head around it.
Personal view: not scary! Follow some demo project, switch your LED on, switch it off, and before you know it you have your blinkenlight. Go from there.
All comments shown.
Couldn't load more comments. Check your connection and try again.