Skip to content

Built a custom CMD that loads commands at runtime using dynamic linking

4 pointsnextma2 comments
On HN

In my second semester, I built this CMD out of curiosity about how a CMD can add new commands without recompiling. I used the OS’s dynamic linking mechanism to load new commands at runtime without recompiling the code.

Note: windows only

URL: https://github.com/sahilPadmani/Custom_CMD

Comments

Beyond curiosity, do you see practical use cases for this dynamic command-loading pattern?

for me it is for knowledge.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.