]> git.proxmox.com Git - wasi-libc.git/blob - libc-bottom-half/README.md
Use bulk memory opcodes when possible
[wasi-libc.git] / libc-bottom-half / README.md
1 # WASI libc "bottom half".
2
3 The WASI libc "bottom half" is conceptually the lower half of a traditional libc
4 implementation, consisting of C interfaces to the low-level WASI syscalls.
5
6 This implementation is partially derived from the "bottom half" of [cloudlibc],
7 revision 8835639f27fc42d32096d59d294a0bbb857dc368.
8
9 [cloudlibc]: https://github.com/NuxiNL/cloudlibc
10
11 This implementation includes preopen functionality, which emulates POSIX APIs
12 accepting absolute paths by translating them into pre-opened directory handles
13 and relative paths that can be opened with `openat`. This technique is inspired
14 by [libpreopen], however the implementation here is designed to be built into
15 libc rather than to be a layer on top of libc.
16
17 [libpreopen]: https://github.com/musec/libpreopen
18
19 The WASI libc lower half currently depends on the dlmalloc component.