cosmopolitan/third_party
Justine Tunney 80b211e314 Add raw memory visualization tool to redbean
This change introduces a `-W /dev/pts/1` flag to redbean. What it does
is use the mincore() system call to create a dual-screen terminal
display that lets you troubleshoot the virtual address space. This is
useful since page faults are an important thing to consider when using a
forking web server. Now we have a colorful visualization of which pages
are going to fault and which ones are resident in memory.

The memory monitor, if enabled, spawns as a thread that just outputs
ANSI codes to the second terminal in a loop. In order to make this
happen using the new clone() polyfill, stdio is now thread safe.

This change also introduces some new demo pages to redbean. It also
polishes the demos we already have, to look a bit nicer and more
presentable for the upcoming release, with better explanations too.
2022-05-14 04:33:58 -07:00
..
argon2 Make improvements 2022-04-24 10:06:05 -07:00
bzip2 Improve memory safety 2021-10-13 17:27:13 -07:00
chibicc Make improvements 2022-04-27 05:39:39 -07:00
compiler_rt Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
dlmalloc Make improvements 2022-04-29 00:42:47 -07:00
gcc Elevate .text.syscall to .privileged 2021-02-06 04:49:22 -08:00
gdtoa Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
getopt Add syscalls to Blinkenlights and fix bugs 2022-05-13 13:31:21 -07:00
libcxx Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
linenoise Make improvements 2022-05-12 06:45:36 -07:00
lua Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
lz4cli Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
make Add syscalls to Blinkenlights and fix bugs 2022-05-13 13:31:21 -07:00
maxmind Add maxmind to redbean 2022-03-18 03:17:08 -07:00
mbedtls Add syscalls to Blinkenlights and fix bugs 2022-05-13 13:31:21 -07:00
musl Apply fixes and speedups 2021-10-04 03:23:31 -07:00
python Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
quickjs Add /.args feature to Redbean/Lua/SQLite/Python/QuickJS 2022-05-12 11:04:47 -07:00
regex Apply fixes and speedups 2021-10-04 03:23:31 -07:00
smallz4 Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
sqlite3 Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
stb Change noinline to dontinline (#312) 2021-11-12 15:12:18 -08:00
xed Improve signals and memory protection 2022-04-12 22:11:00 -07:00
zip Make improvements 2022-04-28 09:57:07 -07:00
zlib Add zlib gzip functions 2022-05-12 12:17:40 -07:00
third_party.mk Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00