cosmopolitan/third_party/quickjs
Justine Tunney ae5d06dc53 Unbloat build config
- 10.5% reduction of o//depend dependency graph
- 8.8% reduction in latency of make command
- Fix issue with temporary file cleanup

There's a new -w option in compile.com that turns off the recent
Landlock output path workaround for "good commands" which do not
unlink() the output file like GNU tooling does.

Our new GNU Make unveil sandboxing appears to have zero overhead
in the grand scheme of things. Full builds are pretty fast since
the only thing that's actually slowed us down is probably libcxx

    make -j16 MODE=rel
    RL: took 85,732,063µs wall time
    RL: ballooned to 323,612kb in size
    RL: needed 828,560,521µs cpu (11% kernel)
    RL: caused 39,080,670 page faults (99% memcpy)
    RL: 350,073 context switches (72% consensual)
    RL: performed 0 reads and 11,494,960 write i/o operations

pledge() and unveil() no longer consider ENOSYS to be an error.
These functions have also been added to Python's cosmo module.

This change also removes some WIN32 APIs and System Five magnums
which we're not using and it's doubtful anyone else would be too
2022-08-10 04:43:09 -07:00
..
doc Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
examples Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
tests Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
array.c Unbloat build config 2022-08-10 04:43:09 -07:00
atof.c Unbloat build config 2022-08-10 04:43:09 -07:00
atom.c Unbloat build config 2022-08-10 04:43:09 -07:00
atomics.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
bigdecimal.c Unbloat build config 2022-08-10 04:43:09 -07:00
bigint.c Unbloat build config 2022-08-10 04:43:09 -07:00
byte.c Unbloat build config 2022-08-10 04:43:09 -07:00
call.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
Changelog Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
cutils.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
cutils.h Trim down redbean a little bit 2022-03-21 19:32:30 -07:00
date.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
dbuf.c Unbloat build config 2022-08-10 04:43:09 -07:00
diglet.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
diglet.h Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
eq.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
err.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
float.c Unbloat build config 2022-08-10 04:43:09 -07:00
gc.c Unbloat build config 2022-08-10 04:43:09 -07:00
gen.c Unbloat build config 2022-08-10 04:43:09 -07:00
internal.h Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
iter.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
json.c Unbloat build config 2022-08-10 04:43:09 -07:00
leb128.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
leb128.h Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
libbf.c Unbloat build config 2022-08-10 04:43:09 -07:00
libbf.h Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
libregexp-opcode.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libregexp.c Unbloat build config 2022-08-10 04:43:09 -07:00
libregexp.h Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
libunicode-table.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libunicode.c Unbloat build config 2022-08-10 04:43:09 -07:00
libunicode.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
LICENSE Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
list.h Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
map.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
math.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
mem.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
object.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
parse.c Unbloat build config 2022-08-10 04:43:09 -07:00
prim.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
promise.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
proxy.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
qjs.c Add /.args feature to Redbean/Lua/SQLite/Python/QuickJS 2022-05-12 11:04:47 -07:00
qjsc.c Improve alloca() memory safety 2022-04-01 22:44:43 -07:00
qjscalc.js Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
quickjs-atom.inc Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
quickjs-libc.c Unbloat build config 2022-08-10 04:43:09 -07:00
quickjs-libc.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
quickjs-opcode.inc Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
quickjs.c Unbloat build config 2022-08-10 04:43:09 -07:00
quickjs.h Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
quickjs.mk Unbloat build config 2022-08-10 04:43:09 -07:00
README.cosmo Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07:00
readme.txt Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
reflect.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
regexp.c Unbloat build config 2022-08-10 04:43:09 -07:00
repl.js Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
run-test262.c Unbloat build config 2022-08-10 04:43:09 -07:00
shape.c Unbloat build config 2022-08-10 04:43:09 -07:00
str.c Unbloat build config 2022-08-10 04:43:09 -07:00
strbuf.c Unbloat build config 2022-08-10 04:43:09 -07:00
test262.conf Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
test262_errors.txt Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
test262o.conf Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
test262o_errors.txt Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
TODO Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
tok.c Unbloat build config 2022-08-10 04:43:09 -07:00
typedarray.c Unbloat build config 2022-08-10 04:43:09 -07:00
unicode_download.sh Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
unicode_gen.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
unicode_gen_def.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
uri.c Unbloat build config 2022-08-10 04:43:09 -07:00
usage.c Unbloat build config 2022-08-10 04:43:09 -07:00

The main documentation is in doc/quickjs.pdf or doc/quickjs.html.