Re:Exploring Goja: A Golang JavaScript Runtime
by thangngoc89 on Friday September 06, 2024 @02:48PM
(#41468716)
Actually I decided to learn golang for extending using Golang for better DX (type hints and compiler errors)
Re:Exploring Goja: A Golang JavaScript Runtime
by throwaway13337 on Friday September 06, 2024 @03:13PM
(#41468895)
It's certainly a good idea to know golang while using something like pocketbase.
However, one of the strengths of pocketbase, I think, is that the creator chose to add bindings for a very well known scripting language (js) to allow projects to be rapidly developed. It feels like django rethought.
Using go for the base of your project and then gluing things together via scripting seems like a good idea. It's quite a big feature of the framework.
Re:Exploring Goja: A Golang JavaScript Runtime
by skeeter2020 on Friday September 06, 2024 @06:18PM
(#41470124)
performance seems pretty solid too, removing one of my prime motivators for switching to Go for extension work. PocketBase just seems to have made a lot of great decisions based on the conceptual integrity of the project goals.
Re:Exploring Goja: A Golang JavaScript Runtime
by jtarchie on Friday September 06, 2024 @10:20PM
(#41471102)
I've used Pocketbase for some other projects. A quick small web app, but it was so easy.
Re:Exploring Goja: A Golang JavaScript Runtime
by steve_adams_86 on Saturday September 07, 2024 @10:17PM
(#41477743)
PocketBase is a ton of fun. I’ve been using it for building my business’s store, and integrating with stripe was such a breeze. I’m using it sort of like a headless CMS/store. I considered other things like Payload CMS (which is awesome too) but the simplicity and productivity of pocket was such a draw. I don’t regret it.
Pocketbase is the framework that makes me want to switch to golang. It just makes a lot of sense.
One thing that concerned me, though. How do I debug goja? It doesn't seem like I can set breakpoints as usual.
https://pocketbase.io/