/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

andrewkelley.me
| | hookrace.net

[AI summary] The article explains Nim's metaprogramming capabilities by demonstrating the use of procs, templates, and macros to create optimizations like faster enum parsing and custom HTML DSLs.
2.2 parsecs

Travel
| |
| | kristoff.it

Let's take a quick look at what compile-time execution looks like in Zig.
2.0 parsecs

Travel
| |
| | mrcat.au

I've started learning Zig, a new programming language in the same problem space as C, and it has some features I really like. While it's not memory-safe in the Rust way, it has a lot of compile time and runtime checks to prevent common footguns. It has packed structs and variable-width integers to allow for easy parsing of bitpacked binary formats. Its comptime metaprogramming capabilities are spectacular. And it even interoperates seamlessly with C!
2.4 parsecs

Travel
| |
| | www.ryanliptak.com

An introduction to a recent addition to Zig's standard library that allows for checking that any allocation failures are handled without introducing memory leaks, etc.
8.6 parsecs

Travel
|