Oliver Medhurst
@honk
compiling javascript: + browser security
Porffor is now self-hosted, meaning it compiles itself with itself! This is made possible by Porffor's new rewrite, reducing its lines of code by >50% and making C output up to 5x more efficient! Here you can see the stats before and after the rewrite for Porffor itself:
(very!) early preview for a new experimental threading Porffor api. it enables intentionally low level concurrency to (try to) enable the most efficient communication feasible. here are 1 million threads alive simultaneously using only ~16gb. 16kb/thread, <1us start avg.
optimized selfhosted porffor binary is now <20mb and only takes ~1 minute to compile (>90% clang). (% change is vs debug binary) still buggy though. also still too big ;)
self compilation is now ~15% faster after some optimizations for 2c itself, and emits a smaller (unoptimized debug!) binary
cleaning up code directly correlates to smaller (unoptimized!) selfhosted binary size 😇 (the ~release binary size is much much smaller)
elysia uses >2x less memory with ~15% lower latency and higher throughput vs ~a week ago :)
fun data from optimizing how builtin apis are embedded (they are precompiled). numbers are still unoptimized/not final! oh and btw porffor can selfhost now ;)
hono uses ~10% less memory with ~5% lower latency vs a few days ago, thanks to new gc and other allocation optimizations
i guess everyone is making code review tooling now. idk if I'll release this yet