3 ms·
The future of AI is Ruby on Rails
- ilrwbwrkhv 2y agoPython 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
- Alifatisk 2y agoPython do have lots of training data, but I'd say Python and Ruby are way more different than similar.
- deleted 2y ago[deleted]
- indiantinker 2y agoI 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. Maybe DHH can sponsor fine-tuning a LLM with more ruby on rails data :P
- danielbln 2y agoCurrent agentic systems don't just cram the entire code base into the context window. They use a CST (e.g., https://tree-sitter.github.io/tree-sitter/ https://tree-sitter.github.io/tree-sitter/) to have a high-level overview of function signatures and the location/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. 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'm not sure the article makes it convincingly.
- mmaunder 2y agoI 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 2y agoI thought the future of the AI is Rust. At least judging by daily posts here that follow "Let's rewrite X in Rust" pattern. Also, judging by the noise made by hordes of vocal Javascript guys on the Internet, the future of the AI is Svelte.js.
- philipodev 2y agoi bet someone, or a team, out there is already working on a "deepscript"
- Alifatisk 2y agoRoR 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. There is a talk about code golfing with Ruby where they took Ruby to a bizarre level I could barely comprehend was possible.