Urgent.News

What's breaking now, across hundreds of outlets.

AI

I'm sorry, but you still have to think

Article URL: https://itsallaboutthebit.com/i-am-sorry-but-you-still-have-to-think/ Comments URL: https://news.ycombinator.com/item?id=50043689 Points: 211 # Comments: 77

DHH, creator of Ruby on Rails, rewrote Campfire Once in Rust, along with versions in Elixir and Go. This is interesting as it shows the results of using AI agents without reading the code, especially for someone with extensive programming experience. However, the rewrites have multiple issues. The main concern is that if the prompt is not specific enough, many decisions are left to chance, as there are often multiple correct answers to questions about compatibility, latency, throughput, memory usage, and handling new content notifications after a crash.

The Rust version dropped backwards compatibility, opting for easier caching and in-process queues, while the Elixir version more closely resembled the original Rails code. Despite these differences, they are language-independent. The Rust implementation also had performance issues, with some database operations not being async and non-preemptive scheduling, potentially leading to slower execution.

Additionally, the benchmarks used were not ideal, focusing only on throughput and not considering other system properties. In general, the comparison showed that Elixir handled backpressure better but under heavy load, the Rust version only delivered 1% of notifications, compared to 100% with Elixir. This demonstrates that programming still requires human understanding and decision-making, and that AI agents alone are not sufficient to write perfect code.

Rewritten by urgent.news; may contain errors — check the original.

Source: itsallaboutthebit.com

This story

This is one outlet's version. Read the fullest account.

Every outlet that reported this, and when →

Read the original at itsallaboutthebit.com →

Report a problem with this story

More in AI

Building a Full RAG Pipeline in Spring Boot — From Ingest to Grounded Answer

Previous articles covered the individual pieces of RAG. You now know what embeddings are, how to chunk documents, and how Pinecone stores and searches vectors.

  • Ingest flow processes raw text into chunks, vectors, and stores them in Pinecone
  • Query flow retrieves top 5 most similar chunks for each user message
  • IngestService manages Ingest flow, deleting existing chunks and adding new ones to vector store

More from Sunday 11 October →