TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The future of AI is Ruby on Rails

23 点作者 swah大约 2 个月前

7 条评论

danielbln大约 2 个月前
Current agentic systems don&#x27;t just cram the entire code base into the context window. They use a CST (e.g., <a href="https:&#x2F;&#x2F;tree-sitter.github.io&#x2F;tree-sitter&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tree-sitter.github.io&#x2F;tree-sitter&#x2F;</a>) to have a high-level overview of function signatures and the location&#x2F;names of the files that contain them. They then autonomously open and read files that they think are relevant to implementing a particular feature before they start. Then you implement a feature or whatever and start with a new task and fresh context window.<p>I question the conceit of the article, which seems to be based on the flawed assumption that the entire codebase (or even large chunks of it) has to fit in the context window. There is an argument to be made for token efficiency, but I&#x27;m not sure the article makes it convincingly.
indiantinker大约 2 个月前
I thought about the same thing the other day, but most LLMs are unfortunately not trained on large Ruby on Rails codebases. If you ask Claude about the most preferred languages it can code, it would recommend using Python or Javascript.<p>Maybe DHH can sponsor fine-tuning a LLM with more ruby on rails data :P
Alifatisk大约 2 个月前
RoR is just a web framework, do they mean just Ruby? But I understand the take away from the article, because Ruby is so good at code golfing, it is perfectly suitable for cramming in a lot of information with less tokens.<p>There is a talk about code golfing with Ruby where they took Ruby to a bizarre level I could barely comprehend was possible.
mmaunder大约 2 个月前
I have a feeling AIs will do better at the middle ground in languages where some verbosity provides more context both for training and completions.
DeathArrow大约 2 个月前
I thought the future of the AI is Rust. At least judging by daily posts here that follow &quot;Let&#x27;s rewrite X in Rust&quot; pattern.<p>Also, judging by the noise made by hordes of vocal Javascript guys on the Internet, the future of the AI is Svelte.js.
ilrwbwrkhv大约 2 个月前
Python is already similar and already has a huge amount of training data. In fact Python backends written with FastAPI do much better than the absolute mess typeScript and nextjs creates when being used with a LLM
评论 #43444698 未加载
philipodev大约 2 个月前
i bet someone, or a team, out there is already working on a &quot;deepscript&quot;