Rendered at 09:05:05 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
retep_kram 1 days ago [-]
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.
pennomi 18 hours ago [-]
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.
alanwreath 16 hours ago [-]
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.
16 hours ago [-]
alanwreath 1 days ago [-]
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
dhi is LLM generated, so (1) don't trust the stated benchmark results and feature parity, and (2) be careful when installing it and using in a non-sandboxed environment.
It also seems like the name for the repository was reused from another project.
nytrox 1 days ago [-]
Its a nice project ! I love simple and faster api library.
coldtea 20 hours ago [-]
Sounds exactly like what a bot would say, especially an account created "14 hours ago" to just post 3 similarly empty comments:
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.
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.
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.
https://news.ycombinator.com/item?id=46767871
Very interesting.
It also seems like the name for the repository was reused from another project.
https://news.ycombinator.com/threads?id=nytrox