mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 15:38:22 +00:00
- Emulator can now test the αcτµαlly pδrταblε εxεcµταblε bootloader - Whipped up a webserver named redbean. It services 150k requests per second on a single core. Bundling assets inside zip enables extremely fast serving for two reasons. The first is that zip central directory lookups go faster than stat() system calls. The second is that both zip and gzip content-encoding use DEFLATE, therefore, compressed responses can be served via the sendfile() system call which does an in-kernel copy directly from the zip executable structure. Also note that red bean zip executables can be deployed easily to all platforms, since these native executables work on Linux, Mac, BSD, and Windows. - Address sanitizer now works very well
20 lines
792 B
C
20 lines
792 B
C
#ifndef COSMOPOLITAN_LIBC_FMT_PALANDPRINTF_H_
|
|
#define COSMOPOLITAN_LIBC_FMT_PALANDPRINTF_H_
|
|
|
|
#define PRINTF_NTOA_BUFFER_SIZE 144
|
|
#define PRINTF_FTOA_BUFFER_SIZE 64
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
int spacepad(int(int, void *), void *, unsigned long) hidden;
|
|
int ftoa(int(int, void *), void *, long double, int, unsigned long,
|
|
unsigned long) hidden;
|
|
int stoa(int(int, void *), void *, void *, unsigned long, unsigned long,
|
|
unsigned long, unsigned char, unsigned char) hidden;
|
|
int ntoa(int(int, void *), void *, va_list, unsigned char, unsigned long,
|
|
unsigned long, unsigned long, unsigned char, const char *) hidden;
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_FMT_PALANDPRINTF_H_ */
|