4 ms·
Hey, I updated to specify that I'm specifically talking about JSON APIs.
by sylvain_kerkour 6y ago
Hey,
I updated to specify that I'm specifically talking about JSON APIs.
- ampdepolymerase 6y agoI agree,Rust development for microservices and JSON APIs is quite doable. Your new book looks quite exciting. Is there a preview somewhere?
- sylvain_kerkour 6y agoThank you! No preview is available today (I don't have enough bandwidth available) but it's on my todo list. Please feel free to subscribe to the newsletter where I will announce when it's available :) https://kerkour.com/subscribe https://kerkour.com/subscribe
- ampdepolymerase 6y agoSubscribed! Bloom is really cool, what's the current status on it?
- z0mbie42 6y agoThanks again! I'm working on it 2 days a week beside writing the book. The next major milestone is receiving emails in the inbox, but I think it will take 2-4 months to have it working.
- BiteCode_dev 6y agoEven then DRF and FastAPI offer an order of magnitude more features for free, and battle tested.
- agumonkey 6y agohow many years it took since flask to reach fastapi ?
- BiteCode_dev 6y agoDjango (2005) to DRF (2011) is a better take as the products a linked and packed with features, many versions in the making.
- ZeroCool2u 6y agoI've been looking at Rust API frameworks and the question I keep finding myself asking is, what is the FastAPI equivalent in Rust?
- steveklabnik 6y agoI don't know a ton about FastAPI, but it seems like it's based on OpenAPI. I posted below about Dropshot, which the company I work for wrote, is using and open sourced. https://crates.io/crates/dropshot https://crates.io/crates/dropshot It may or may not interest you!
- ZeroCool2u 6y agoYeah, this does look kind of similar, I'll take a look. Thank you! I'd say the most powerful part of FastAPI is that it integrates everything in a relatively opinionated way, that you would spend a lot of time setting up Flask plugins/extensions for to get an equivalent feature set. I'm not sure I'd say it's based on OpenAPI(?), but it does automatically generate OpenAPI based docs from your Python code. There's no intermediate step, the '.../docs' route just exists at runtime.