Skip to content

Instantly share code, notes, and snippets.

View pbackus's full-sized avatar

Paul Backus pbackus

View GitHub Profile
issue c zig (release-safe) rust (release) Nim (release) Nim (danger) D (@safe)
out-of-bounds heap read/write none runtime runtime runtime none runtime
null pointer dereference none runtime runtime runtime none runtime¹
type confusion none runtime, partial runtime compile time compile time compile time
integer overflow none runtime runtime runtime none wraps
use after free none none compile time handled by gc handled by gc handled by gc or rc
double free none none compile time handled by gc handled by gc handled by gc or rc
invalid stack read/write none none
@pbackus
pbackus / alsaseq.d
Created May 29, 2023 19:28
ALSA sequencer bindings for D
/**
Bindings for the ALSA sequencer API.
See http://alsa-project.org/ for documentation.
License: GNU Lesser General Public License version 2.1
Authors: Jaroslav Kysela <perex@perex.cz>, Abramo Bagnara
<abramo@alsa-project.org>, and Takashi Iwai <tiwai@suse.de>.
D bindings by Paul Backus <snarwin@gmail.com>.
@pbackus
pbackus / enum-unions.md
Created September 12, 2024 02:38
Enumerated Unions - Draft DIP

Enumerated Unions

Field Value
DIP: (number/id -- assigned by DIP Manager)
Author: Paul Backus (snarwin@gmail.com)
Implementation: (links to implementation PR if any)
Status: Draft

Abstract