Archimedes – A Python toolkit for hardware engineering

3 months ago (pinetreelabs.github.io)

Given the name I was hoping this would be something specific to Arm hardware.

Oh well I guess the Archimedes wasn’t that we’ll known.

Are the 50 for loops truly necessary in the manual C code example of a Kalman filter? At least introduce a few functions (that could be inlined and loop-fused) for some matrix operations?

Its specifically meant for control systems no?

hardware engineering is a very broad field and the title is misleading

  • This is my project/blog post and yes, I've gotten that feedback a couple of times. I mostly work in control systems and probably reflexively think narrowly about that context. But it's definitely tailored to controls - I wasn't intentionally trying to oversell it or anything.

  • It’s the title of the blog post and I didn’t want to change it. But yes, it seems to focus on the specific subset of hardware engineering that’s control systems.

  • It's C codegen using casadi under the hood. Most embedded systems can compile some form of C.

Good luck displacing MATLAB, it's great there's an OSS alternative here.

(Side note: While running Python itself on a microcontroller is growing in popularity for educational and hobby applications, there’s no real future for pure Python in real-time mission-critical deployments.)

Bridging the two could be a real win for people using hardware like the M5Stack ecosystem, which has a wealth of peripherals and a robust Python stack.