Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: template Clear Filter

What should a native DOM templating API look like?

If you read my previous post, The time is right for a DOM templating API, you might be wondering what such an API would look like. Let's dive into that question now. What are we building? First, let's clarify what we're trying to design here, because when people hear the abstract template API idea described, before there's a concrete proposal or examples, they can sometimes think of very different things. In webcomponents/1069 I propose that we add a "declarative JavaScript templating API"

The time is right for a DOM templating API

TL;DR: I want to propose adding a declarative templating API to the web platform. Here's why... The web platform is the most successful application runtime of all time. While the largest reason for this is the web's reach, it wouldn't be possible without the DOM API, which turns a mostly static document viewer into a highly dynamic and expressive runtime. For as much hate as the DOM sometimes receives (some of that deserved, but some really not!) the DOM is undeniably a very powerful API. This

I wrote my PhD Thesis in Typst

I wrote my PhD Thesis in Typst I recently submitted my PhD thesis, and while waiting for the physical copies to get printed I thought I'd write about something you (hopefully) wouldn't notice when reading it. I wrote it in Typst, not LaTeX. In this post I will talk a bit about what went well and what didn't. Typst (https://typst.app/) is a modern take on a typesetting language that I think has a real shot at dethroning LaTeX. I would describe the language as a mix of markdown and dynamically t

Type-based vs. Value-based Reflection

Type-based vs Value-based Reflection Frequently, whenever the topic of Reflection comes up, I see a lot of complains specifically about the new syntax being added to support Reflection in C++26. I’ve always thought of that as being largely driven by unfamiliarity — this syntax is new, unfamiliar, and thus bad. I thought I’d take a different tactic in this post: let’s take a problem that can only be solved with Reflection and compare what the solution would look like between: the C++26 value-ba