
Pedro Margarido
Senior Software Engineer
9+ years across embedded C++ on DSP/RTOS targets, Linux platform work, build and CI, application security and LLM tooling. Strongest in modern C++ for real-time data paths. Component owner of two ASML components.
's-Hertogenbosch, Netherlands
View ResumeExperience
April 2025 - Present
Senior Software Engineer
- Component owner for UA (User Access, authentication in the main Qt application) and SM (System Manager, systemd-like service management across hosts).
- In UA, lead engineer for federated login (IAM, PAM, SSSD). I own the architecture and design, defend it in cross-team reviews, and wrote its Squish and unit tests. Shipped on every machine type for the Cyber Resilience Act.
- In SM, wrote a tool that pulls static-analysis findings off the internal server as JSON, and an LLM skill that fixes them one finding per commit for easy review. About 1,000 findings cleared, most critical, from a 25-year backlog.
- Deployed a Mistral-based PR-review agent on GitHub, adapted its harness and built the LLM-as-a-Judge evaluation set from our internal coding rules. F1 0.6 on that set; 5 to 15 severity-ranked findings per PR in the pilot.
- Knowledge-transfer sessions for the department on advanced Git, tmux code-to-test workflows and Neovim.
May 2018 - March 2025
Senior Software Engineer
- Designed the async result path from the DSP cores to the OpenWrt board: DMA into per-core shared-memory ring buffers, read position fed back to the DSP. That stopped 40k-sample harmonic vectors overrunning it.
- IEC 61000 harmonic analysis and the eDrive electric-motor efficiency chain, both on the DSP. Rebalancing the core usage doubled real-time throughput.
- Moved a team of 10 to C++11/14 and the STL on a 10M-line legacy codebase. Also designed the product line’s JSON-RPC API for configuration and data streaming.
- Brought in Google Test, TDD, CppCheck, Clang-Tidy and SonarQube. Coverage went from 16% to 27%, mostly by refactoring legacy modules until they could be tested.
- CMake build system, now the standard across all 4 product lines. Wrapped so a developer builds and runs tests with exactly the commands the pipelines use.
- Moved the manual release steps into the pipelines. OpenWrt images and manifests are built as artifacts on every PR, on on-premise agents kept current with Terraform and Ansible. Parallel incremental builds cut build time 3×.
- Owned the OpenWrt platform layer. Split it out of the main repository into a stand-alone dependency; froze and upgraded the release and its 15 critical packages twice a year.
- Migrated the department from TFVC to Git and ran the hands-on workshops for 25 colleagues.
April 2017 - April 2018
Software Tester
- Test automation in Python and C for Integrity RTOS and Linux apps: 50% more tests, 25% less regression time.
Education
MSc Aerospace Engineering (Avionics)
Instituto Superior Técnico, University of Lisbon
2016
Projects
June 2020 - Present
Automated Trading Platform
- Personal project since 2020. About 60 trading bots on AWS, Vultr and DigitalOcean, provisioned with Terraform and Ansible; Python services in Docker Compose; a C++20 coroutine dashboard aggregating data from all bots.