TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Cot: The Rust web framework for lazy developers

113 pointsby hyperbrainer3 months ago

12 comments

gwbas1c3 months ago
&gt; ORM integration<p>I don&#x27;t trust a web framework that&#x27;s opinionated about how I use my database.<p>It&#x27;s very hard to get a web framework right, and it&#x27;s very hard to get an ORM right. Getting both right is nearly impossible. In a situation like this, try to be the best web framework you can be, and then gravitate towards whatever ORM(s) becomes popular.<p>Take a look at Express for Node.js. It&#x27;s my favorite web framework because it can both do a lot, and it&#x27;s very transparent. It&#x27;s also not opinionated about things like the ORM.<p>&gt; web framework for lazy developers<p>Rust is <i>not</i> a language for lazy developers. (Lazy developers won&#x27;t fight with the borrow checker.) Instead, think more critically about why a Rust developer would need a web framework; and what they need out of it.
评论 #43133899 未加载
评论 #43134343 未加载
评论 #43134077 未加载
评论 #43134449 未加载
评论 #43136472 未加载
评论 #43133362 未加载
评论 #43153831 未加载
评论 #43135189 未加载
zamalek3 months ago
On the website:<p>&gt; Cot empowers you to build production-ready web apps in record time<p>In github:<p>&gt; Cot is currently missing a lot of features and is not ready for anything even remotely close to production use.
评论 #43133512 未加载
pimeys3 months ago
I really wish Rust projects would stop using the term &quot;blazing speed&quot;. It is almost like a meme already. You can write slow code in Rust pretty easily, so speed is something extra.<p>And I am a Rust developer... Seeing this term makes me cringe every time.
评论 #43133957 未加载
评论 #43133728 未加载
评论 #43134350 未加载
ramon1563 months ago
I&#x27;d describe this more as a batteries-included Axum, which is fine on it&#x27;s own. Don&#x27;t compare it with Django in this stage, because if I&#x27;m being honest, the examples aren&#x27;t very snappy.<p>I love the idea and I&#x27;ve toyed around with a Symfony&#x2F;RoR framework in Rust, but other projects like loco.rs are already doing god&#x27;s work, so I saw no reason to design another wheel.
评论 #43134288 未加载
shepmaster3 months ago
Discussed three days ago:<p>- <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43089468">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43089468</a>
rob743 months ago
From the FAQ:<p>&gt; <i>“Cot” is pronounced similarly to a Polish word “kot”, which means “cat”. Cats are known for their agility and flexibility, and also this is where the logo comes from.</i><p>Also, if I might add, the author&#x27;s last name (Maćkowski) seems to be related to the word used for &quot;cat&quot; in several Slavic languages (e.g. Croatian: <a href="https:&#x2F;&#x2F;hr.wikipedia.org&#x2F;wiki&#x2F;Doma%C4%87a_ma%C4%8Dka" rel="nofollow">https:&#x2F;&#x2F;hr.wikipedia.org&#x2F;wiki&#x2F;Doma%C4%87a_ma%C4%8Dka</a>), though apparently not in Polish...
milne-dev3 months ago
One thing I commonly see with projects like this targeting developers is they lack code examples on their homepage. Show me some code! I want to see right away what you’re doing differently than all the other libraries&#x2F;frameworks.
JodieBenitez3 months ago
I want a Rust web framework for perfectionists with deadlines. Or a Go web framework for perfectionists with deadlines. Basically a Django but with much lower CPU and RAM requirements and easier deployement. Is this the spirit of Cot ?
parhamn3 months ago
I&#x27;m still surprised no one in the golang world has put together a Django type framework. While I like the bring-your-own unixy philosophy of this stuff in the go world; I still really loved django for quick decent applications.
评论 #43138630 未加载
评论 #43145242 未加载
theptip3 months ago
This looks great. One of the glaring holes in the ecosystem is a good ORM like Django or ActiveRecord; Diesel is simply more barebones. This looks like it’s a candidate for capturing the ease of use that these offer.
the__alchemist3 months ago
I am too lazy to deal with Async at this time.
评论 #43132979 未加载
etchalon3 months ago
I mean the name Reinhardt was RIGHT there.
评论 #43143199 未加载