A kind soul in the Discord channel pointed out to me that Emscripten supports d8 (the v8 shell) as the "shell" environment, and the API that d8 exports has a very small surface area, so that's where I'm planning to start from.
-Tudor. On Wednesday, February 15, 2023 at 11:01:59 AM UTC-8 Tudor Bosman wrote: > So perhaps I'm crazy, but I'd like to run C code (compiled to WASM via > Emscripten) on bare embedded V8 (without a browser, and without Node). > > This would be for (headless) server-side code, so I don't care about > graphics / audio / GL / etc, but I'd like it to be complete enough to run > Pyodide with numpy. > > Obviously I'd have to implement some glue API (perhaps emulating part of > the browser API would be easier than Node's). Has anyone done anything > similar? Is there a minimal set of interfaces documented anywhere? > > There is something called headless.js in the emscripten repository which > seems to do something in this direction, but I'm not sure how far along it > is and what else is needed, or even if I'm on the right path. > > Thanks, > -Tudor. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/8b37e4dd-4f15-4c70-936b-fd7cd11f1ce9n%40googlegroups.com.