Justine Tunney
Justine Tunney
> Extension modules are possible, but require a lot of effort right now. I wish you wouldn't think of it that way. The people who maintain each platform put in...
The challenge isn't implementing the code loading. The challenge is what gets bundled, and what is loadable. cosmopolitan.a is 32mb with debug symbols stripped. It defines 4,000 functions. So here's...
OK so we now have a pretty nice static analyzer for Python sources, which turns them into ELF objects. https://github.com/jart/cosmopolitan/blob/master/third_party/python/pyobj.c Stuff like this: ``` Symbol table '.symtab' contains 26 entries:...
Another bit of good news is that I've migrated `_hashlib` to MbedTLS!
There appears to be a regression the re module too. These issues will all be resolved as we get the unit tests integrated in the build.
Thanks for the reports! That helps narrow things down. I should have a fix pushed shortly. You asked earlier about how to use the new Python compiler. Right now it's...
OK I think I've finally figured out the optimal strategy for informing the PYOBJ.COM static analyzer about implicit dependencies. Basically it looks like this: ```py if __name__ == 'PYOBJ.COM': AF_APPLETALK...
That's amazing @ahgamut. Also good news @Keithcat1! All the issues you brought to our attention should now be resolved by b5f743cdc384044299957bd94bb836eed2de26d4. I've confirmed that the HTTP client works on every...
Stack overflow checking is relatively straightforward with Cosmopolitan. ```c forceinline int Py_EnterRecursiveCall(const char *where) { const char *rsp, *bot; extern char ape_stack_vaddr[] __attribute__((__weak__)); if (!IsTiny()) { rsp = __builtin_frame_address(0); asm(".weak\tape_stack_vaddr\n\t"...
Complex math functions like csqrt() need to be ported from Musl. Contributions welcome. Bottle is welcome too. > The reason I wanted CTYPES is because it would allow me to...