Get the latest tech news

How to write type-safe generics in C


barebones and “doesn’t support” generics, but it’s actually quite easy to implement with the tools we already have. There’s many ways you might find them being implemented in the wild.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of type

type

Photo of safe generics

safe generics

Related news:

News photo

Show HN: Encore – Type-safe back end framework that generates infra from code

News photo

The X-Files: Resist or Serve is a forgotten fright, and the type of tie-in gem we sadly don't see anymore

News photo

Automated Lean Proofs for Every Type