retoor 0461db7049 feat: add async HTTP request handling with Wren callback integration and thread pool
Implement asynchronous HTTP request infrastructure for the Wren scripting language, including a thread pool with 4 worker threads, request/response queue management, and foreign function bindings for Wren callbacks. Add Response class with foreign methods for error status, status code, body, and JSON access. Include Requests class with static get/post methods that validate callback arity and delegate to foreign implementations. Integrate libcurl-based backend with thread-safe queue operations and platform-specific threading primitives (pthreads on Unix, Windows threads on Win32). Add Makefile targets for building the wren executable with libcurl, pthread, and math library dependencies.
2025-07-29 12:35:38 +00:00
S
Description
Wren, the underrated programming language that I try to revive. It's very cool, you can read the whole source in a few days. The original is not made by me, I'm just adding a stdlib to it, so you can use it for networking / servers / AI. Progress is fine.
1.8 MiB
Languages
C 86.3%
Wren 13.6%