zig-nodejs-example
vecty

zig-nodejs-example | vecty | |
---|---|---|
2 | 8 | |
132 | 2,830 | |
5.3% | 1.0% | |
1.7 | 0.0 | |
almost 2 years ago | over 2 years ago | |
Zig | Go | |
The Unlicense | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zig-nodejs-example
-
Is there any way to interop with JS in Zig/RS/C/C++?
But if you want to interop with server side JS (nodejs) the easiest way would be to write a native add on. Node provides a c api which you can use from zig. Here's an example (not mine).
- Node.js native module written in Zig
vecty
-
Is there a Yew.rs like framework for Go?
Vecty
-
Projects without writing any of the front end.
It depends on how specifically you don't want to write HTML/CSS/JS and how broad your definition of "frontend" is. There are a handful of all-go frontend frameworks such as Vecty and Vugu of varying maturity and completeness. Then there's other libraries that more or less have you write HTML tags in go, such as go-app.
-
Is there any way to interop with JS in Zig/RS/C/C++?
It draws on Go's syscall/js library as inspiration, which is pretty powerful (I wrote a pretty popular React-like framework using it a while back.)
-
Migrating from NodeJS/Typescript into Golang. Any advise for big web application?
A note on wasm: I'm building a hobby project with it right now and have tried different frameworks, I tried vecty which is nice to compile but full of bugs and unexpected behavior. I'm now on vugu which works better but is still harder to work with than a JS framework.
-
What frontend libraries do exist in Go?
https://github.com/hexops/vecty/ is a framework for developing dynamic web frontends in Go. It's not production-ready, and will likely get some rewrites once generics drop, but it's pretty neat (I'm a contributor).
-
Go for web frontend
There's Vecty, though it's likely to get a bit of a redesign once generics drops.
-
go-app V8 release
How does it compare to https://github.com/hexops/vecty or https://github.com/bep/gr ?
-
Daz: Composable HTML components in golang
Reminds me of Vecty from the GopherJS project: https://github.com/hexops/vecty .
What are some alternatives?
mach - zig game engine & graphics toolkit
vugu - Vugu: A modern UI library for Go+WebAssembly (experimental)
go-canvas - Library to use HTML5 Canvas from Go-WASM, with all drawing within go code
spago - SpaGo is toolkit for Single Page Application.
vert - WebAssembly interop between Go and JS values.
golive - ⚡ Live views for GoLang with reactive HTML over WebSockets 🔌
gopherjs - A compiler from Go to JavaScript for running Go code in a browser
go-app - A package to build progressive web apps with Go programming language and WebAssembly.
gomponents - HTML components in pure Go.
dom - DOM library for Go and WASM
hlive - HLive is a server-side WebSocket based dynamic template-less view layer for Go.
gopherjs-vue - VueJS bindings for gopherjs
