← Back to context

Comment by infogulch

9 hours ago

How does zt compare to zmpl, another popular zig templating engine?

https://github.com/jetzig-framework/zmpl

Zmpl wants you to build up a JSON-like data tree, and templates work using those values. That unfortunately means you are back to dealing with runtime errors. Minor thing, but they also want to render the template into an allocated string, rather than writing it to std.Io.Writer directly. And then there is the syntax, I prefer the Go Templ approach.