logo

HN: AInfra – A native C virtual machine for AI infrastructure graphs

Posted by reboy |3 hours ago |1 comments

reboy 3 hours ago

Hi Hacker News, I am an 11-year-old developer going into 6th grade this August. I built AInfra because I wanted to see if I could make a highly performant, lightweight alternative to heavy Python AI frameworks.

I designed a custom binary format (.aif) and used AI as my coding assistant to help me structure a native C virtual machine (infravm.c) that talks to OpenAI via libcurl. I know my custom string-matching JSON parser is a bit brittle right now (it might break if the AI returns a string containing the keys!), but I'd love to get feedback from the systems engineers here on how to improve the overall architecture!