Title: Add Asyncify support by yonihemi · Pull Request #107 · swiftwasm/JavaScriptKit · GitHub
Open Graph Title: Add Asyncify support by yonihemi · Pull Request #107 · swiftwasm/JavaScriptKit
X Title: Add Asyncify support by yonihemi · Pull Request #107 · swiftwasm/JavaScriptKit
Description: What this adds Calls out to modules with wasm-opt's --asyncify pass to unwind and rewind the module's call stack when we want to put Swift execution to sleep while allowing incoming events to be handled by JavaScript. Further Reading Alon Zakai's Blog Alon Zakai's Talk Binaryen Docs Experimental JS wrapper from Google Concerns This adds a bit of complexity on the JS runtime side, especially the need to provide a 'restart' method for re-entering module execution. Should not affect existing usage as all additions are optional. At Swift build time, there is no way of knowing if module will be asyncified so no way to block usage of new methods. The Asyncify pass is extremely slow as well, so not a good candidate to add e.g. to carton's build process.
Open Graph Description: What this adds Calls out to modules with wasm-opt's --asyncify pass to unwind and rewind the module's call stack when we want to put Swift execution to sleep while allowing incoming events ...
X Description: What this adds Calls out to modules with wasm-opt's --asyncify pass to unwind and rewind the module's call stack when we want to put Swift execution to sleep while allowing incoming...
Opengraph URL: https://github.com/swiftwasm/JavaScriptKit/pull/107
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:a45e0986-9b74-3c1b-2cf8-08bcf0adbfd8 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | DAD6:6FFB:16F025C:1EA0C19:6981465F |
| html-safe-nonce | 74924c631e40d5202b13283015a7c33f2169d4d52188a33061ce9538b468624c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUQ2OjZGRkI6MTZGMDI1QzoxRUEwQzE5OjY5ODE0NjVGIiwidmlzaXRvcl9pZCI6Ijg4NDkxNTQ2OTQ5MjUzMzgyMDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7a4727737034ceeecd85e86956845e6985d3264501abe9104cfd0d94c36db963 |
| hovercard-subject-tag | pull_request:515998720 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/swiftwasm/JavaScriptKit/pull/107/checks |
| twitter:image | https://avatars.githubusercontent.com/u/2340723?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2340723?s=400&v=4 |
| og:image:alt | What this adds Calls out to modules with wasm-opt's --asyncify pass to unwind and rewind the module's call stack when we want to put Swift execution to sleep while allowing incoming events ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e5c6a4b0d37e7dc8f18034781c9e3e492fdd80eb16410763ec244c3e1caf0805 |
| turbo-cache-control | no-preview |
| go-import | github.com/swiftwasm/JavaScriptKit git https://github.com/swiftwasm/JavaScriptKit.git |
| octolytics-dimension-user_id | 49500752 |
| octolytics-dimension-user_login | swiftwasm |
| octolytics-dimension-repository_id | 244832006 |
| octolytics-dimension-repository_nwo | swiftwasm/JavaScriptKit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 244832006 |
| octolytics-dimension-repository_network_root_nwo | swiftwasm/JavaScriptKit |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 906ec698502db8129a94bb04f4413119a1291133 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width