The future of Hyperstack #461
Replies: 3 comments
-
|
Hello @catmando, it is nice to hear from you again! I have a great time working with Claude and Hyperstack since last July. Actually it does a great job with our Hyperstack apps (3), testing and cleaning up. I managed to upgrade to Ruby3.2 from 2.9~ last November and 15 days ago I started migrating it to latest supported Rubies (3.4,4.0), latest Opal, React 17,18 and 19, Rails 7.2 and Rails 8.1 with many fixes. Keyword arguments transition was a nightmare, and I had tried before, but claude made it, not easily though. Second difficulty was Opal 1.6 to 1.7, then everything almost rolled. I think Ruby, Rails and Hyperstack conventions help any ai model flourish. The comprehensive test/spec suite (whole suite now run in under 10 minutes for one set of gem versions). The nice part is that now you can test and investigate issues with just a prompt and some token credits. For our case the main motivation for this upgrade is security and performance for our apps - that is a team of two people. One problem/issue here: I didn't upgrade having backward compatibility I mind, but the path is recorded in the git repo. I do not have a spec matrix to test on different versions but green specs while transitioning. It is easier now to have an updated app than maintain a legacy. That said Hyperstack apps are easy to upgrade if you manage to upgrade the framework itself. On the other hand, although it is easy to vibe code a new rails app from scratch with Hotwire in a couple of days, Hyperstack's isomorphic paradigm deserves a working framework. It is an architectural paradigm (although fragile - I realized we have to keep in sync four different frameworks/libs) and a matter of taste. Of course many updates and enhancements can be added. As a Hyperstack user since 2018, as I remember, I would be happy to help continuing the maintenance of this project in my spare time,
Those are my humble thoughts. Have a nice evening! |
Beta Was this translation helpful? Give feedback.
-
|
your questions:
|
Beta Was this translation helpful? Give feedback.
-
|
I want to discuss specifically an idea I have had for years, which now seems possible to implement. Ruby.wasm now can run the full rails stack with a few caveats, and using the SQLite database. I propose the following (for discussion) Restructure how model updates flow between the server and client. Currently, there is a large amount of traffic, and computation that is done on the server to keep client scopes in sync. If a duplicate (of the allowed data) was kept on the client, and you have the rails ORM there, all that would need to be transmitted is the allowed data change. Once at the client, the client side can now figure out what scopes change and trigger any UI updates. We would have to do some experiments to see how this would work but it seems quite possible and would eliminate one of the ugliest parts of the server side code base. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Where is hyperstack going?
In our experience at catprint there are three big problems with hyperstack going forward: The impact of Claude.AI, performance, debugging, and getting developers up to speed.
Look forward to a discussion, and all are welcome of course!
Beta Was this translation helpful? Give feedback.
All reactions