59 points sagacity 4 hours ago 38 comments
cube00 2 hours ago | parent
As honest as it is I can't risk using this anywhere near production if this is the attitude.
eminence32 1 hour ago | parent
csoups14 1 hour ago | parent
cpursley 1 hour ago | parent
jdw64 2 hours ago | parent
haellsigh 1 hour ago | parent
jdw64 1 hour ago | parent
moffers 1 hour ago | parent
jdw64 1 hour ago | parent
bickfordb 56 minutes ago | parent
- In SQLite UUIDs are default stored as compact blobs instead of inefficient varchar/text (SeaORM)
- Timestamps were easier via jiff instead of chrono (SeaORM)
- Model structs use the actual name of the $table instead of being named like $tablemodule.(Model|ActiveModel) (SeaORM) they are just $Table. This makes writing libraries a little simpler that need to use entity struct's from two separate modules/crates otherwise you get a name collision on Model/ActiveModel and need to do alias imports.
- There's an API to fetch related data to a query similar to Django ORM. IIRC this is missing from SeaORM
- The query expression language doesn't cover as much of SQL as SeaORM but seems to be enough for most web apps.
- I didn't like how the migration system works. I would skip that part of the library
carllerche 2 minutes ago | parent
lolakutty 1 hour ago | parent
Georgelemental 1 hour ago | parent
lolakutty 1 hour ago | parent
Because fuck borrow checker..(and the horrible syntax)
_flux 1 hour ago | parent
Thus, the agent needs to iterate less.
lolakutty 35 minutes ago | parent
I mean, I didn't meant to run the LLM every compile cycle. May be just before a release or something..
BadBadJellyBean 1 hour ago | parent
felipellrocha 1 hour ago | parent
simpsond 32 minutes ago | parent
lolakutty 26 minutes ago | parent
Add to that the horror of life time annotations, you really have a mess at your hands. I have seen projects litter clone everywhere just to sidestep this mess.
Ar-Curunir 1 hour ago | parent
huijzer 1 hour ago | parent
I personally like Rust for web applications a lot because you can catch many bugs at compile time instead of during tests or runtime.
hmokiguess 1 hour ago | parent
lolakutty 1 hour ago | parent
Nah, C is good enough for me.
> catch many bugs at compile time...
Rust borrow checker is too dumb that you catch many non-bugs as well...I don't like that.
Mmm..LLMs also generates false positives. But at least you can reason with it...
officialchicken 1 hour ago | parent
cultofmetatron 1 hour ago | parent
because a non-determinist chain of reasoning is not the same as a fully deterministic algorithm. Its the best tool when a deterministic system is not feasable.
lolakutty 29 minutes ago | parent
It is not. But rust's borrow checker has its costs. It forces awkward implementations. Either suffer the horrible life time syntax, or pay the price of clone everywhere.
If you use C and run LLMs over it once in a while, I think it will get you most of the way.
benjiro29 1 hour ago | parent
Here is a idea, why not combine both? Have the advantage of Rust its build in checks and LLMs independent checks. Now you get both for a even more safe program.
lolakutty 13 minutes ago | parent
jazzypants 1 hour ago | parent
sc68cal 49 minutes ago | parent
josephg 43 minutes ago | parent
sc68cal 33 minutes ago | parent
carllerche 5 minutes ago | parent
Doing that enables a bunch of performance tricks like starting to steam the page before data i loaded and concurrently render components.
If you have to split your page into many small components, a separate view file for each becomes tedious.
lackoftactics 33 minutes ago | parent
The things that look great are LiveView and getting rid of boilerplate for client-side reactivity
muglug 10 minutes ago | parent
Funny, the Python guys say Python is the best general-purpose language for AI and the Go guys say Go is the best general-purpose language for AI etc etc
cbsmith 7 minutes ago | parent