4 comments

[ 4.1 ms ] story [ 20.2 ms ] thread
Its a nice project ! I love simple and faster api library.
I’m now just learning about DHI (which this project uses as the pydantic replacement that is typically used by FastAPI) - which by the way was brought up recently but seems to have gotten zero traffic

https://news.ycombinator.com/item?id=46767871

Very interesting.

One of those instances of AI-generated code replicating another library's API, using a more low-level language for the core implementation.

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.

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.