Steven Hé (Sīchàng)

Results 122 comments of Steven Hé (Sīchàng)

I did this ```shell ln -s /Applications/sioyek.app/Contents/MacOS/sioyek /usr/local/bin/sioyek ``` but now sioyek runs as a process in the terminal

It might be more desirable to AOT compile the JS. https://github.com/manuel-serrano/hop Their documentation is rather poor, though.

Maybe compile JS to WASM using [javy](https://github.com/Shopify/javy) and then to C using [wasm2c](https://github.com/WebAssembly/wabt/tree/main/wasm2c).

Never mind, javy uses QuickJs under the hood.

> It might be more desirable to AOT compile the JS. https://github.com/manuel-serrano/hop > > Their documentation is rather poor, though. I don't think Hop supports Windows so it defeats the...

Is [Webview](https://github.com/Boscop/web-view) a good idea?

An alive webview library would instead be [Wry](https://github.com/tauri-apps/wry) used by Tauri.

I think [`quickjs_es_runtime`](https://github.com/HiRoFa/quickjs_es_runtime) may replace `quickjs-rs` as a more maintained wrapper.

Wry won't work unless we make a big change… The webviews can only be spawned on the main thread. https://github.com/tauri-apps/wry/discussions/906

I believe [this problem I had with `cargo-update`](https://github.com/nabijaczleweli/cargo-update/issues/213#issuecomment-1353205615) is related.