From 9e5d2db23b806e4003fe3b7b22e3bfeaf517f61b Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sat, 20 Jan 2024 21:08:53 +0100 Subject: [PATCH] tweak README --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 177102c..3023ce3 100644 --- a/README.md +++ b/README.md @@ -7,18 +7,15 @@ squiggle.c is a [grug-brained](https://grugbrain.dev/) self-contained C99 librar - Because it is fast - Because I enjoy it - Because C is honest -- Because it will last long +- Because it will last long (because C is more [lindy](https://en.wikipedia.org/wiki/Lindy_effect)) - Because it can fit in my head - Because if you can implement something in C, you can implement it anywhere else -- Because it can be made faster if need be - - e.g., with a multi-threading library like OpenMP, - - o by implementing faster but more complex algorithms - - or more simply, by inlining the sampling functions (adding an `inline` directive before their function declaration) +- Because it can be made faster if need be, e.g., with a multi-threading library like OpenMP, by implementing faster but more complex algorithms, or more simply, by inlining the sampling functions (adding an `inline` directive before their function declaration) - **Because there are few abstractions between it and machine code** (C => assembly => machine code with gcc, or C => machine code, with tcc), leading to fewer errors beyond the programmer's control. ## Getting started -You can follow some example usage in the [examples/](examples]) folder. In [examples/core](examples/core/), we build up some functionality, starting from drawing one sample. In [examples/more](examples/more), we present a few more complicated examples, like finding confidence intervals, a model of nuclear war, an estimate of how much exercise to do to lose 10kg, or an example using parallelism. +You can follow some example usage in the [examples/](examples]) folder. In [examples/core](examples/core/), we build up some functionality, starting from drawing one sample and finishing with a replication of [Dissolving the Fermi paradox](https://arxiv.org/abs/1806.02404). In [examples/more](examples/more), we present a few more complicated examples, like finding confidence intervals, a model of nuclear war, an estimate of how much exercise to do to lose 10kg, or an example using parallelism. ## Commentary