Hacker Newsnew | past | comments | ask | show | jobs | submit | more gniting's commentslogin

Fair points... updated the headline so that it is not misleading.


Nice write-up!

Would be curious to hear your thoughts and experience with the new Prisma Postgres offering: https://prisma.io/postgres


Nice! What's the tech stack?


For scraping and all the processing, typescript. Embeddings: openai

For visualizing react (nextjs) + plotly (though the lack of mobile zoom makes me question if I should chsnge it)


You can also "talk/chat" with ChatGPT on WhatsApp by sending a message to the same number.


OpenAI went from open-source "lets create AI to save the planet" to for profit "lets make weapons smarter" real quick!


Correct.


What drove the change from Scala to Rust?


Focusing on a single db was not the original intent as migrations was a big reason why the ORM product category became (and still remains) popular.

As for performance, you are right. We do take a hit when trying to support as many DBs as possible. However, performance is not an issue. Take a look at https://benchmarks.prisma.io. Regardless, we're always open to being given examples whereby we can dig into performance related issues. So if you have any, please send them our way.


I'm surprised about what you say regarding migrations. Personally I don't know any dev that uses automatic migrations even with extremely mature ORMs like Entity Framework.

> performance is not an issue

No offense but I gotta say, those benchmarks look a bit off.

To begin with, why are you only comparing vs other ORMs instead of adding a baseline of handwritten SQL code?

Second, it's not clear how big the data set is. In the repo it seems the default size is 50 rows. Is that what you used for the results in the website?

Third, how can Drizzle take 1300ms to do such a lightweight query with a single join? Something is obviously wrong here considering Drizzle creates a single SQL query. Did you prepare the statements? Are you even using the latest version?

On top of that... it seems Prisma is taking +50ms to do a single join on two tables with 50 rows which means it would execute 20 queries per second. Not exactly performant.


We use Prisma in part due to its migration support, I want it to Just Work™ and not have to deal with writing manual migrations every time, it's a common feature request of many ORMs if they don't have it.


I achieve the same (and more) on my control4 system through programming.


yeah, got rid of FB years ago... was a good choice.


I'm literally "sittin' on the dock of the bay" with my relaxed dog sipping a hot tea watching the ferries leave. He doesn't even know what X is.


Yeah. Spending time here over the past few days. Seems less... toxic


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: