Replies: 2 comments 1 reply
-
I was thinking that default gRPC support would work better, gRPC manages sockets, and allows for type safe streams, if there is a go library that can compile go structs into .proto code then it would be a big addition to the framework and would greatly improve the frontend to backend communication. |
Beta Was this translation helpful? Give feedback.
-
Hey @amo13, thanks for your interest in Bud! I wrote something in a HN comment, so I'll pull that in here since the current plan hasn't changed:
I haven't looked too closely at LiveView yet. I did flip back and forth between going with the Hotwire approach (I guess inspired by LiveView?). It was a tough call, but I ultimately decided to server-render JS. This thought-experiment helped:
Bud will eventually ship with it's own JS evaluator. Either through https://github.com/dop251/goja or through porting https://github.com/bellard/quickjs to Go (~25kloc of C) |
Beta Was this translation helpful? Give feedback.
-
Thank you a lot for this amazing project! Finally something actually viable for go.
I'd like to suggest considering to add something like hotwire. It is the new default in Rails and its integration seems to make a lot of sense.
Beta Was this translation helpful? Give feedback.
All reactions