Title: Why is encoding not in the type? · Issue #3 · AssemblyScript/universal-strings · GitHub
Open Graph Title: Why is encoding not in the type? · Issue #3 · AssemblyScript/universal-strings
X Title: Why is encoding not in the type? · Issue #3 · AssemblyScript/universal-strings
Description: Wasm engines that know available encoding statically would sometimes be able to generate more efficient code, especially when compiling without dynamic profile information. Then we can have instruction to convert between different encodi...
Open Graph Description: Wasm engines that know available encoding statically would sometimes be able to generate more efficient code, especially when compiling without dynamic profile information. Then we can have instruc...
X Description: Wasm engines that know available encoding statically would sometimes be able to generate more efficient code, especially when compiling without dynamic profile information. Then we can have instruc...
Opengraph URL: https://github.com/AssemblyScript/universal-strings/issues/3
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Why is encoding not in the type?","articleBody":"Wasm engines that know available encoding statically would sometimes be able to generate more efficient code, especially when compiling without dynamic profile information.\r\n\r\nThen we can have instruction to convert between different encodings. Conversion result can also be cached to external hash table (or to an object slot) by engine to avoid repeating the same conversion multiple types.\r\n\r\nWould JS embeddings require wrapping JS string with an extra Wasm string object in order to provide an extra WTF-8 slot? Knowing WTF-16 encoding statically would help to avoid that. \r\n\r\nThis also could scale better with adding more encodings in the future. More than two encoding slots per objects would mandate indirect access, right?","author":{"url":"https://github.com/skuzmich","@type":"Person","name":"skuzmich"},"datePublished":"2020-11-05T12:04:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/3/universal-strings/issues/3"}
| 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:de72dfbd-dbe4-412f-392a-663f7777eff2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 878A:1F1F98:65AE228:84E4F36:696D7795 |
| html-safe-nonce | cea61a09956389a838ac96346b1cd668b6089febbfa34682bb3c873f0ead295f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzhBOjFGMUY5ODo2NUFFMjI4Ojg0RTRGMzY6Njk2RDc3OTUiLCJ2aXNpdG9yX2lkIjoiMzgwMzcwNjE1NTMxMzQ5MzkwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d5aaf21cd36499ecff73f434fd3bfbb705dd82b5924f9cbc2e35b872015fb99d |
| hovercard-subject-tag | issue:736876538 |
| 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/universal-strings/3/issue_layout |
| twitter:image | https://opengraph.githubassets.com/437e52f8297d4046e22e1bacfb5d8e750f7f466af6a2e496c1eb4660048b6cbd/AssemblyScript/universal-strings/issues/3 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/437e52f8297d4046e22e1bacfb5d8e750f7f466af6a2e496c1eb4660048b6cbd/AssemblyScript/universal-strings/issues/3 |
| og:image:alt | Wasm engines that know available encoding statically would sometimes be able to generate more efficient code, especially when compiling without dynamic profile information. Then we can have instruc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | skuzmich |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| go-import | github.com/AssemblyScript/universal-strings git https://github.com/AssemblyScript/universal-strings.git |
| octolytics-dimension-user_id | 28916798 |
| octolytics-dimension-user_login | AssemblyScript |
| octolytics-dimension-repository_id | 302763721 |
| octolytics-dimension-repository_nwo | AssemblyScript/universal-strings |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 302763721 |
| octolytics-dimension-repository_network_root_nwo | AssemblyScript/universal-strings |
| 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 | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width