Title: Improve support of embedded systems with limited RAM · Issue #1089 · AssemblyScript/assemblyscript · GitHub
Open Graph Title: Improve support of embedded systems with limited RAM · Issue #1089 · AssemblyScript/assemblyscript
X Title: Improve support of embedded systems with limited RAM · Issue #1089 · AssemblyScript/assemblyscript
Description: Many embedded devices currently cannot afford to allocate even a single page of Linear Memory (64KB). In Wasm3 engine, we set memoryLimit to the actual amount available. This way, we allocate a fraction of a page (usually 2..16 Kb), and ...
Open Graph Description: Many embedded devices currently cannot afford to allocate even a single page of Linear Memory (64KB). In Wasm3 engine, we set memoryLimit to the actual amount available. This way, we allocate a fra...
X Description: Many embedded devices currently cannot afford to allocate even a single page of Linear Memory (64KB). In Wasm3 engine, we set memoryLimit to the actual amount available. This way, we allocate a fra...
Opengraph URL: https://github.com/AssemblyScript/assemblyscript/issues/1089
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve support of embedded systems with limited RAM","articleBody":"Many embedded devices currently cannot afford to allocate even a single page of Linear Memory (64KB). In `Wasm3` engine, we set `memoryLimit` to the actual amount available. This way, we allocate a fraction of a page (usually 2..16 Kb), and trap on OOB access attempts.\r\n\r\nThe AssemblyScript allocator assumes that the full page is accessible and performs OOB access during initialization, which renders it unusable in this situation.\r\n\r\nI think it would be great to have something similar to `memoryLimit` flag for `asc`.\r\nAnother option would be to support pages `\u003c64Kb`, however this is not compatible with current wasm spec. This is also discussed [here](https://github.com/WebAssembly/spec/issues/899) [here](https://github.com/ewasm/design/issues/161) and [here](https://github.com/WebAssembly/bulk-memory-operations/issues/1)\r\n\r\nLet me know what you think.","author":{"url":"https://github.com/vshymanskyy","@type":"Person","name":"vshymanskyy"},"datePublished":"2020-01-31T16:49:52Z","url":"https://github.com/AssemblyScript/assemblyscript/issues/1089"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ca7ad781-d19c-f44a-ecbe-74d5b024623b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 97A4:294DE:776705:A4FAB8:6B009E64 |
| html-safe-nonce | 1cf509bcb14341750786d29785a1e5ec98c9a326d4ab9bdd68ac422714f741b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0E0OjI5NERFOjc3NjcwNTpBNEZBQjg6NkIwMDlFNjQiLCJ2aXNpdG9yX2lkIjoiMzM3ODgyMDU5NjA5NTEzNTcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cdf4664e9eaa2fb5fc10bb8a5c0a6c6508177f0d7d428dd5a7b8336895928d8d |
| hovercard-subject-tag | issue:558245219 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/AssemblyScript/assemblyscript/1089/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bbd7d72b593fc0eb30d87174430cbec64f8a3eb02d24af4fd70a8691d38f954f/AssemblyScript/assemblyscript/issues/1089 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bbd7d72b593fc0eb30d87174430cbec64f8a3eb02d24af4fd70a8691d38f954f/AssemblyScript/assemblyscript/issues/1089 |
| og:image:alt | Many embedded devices currently cannot afford to allocate even a single page of Linear Memory (64KB). In Wasm3 engine, we set memoryLimit to the actual amount available. This way, we allocate a fra... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vshymanskyy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c95ce7e48016ae14399656b4ee812462b6f1fa28c5008c8394da64794c00b8 |
| turbo-cache-control | no-preview |
| go-import | github.com/AssemblyScript/assemblyscript git https://github.com/AssemblyScript/assemblyscript.git |
| octolytics-dimension-user_id | 28916798 |
| octolytics-dimension-user_login | AssemblyScript |
| octolytics-dimension-repository_id | 105138356 |
| octolytics-dimension-repository_nwo | AssemblyScript/assemblyscript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 105138356 |
| octolytics-dimension-repository_network_root_nwo | AssemblyScript/assemblyscript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1c9ddec8215f9a94e295c8310c3579b9c54ba31a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width