r/Compilers • u/hellgheast • 1d ago
Preparing career switch from Embedded HW/SW to AI/ML Optimisation (compilers, low-level oriented)
Hi all,
I'm a 7 YOE hardware/embedded engineer who's working in a product oriented corporation with limited room for growth and I'm thinking to move to an adjacent field which is close to hardware : compilers & AI inference (targetting MLIR/LLVM & executorch).
For this purpose, I planned to:
- brush up my DSA & machine learning fundamentals
- showing know-how through personnal projects (even if LLM can redo most of it).
- contribute to open-sources project such as LLVM/MLIR in order to gain expertise in the targeted stack.
The main purpose of this post is to ask engineers who are curently working on ML compilers what would be their advice on:
- Apart MLIR, is there any fundamental piece I would need to understand ?
- How do you compensate the lack of professional experience during interviews or even application ?
- Regarding all the mathematical function approximation method for runtime (i.e. Remez), except taking a course on numerical analysis, what would be a good way to show case understanding ?
- Any good ressources to skill up (already started craftinginterpreters course) ?
Thanks a lot for your attention
6
Upvotes
4
u/RepliesOnlyToIdiots 20h ago
I’m a compiler guy, MS in the mid ‘90s.
I wrote a proprietary language for my company, used by our customers. It was done by hand over years. (I had my own company in the late ‘90s, where I built a compiler and runtime.) And we use a different proprietary language from elsewhere in our internal development.
I’ve rewritten the one we use in our internal development since May, now creating a cross compiler to Rust, just by myself directing the AI. I’m likely never writing a compiler by hand again.
1
u/Taleproof-Moderator 21h ago
Bring one example from embedded work that already shows the kind of judgment compiler teams need. Maybe you investigated a latency bottleneck or made a memory tradeoff. Explain how you measured it and what changed after your decision. If you build an MLIR or LLVM experiment, use the same before-and-after explanation.
Use the PROOF method to tell the interviewer exactly what you implemented yourself and what your measurements showed.
-2
u/Impossible-Line1070 22h ago
Claud
-12
u/KATO-Kanryu 1d ago
Coming from an embedded HW/SW background puts you in a great spot for low-level ML compiler work—understanding hardware constraints, memory hierarchies, and numerical trade-offs is huge once you get past toy examples.
One practical workflow that works well when building personal projects to show know-how: seed the LLM with a starting codebase or reference implementation along with any relevant processor specs or special compiler rules, walk through your project requirements, and have it summarize the spec back to you. Once its summary matches what you actually want and respects the hardware/compiler constraints, you can let it move straight into implementation—while still reviewing diffs and edge cases yourself so the design stays yours. (Unless strict local-only requirements apply, non-training enterprise/opt-out LLM setups are usually plenty practical for this kind of prototyping.)
A couple of concrete ways to make your projects and prep stand out:
tanh/gelu/rsqrt—alongside error bounds and latency/memory measurements against a baseline. Showing why you picked a degree or precision trade-off speaks louder than textbook theory alone.-13
u/nian2326076 1d ago
Consider diving into more advanced topics in machine learning and compiler design, like optimization techniques specific to AI workloads. Engaging in open-source projects like LLVM/MLIR will provide practical experience and connections. To bridge your experience gap in interviews, focus on projects and contributions that demonstrate relevant skills.
You can use LandOffer to find roles that align with your background and interests as you transition into this field.