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
I absolutely love the degree of control you can get at the microcontroller level. One of my proudest projects had IRQ handlers written in assembly where I counted instruction cycles in order to guarantee worst-case latencies and well-defined impact to realtime activities in the main loop. There were also some lower-priority tasks going on that were cooperatively multitasked.
Some time later I wrote a JavaScript library that mimicked some of those cooperative multitasking concepts to queue background image downloads and other generic "ITasks" in a manner that maximally utilized available connections (which were extremely limited by servers back then) and allowed on-the-fly reordering. The frontend used it to always ensure whatever image the user was most interested in (i.e. tiny previews, and large version of the result presently hovered over or that we anticipate will be hovered next) came up as close to instantaneous as we could get, and the rest of the large images lazy-loaded in an intelligent order. The result was an experience that felt so much faster than how most other websites operated back then (and ironically even now as bloat has really slowed a lot of sites down), and users loved it.
So the concepts you learn at one end of the spectrum can definitely benefit you at the other.
I have much less fun now that so much of the web has moved to React and other cookie cutter frameworks where the level of control comes at a higher cost (in terms of learning curve, understanding all the layers of abstraction, and space for developer creativity).
In other words, just get in there and start playing with a personal project or two, and trust your instincts and all the experience that honed them!
My point is, whoever has actually done the transition, their experience may not really help you a lot. They might have a cousin who actually refers them to the company; They might have worked 10 years of embedded projects as a hobby; They might be lucky because 5 years ago there were a huge opening somewhere. I heard of a metaphor about elevators -- Several people ride an elevator to floor 100, and a reporter asked them how they get there -- one of them said he did 1,000 push-ups, another said he read 2 books, and a third said he bumped his head against the elevator's walls.
Those experience might be very well relevant, or not. But above all, copying others' experience, in THIS market, probably doesn't work. Now that you are 6 years senior than me regarding SWE experience, I think you already know what to do -- just do it.
I clicked on the title to write a comment saying exactly this. I didn't know anything about the experience or skills. Unless you're trying to get into Enterprise Java without knowing what a bean is, just doing it usually works.
Can't you just learn what a bean is on the spot as well?
If your question is instead how you make a career transition to embedded/firmware work, that's much trickier. The obvious concern is AI's impact on the job market, but I'm chiming in to observe that this isn't the biggest problem with a web->embedded transition. Good jobs doing embedded stuff, at least for people who don't already have a pedigree doing that work, has for as long as I can remember been a bottleneck for people wanting to do this stuff. There's simply a lot more high-level work to be done than low-level work.
I can see bright spots potentially ahead; I'm not a big Jevon's Paradox person but one kind of clearly Jevon-y area is hardware, because we've zorched one of the biggest impediments to getting new projects off the ground. But it hasn't happened yet, and might not.
QFT
--former(?) embedded engineer who moved into devops
Absolutely true. I'd say it's different by a factor of 10.
But on the flip side, there are a lot fewer people with the skills and/or willingness to do embedded. So it works out to pretty steady employment, at least in my career. Be aware, though, that the smaller market can mean more time spent looking before you can find a job.
Couldn’t agree more. I just had to redesign a PCB from an old client and it took me less than a tenth of the time and money that it took me to make the original fifteen years ago. What used to be $30,000 for ten assembled boards is now $2,000 shipped. Finding all the footprints and reference designs was faster than ever, what took two months end to end took a week (not including shipping wait times).
HALs and vendor libraries are in a far better state so writing the firmware felt less like slogging through a MCU reference manual and more like actual programming. LLM to do the brute forcing so that peripherals like the DMA channels play nicely together, which always burned up so much time during bringup.
Hell I was tempted to just through ESPHome on the firmware and use one of their modules with some custom C. I was dreading the redesign because I hadn’t designed any PCBs in a while but I had an absolute blast.
Just start with some cheap ESP32 boards from Amazon, a breadboard, and a wire terminal breakout for the ESP32
Something I've observed for a long time, is that if a system has O(N) pieces, then the number of interactions between pieces is O(N^2). Thus as complexity increases, most of the work will involve interactions, not basics.
For this reason, most people with engineering job titles spend most of their time organizing and arranging things, fitting things together, meetings, and troubleshooting. It only takes a small handful of people working on the pieces themselves to keep the rest of the department busy indefinitely.
Also, resources will tend to be thrown at a project when it's running late, which tends to be after the pieces have already been designed and tested. Software always comes after hardware, sometimes disastrously after, with embedded in between.
Also for this reason, while AI could affect embedded and hardware (and I'm seeing it happen), the biggest gains are to be made in taming the software beast.
Much tech comes along, for example, I think USB-C is brilliant, and I am sure that, if I knew how to make USB-C gadgets, there would be a job there for me, albeit in China, because we don't make anything in the country I am in.
I can use USB-C now, no brain cells required, but nobody is going to give me a job because I know how to plug my phone in. Yet, if I knew the USB-C specs because RTFM, then it would be a whole different ball game, even amongst developers, where they might be adapting reference implementations rather than taking a RTFM + first principles approach.
All comments shown.
Couldn't load more comments. Check your connection and try again.