cosmopolitan/examples
Justine Tunney f4f4caab0e Add x86_64-linux-gnu emulator
I wanted a tiny scriptable meltdown proof way to run userspace programs
and visualize how program execution impacts memory. It helps to explain
how things like Actually Portable Executable works. It can show you how
the GCC generated code is going about manipulating matrices and more. I
didn't feel fully comfortable with Qemu and Bochs because I'm not smart
enough to understand them. I wanted something like gVisor but with much
stronger levels of assurances. I wanted a single binary that'll run, on
all major operating systems with an embedded GPL barrier ZIP filesystem
that is tiny enough to transpile to JavaScript and run in browsers too.

https://justine.storage.googleapis.com/emulator625.mp4
2020-08-25 04:43:42 -07:00
..
package Add further clarity to example package 2020-06-18 16:23:41 -07:00
auto-launch-gdb-on-crash.c Add example for auto debugging and asm() usage 2020-06-26 16:09:04 -07:00
backtrace.c Initial import 2020-06-15 07:18:57 -07:00
bigmem.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
breakpoint.c Initial import 2020-06-15 07:18:57 -07:00
cp.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
cplusplus.cc Initial import 2020-06-15 07:18:57 -07:00
crashreport.c Initial import 2020-06-15 07:18:57 -07:00
ctrlc.c Initial import 2020-06-15 07:18:57 -07:00
date.c Initial import 2020-06-15 07:18:57 -07:00
dinlerp.c Initial import 2020-06-15 07:18:57 -07:00
examples.mk Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
findprime.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
fld.c Initial import 2020-06-15 07:18:57 -07:00
forkrand.c Initial import 2020-06-15 07:18:57 -07:00
forky.c Initial import 2020-06-15 07:18:57 -07:00
generalized-automatic-datastructure-printing.c Initial import 2020-06-15 07:18:57 -07:00
gui.c Initial import 2020-06-15 07:18:57 -07:00
hello.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
hello.js Initial import 2020-06-15 07:18:57 -07:00
hello2.c Initial import 2020-06-15 07:18:57 -07:00
hello3.c Initial import 2020-06-15 07:18:57 -07:00
hello4.c Initial import 2020-06-15 07:18:57 -07:00
hellojs.c Initial import 2020-06-15 07:18:57 -07:00
hidecursor.c Initial import 2020-06-15 07:18:57 -07:00
invtsc.c Initial import 2020-06-15 07:18:57 -07:00
ispell.c Add spellcheck example 2020-06-27 12:25:40 -07:00
kilo.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
life.c Initial import 2020-06-15 07:18:57 -07:00
mappy.c Initial import 2020-06-15 07:18:57 -07:00
nesemu1.cc Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
now.c Initial import 2020-06-15 07:18:57 -07:00
peek.c Initial import 2020-06-15 07:18:57 -07:00
pipe.c Initial import 2020-06-15 07:18:57 -07:00
poll.c Initial import 2020-06-15 07:18:57 -07:00
printargs.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
printmysymbols.c Initial import 2020-06-15 07:18:57 -07:00
printprimes.c Initial import 2020-06-15 07:18:57 -07:00
rawmode.c Initial import 2020-06-15 07:18:57 -07:00
rusage.c Initial import 2020-06-15 07:18:57 -07:00
stat.c Initial import 2020-06-15 07:18:57 -07:00
subprocess.c Initial import 2020-06-15 07:18:57 -07:00
tiny-raw-linux-tutorial.S Polish up repository and other revisions 2020-06-16 06:38:43 -07:00
ttyinfo.c Initial import 2020-06-15 07:18:57 -07:00
uname.c Initial import 2020-06-15 07:18:57 -07:00
unbourne.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00
x86split.c Add x86_64-linux-gnu emulator 2020-08-25 04:43:42 -07:00