Roy Hashimoto

Results 53 comments of Roy Hashimoto

@getvictor I was asking whether we expect those SELECTs to return any rows when we see the error. That is, do you think that `result()` is being called by any...

@getvictor I suspect this occurs because your virtual table modules throw an error [here](https://github.com/fleetdm/fleet/blob/90824385806582b368b8e9a3662f8be3f7dfc90c/ee/fleetd-chrome/src/tables/Table.ts#L146). It looks like when this happens the WebAssembly stack is not properly unwound and subsequent calls...

Filed an [Emscripten issue](https://github.com/emscripten-core/emscripten/issues/21350) in case this is a bug. Update: Not an Emscripten bug - don't throw on calls from SQlite WebAssembly to JavaScript, that produces undefined behavior.

This project has been mostly dormant for a few years, probably in part because there is now a [SQLite browser API under the official SQLite umbrella](https://sqlite.org/wasm/doc/trunk/index.md). That might be a...

My guess is your problem is [here](https://github.com/Androz2091/sql.js/blob/b0dba8774e26cad502ad567293858752dd5bb53c/Makefile#L154). For some reason you're not compiling your extension with the same compilation flags used everywhere else.

> I was unable to get OPFS to work in the web extension service worker. It works in browser tabs, and in normal web workers, but specifically in the background...

> Would wa-sqlite support encryption as well? @negue None of the example VFS classes in the wa-sqlite project include encryption. I'm not aware of any third-party efforts to combine encryption...

> Instead of promoting and managing a special “provider” tab with Web Locks and MessagePorts, all tabs of the web app could simply make requests to the service worker, which...

Thanks for your insight @kripken! Sorry, but I may not be understanding quite what you're suggesting. My C code is [here](https://github.com/rhashimoto/browser-test-cases/blob/master/jspi/cfunc.c) (it's very short). `jfunc()` is the asynchronous JavaScript function,...

JSPI performance from Javascript looks to be fixed on recent Chrome Canary builds with the [checkin to reuse stacks](https://rhashimoto.github.io/browser-test-cases/jspi/).