4 ms·
> This is fairly easy to recreate on your computer. It is trivial to. The only tiny hiccup is that the wasm file cannot be served via a file:// URL due to XHR
by sgbeal 4y ago
> This is fairly easy to recreate on your computer.
It is trivial to. The only tiny hiccup is that the wasm file cannot be served via a file:// URL due to XHR restrictions, so you'll need a local webserver for it. No big deal, but a slight nuisance. Richard added a new feature to his althttpd web server just to support this very dev effort. From the fiddle source directory, do:
althttpd -page fiddle.html
and it will start up a web server and launch your browser with that page. althttpd only works for Unix-style OSes, but ... that's okay :).
> What I would like to fiddle with are compilation options, extensions, pragmas and their combinations.
The build process for fiddle is literally a single compile command (using the emscripten compiler, emcc), and build time with the -O0 optimization level is fast (a few seconds on my modest i3-based NUC computer), so such fiddling is trivial to arrange for. If you do so, and find anything interesting, please post about it in the sqlite forum.