TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Robyn – “Batman Inspired” Python Web Framework Built with Rust

77 点作者 vednig2 个月前

11 条评论

scosman2 个月前
Can someone explain how it works under the hood. A Rust server for python obviously needs to still run the python interpreter. Is it running many instances to get around the GIL, and doing the request management / reverse proxy / runtime management in rust?
评论 #43233148 未加载
wesselbindt2 个月前
I'm confused, in the example application I see all these async endpoints interacting with the database, but the function bodies are entirely sync. Wouldn't this block the event loop?
评论 #43230043 未加载
评论 #43238829 未加载
评论 #43229410 未加载
评论 #43229772 未加载
benrutter2 个月前
It looks like a nice design! I&#x27;d love to hear a bit more about what it offers over Django&#x2F;Flask&#x2F;FastAPI though!<p>The examples look very similar to Fast API and the requests per second comparisons make Robyn look very speedy![0]<p>I&#x27;m sure the developer has more of a vision than just &quot;faster fast api&quot; though - would love to hear more!<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;sparckles&#x2F;robyn">https:&#x2F;&#x2F;github.com&#x2F;sparckles&#x2F;robyn</a>
评论 #43229350 未加载
评论 #43229709 未加载
评论 #43229363 未加载
xandrius2 个月前
It having types makes me accept the Python bit. I&#x27;d still rather go for something in golang though, hard to beat it for web servers.
评论 #43229502 未加载
BiteCode_dev2 个月前
Why do all those micro framework copy the worst aspects of flask?<p>The global request object, the bad integration with sqlalchemy, the strong coupling with an application object that forced the indirection of blueprints...<p>If you start again from scratch, forcing people to migrate their stack and therefor leave their ecosystem behind, at least fix the glaring API problems.
yntkts2 个月前
By looking at the “File Upload” example: <a href="https:&#x2F;&#x2F;robyn.tech&#x2F;documentation&#x2F;en&#x2F;api_reference&#x2F;file-uploads" rel="nofollow">https:&#x2F;&#x2F;robyn.tech&#x2F;documentation&#x2F;en&#x2F;api_reference&#x2F;file-uploa...</a>. Robyn is subject to DoS. While it may be fast but it seems poorly designed. This day and age should use a &quot;reader&quot; concept like Go.
ddanieltan2 个月前
which part of this framework is Batman inspired?
评论 #43229147 未加载
Kwpolska2 个月前
If you hate Python so much you need to replace the linters, package managers, and now Web frameworks with Rust, why not just go all the way and write everything in Rust?
评论 #43230205 未加载
评论 #43230249 未加载
glutamate2 个月前
What is Batman? My Google skills are failing
评论 #43228960 未加载
评论 #43228882 未加载
评论 #43229032 未加载
评论 #43229228 未加载
linwangg2 个月前
The biggest differentiator between Robyn and frameworks like FastAPI or Sanic seems to be the Rust runtime. But is Python&#x27;s async actually the bottleneck that Rust is solving here?
评论 #43229948 未加载
评论 #43229365 未加载
EfficientDude2 个月前
Ugh we already have BATMAN and ROBIN as meshnet. Can&#x27;t you go with... sea man or some other thing that&#x27;s not taken?
评论 #43229816 未加载