Get the latest tech news

Type-safe HTML templating in Zig


I’ve done a lot of web development over the years. I started around the year 2000, just after PHP 3.0 was released and started taking over the web world. I’ve used all kinds of approaches for generating HTML: raw PHP, string concatenation in Python, Smarty templates in PHP, Template Toolkit in Perl, and Jinja/Django templates in Python. Then, as the world moved on to SPAs and JavaScript frameworks, I stopped working on frontends.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of type

type

Photo of zig

zig

Photo of safe HTML templating

safe HTML templating

Related news:

News photo

Fetching AMD SEV Reports (With Zig)

News photo

Jaguar reveals the Type 01 — but the production EV is splitting opinion

News photo

In early clinical trial, people with Type 1 diabetes are able to go off insulin