Topcoat: The full full-stack framework for Rust

https://github.com/tokio-rs/topcoat

cross-posted from: https://lemmy.bestiver.se/post/1232439

Comments

17 points · 15 comments · view on lemmy.world

15 Comments

BB_C@programming.dev · 10 pts · 28d (13 replies)

⚠TRIGGER WARNING⚠ two tokio-rs repos (this and toasty) have AGENTS.md files.

floofloof@lemmy.ca · -1 pts · 28d (12 replies)

These days we have to expect many projects will have them. It's really a question of how responsibly and carefully AI is used. Some people just throw in their requirements, have the AI spit out code, do a cursory check to see if it seems to work, and that's it. Other people take responsibility for the architecture and the code quality, using AI in a focused way and reviewing the results carefully. I'd look at the quality of the architecture and code before judging. I confess I have not done that yet with this one; I just thought it sounded potentially interesting.

There are quite a few ways to write web applications with Rust these days, and while this sounds like it has potential, I'd still pick frameworks that are a little more mature for my own projects.

natecox@programming.dev · 13 pts · 27d (4 replies)

Or, we could choose not to use slopware. Especially when they appear to mostly be wrappers around software we can configure ourselves.

It's hard to responsibly use tech built irresponsibly.

tatterdemalion@programming.dev · -1 pts · 25d (3 replies)

How do you know it was built irresponsibly without reading the code, which is something you should be doing when adopting a dependency anyway?

natecox@programming.dev · 3 pts · 24d (2 replies)

See: data centers, noise and cooling.

See also: intellectual property, theft of; infringement, copyright.

tatterdemalion@programming.dev · -2 pts · 24d (1 reply)

You don't know the direct impact of this project on data center usage because you haven't observed the development process. And you don't know whether it infringes on copyright because you haven't read the code.

natecox@programming.dev · 2 pts · 24d

See also: model training, mechanics of

foenkyfjutschah@programming.dev · 3 pts · 26d (6 replies)

you got me at "responsibly" burning resources.

floofloof@lemmy.ca · 1 pts · 26d (5 replies)

I'm using it locally, with models my existing computer can handle. I think, but I'm not sure, that it's better for the environment than buying into some massive model hosted in a data centre. And I don't want to lose my skills so I still try to do as much as I can without calling on it.

HoloPengin@lemmy.world · 2 pts · 25d (1 reply)

I will say that using a super efficient cloud model (deepseek for me, v4 flash is very cheap) is probably more efficient than using a local model in most cases, especially if you need strong capabilities. The question is whether your own grid or the provider's grid is more environmentally friendly (hint: china's energy mix is about 50% fossil fuels while the US's mix is around 75% fossil fuels overall)

Training is of course expensive still, but Chinese labs have all but caught up to US labs despite much lower compute resources being available to them.

floofloof@lemmy.ca · 1 pts · 25d

That's a fair point. Where I am is about 28% fossil fuels I believe, so it's a slightly different calculation.

foenkyfjutschah@programming.dev · 1 pts · 25d (2 replies)

did you generate your model locally?

floofloof@lemmy.ca · 1 pts · 25d (1 reply)

No, and I do understand that training is the most energy-intensive part of the process. I don't know how exactly it divides up: how much of the work of massive data centres is training and how much is running people's queries on finished models.

foenkyfjutschah@programming.dev · 1 pts · 19d

maybe ask the vendor to let him pay the actual cost plus a proper profit margin to figure that out?

idealpink@feddit.nu · 1 pts · 26d

Looks like pretty nice dx. Will keep an eye out