@GergelyOrosz Have you looked at Roundhouse and Spinel? Matz and others have been pushing Ruby and RoR in this same direction (esp. since DHH’s keynote), with performance gains of up to 53x (for Spinel).
My question would be how they use AI. I teach Web Application Development, and the students are moving very fast this semester. The gains are not coming from agent usage, though (we haven't touched them yet); the gains are coming from the ability to lookup error messages, and the insight of when/how to do so.
@dhh Great! And what about the priors based on those benchmarks?
Two points:
1. Unreadability != performance
2. The humans caught this by reading the code!
Different direction, but what about Ruby on Rails for the API backend? It is still the best-in-class ORM, and comes standard with a built-in API only mode. Replace HOTWIRE with SolidJS, code a translator for drizzle, and wrap the above in a Solid-on-Rails gem, and you could have a powerful combo.
@inazarova I think the way forward will still be via deterministic languages and frameworks, with agents generating minified executables for portability (e.g. Spinel and/or Roundhouse for Ruby on Rails), and translating your codebase to native applications as needed.
@jackiehluo@GergelyOrosz You can control a lot from the database schema, but you can't guard against all CVE's from just the schema. What about SQL injection, privilege escalation, XSS or other?
Is it maintainable? Is it accessible? Is it performant? Is it secure?
If the above doesn’t matter, then the dark factory works fine. If the above does matter, then someone somewhere still has to read the code. And for that, it needs to be readable and understandable.
There are still a few of us left that care:-)
@GRITCULT Open source is much harder. You have to think about all possible use cases (not just your one-off implementation). You have to focus on code quality as your top priority (for maintainability). And there is no security team to fall back on if you make a mistake.
First vim, then linux, now tmux!
My favorite feature of tmux is that you can run it remotely as well (no GUI required). I use this to isolate my dev environment via local VM's.
This eases configuration changes to the development environment[s] (think one per client), and eases upgrades to the main OS, as well.
Just start up your local VM (Virtual Box, UTM, or other), SSH in, point your brower to the IP, and you're good to go.
@AndreyEreminDE@strzibnyj I think there is still a place for devise. Eliminating dependencies can be nice, but having the authentication controllers embedded in your app can be a liability too (cf, @remote_ruby, 8/16/2024). Also, there is no 2FA functionality in native Rails authentication yet.
@arukomp@Hasen_Judi It varies depending on the size/number of database queries involved (which is why I mentioned the sign in page for reference). But I still get at least 25 rps on the most expensive pages with this particular app with little to no latency. That is pre-tuning, as well.