Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
m4tx
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
m4tx
2mo ago
Shameless plug: I've been developing https://cot.rs/ for a while, which is strongly inspired by Django, and auto migrations, admin panel, auth, etc. are among the features supported by Cot.
2.
▲
by
m4tx
2mo ago
Shameless plug: the lack of a fully batteries-included framework (with DB, auto migrations, admin, etc.) is one my biggest gripes in Rust - and that's why I've been developing https://cot.rs/ for a while.
3.
▲
by
m4tx
2y ago
Thanks - fixed!
4.
▲
by
m4tx
2y ago
While I generally agree with your comment, a lot of people actually use it because they don't use a password manager and it's more convenient then. One additional benefit to having OAuth2 support though is that you can easily set
5.
▲
by
m4tx
2y ago
Agreed! This is also something that I personally want to use in my services, so this will definitely be a first-class citizen in Cot very soon.
6.
▲
by
m4tx
2y ago
Thanks a lot for this extensive feedback! About performance: I agree, and I'm not even trying to make performance a priority in Cot. I mean, of course, it's nice to have an actual compiled language, but I think a bigger perk in us
7.
▲
by
m4tx
2y ago
Yeah, that's something I'm painfully aware of. Part of the reason I'm starting to push hard even though it's not ready yet is to gain as much feedback as early as possible to avoid expensive mistakes in the long run. Is
8.
▲
by
m4tx
2y ago
That's actually a very good point. I was thinking a lot about whether to make async a requirement. Given that sync code is often easier to reason about and debug and Cot tries to be developer-friendly, I'm leaning towards "sy
9.
▲
by
m4tx
2y ago
That's one of the issues explicitly mentioned in the article ("Request Handler API is far from being ergonomic"). This will get better in the nearest future as it's a major pain point, I'm just thinking of the best
10.
▲
by
m4tx
2y ago
Good point! I'll add some code samples soon, thanks!
11.
▲
by
m4tx
2y ago
Agreed, and what you mention here are the main reasons Cot has been strongly inspired by Django. Whether we'll achieve the same level of stability and ORM ease-of-use for the Rust-preferring community, only time will tell.
12.
▲
by
m4tx
2y ago
LOL, thanks for catching that ;) Will fix!
13.
▲
by
m4tx
2y ago
If Django works for you, I'm absolutely not saying you should switch to Cot immediately! Some people like to have as many type-safety and compile-time checks as possible, so that's the crowd we're trying to satisfy.
14.
▲
by
m4tx
2y ago
About the docs, there is a guide chapter dedicated to the ORM: https://cot.rs/guide/latest/db-models/ There are several reasons I don't like the existing ORMs in Rust, many of them being overly verbose,
15.
▲
by
m4tx
2y ago
Writing raw SQL is perhaps indeed easier for simple queries, but put some foreign keys inside or slightly more complex relationships between tables and you'll probably quickly fall into the trap of having to remember your entire databa
16.
▲
by
m4tx
2y ago
Yeah, it was a typo, just deploying a fix. Thanks!
17.
▲
Show HN: Cot: a Rust web framework for lazy developers
(mackow.ski)
113 points
by
m4tx
2y ago
|
105 comments
18.
▲
Tundra – an automatic MyAnimeList scrobbler for Linux
(tundra.moe)
8 points
by
m4tx
6y ago
|
0 comments
19.
▲
by
m4tx
8y ago
Yes, the project was fun, yet simple and fast to write! I was thinking about doing some more advanced optimizations, although I believe the opportunities for that are pretty limited for Brainfuck. Also, I think the code is pretty nice and c