Re:FastAPI-compatible Python framework with Zig HTTP core; 7...
by pennomi on Thursday March 19, 2026 @11:33AM
(#47441212)
Honestly that’s one of the best potential uses for LLMs, translating code that was cleverly designed by brilliant humans into lower level languages.
I don’t trust LLM API design in the slightest, but they are decent at the brute force coding part, especially if you can replicate the testing suite.
Re:FastAPI-compatible Python framework with Zig HTTP core; 7...
by alanwreath on Thursday March 19, 2026 @01:18PM
(#47442718)
I was asking earlier if DHI has tests - seems they do. As does the FastAPI refactor.
Would be nice though if there was an exact test suite that ran against both that could demonstrate parity. It would be onerous to try and compare both library’s test to see which one is more comprehensive (believable) - by default I’d expect the original to be the most believable (duh) mostly because tests represent historical cases that can up and broke it.
I love the idea of using new low-level languages and making libraries faster. But I wonder if there is a better way to recognize and value the hard work that the original designers of libraries like FastAPI, Zod, Pydantic, have invested in to make those libraries.
Without the API design of those libraries, this turboAPI and dhi would make no sense.