Title: discuss: object serializer/deserializer + transferables · Issue #6300 · nodejs/node · GitHub
Open Graph Title: discuss: object serializer/deserializer + transferables · Issue #6300 · nodejs/node
X Title: discuss: object serializer/deserializer + transferables · Issue #6300 · nodejs/node
Description: I wanted to propose this issue as a top-level home for discussions from multiple issues, amongst #2133, #3145. Both issues are too big to have immediate action (judging from what I have read), but they have a serializer/deserializer feat...
Open Graph Description: I wanted to propose this issue as a top-level home for discussions from multiple issues, amongst #2133, #3145. Both issues are too big to have immediate action (judging from what I have read), but ...
X Description: I wanted to propose this issue as a top-level home for discussions from multiple issues, amongst #2133, #3145. Both issues are too big to have immediate action (judging from what I have read), but ...
Opengraph URL: https://github.com/nodejs/node/issues/6300
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"discuss: object serializer/deserializer + transferables","articleBody":"I wanted to propose this issue as a top-level home for discussions from multiple issues, amongst https://github.com/nodejs/node/pull/2133, https://github.com/nodejs/node/issues/3145.\n\nBoth issues are too big to have immediate action (judging from what I have read), but they have a serializer/deserializer feature in common, `node`, `c++` and `v8` are not providing out of the box. @bnoordhuis mentioned that it seems to be unrealistic to drag in `Blink` code because of the many dependencies within that repo. I had a look also into their `WebWorker` implementation, which is fairly huge.\n\n\u003e (Ignoring the WebWorker and IPC discussion) the question would be whether we first wanted to provide an efficient serializer/ deserializer + transferables of c++ objects, which might aid a lot of problems at once and also be a nice standalone feature.\n\nReading up on this from various c++ resources this is of course a non-trivial task. Whereas I also don't believe there will ever be a single method for arbitrary object serialization (please prove me wrong), due to the way v8 works. We would need to judge this before hand because that means a lot of serialization strategies would be insufficient for us. \n\nAs a quick guess, that would probably lead us to implement `::serialize()` methods per Class, no matter if binary or text, which would ensure serilization happens correctly at dev / build time. \n","author":{"url":"https://github.com/eljefedelrodeodeljefe","@type":"Person","name":"eljefedelrodeodeljefe"},"datePublished":"2016-04-20T13:03:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/6300/node/issues/6300"}
| 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:4881b785-6a86-4c81-20c4-d31ed99f37f1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F6E:1960:182182E:22BFE4F:6A4F8101 |
| html-safe-nonce | f8fa4bbd929365c40461aae568d679229f64f711f88ed7d7e8b4936c5c3217d0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjZFOjE5NjA6MTgyMTgyRToyMkJGRTRGOjZBNEY4MTAxIiwidmlzaXRvcl9pZCI6IjE2NzA0MDg4Nzc2Njg3NjQxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7e55328b9a90b110bd14c58d43f5f26f8d33452fc3fb55dfc4957d207822237d |
| hovercard-subject-tag | issue:149761174 |
| 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/nodejs/node/6300/issue_layout |
| twitter:image | https://opengraph.githubassets.com/039028f51f5eb7d7738bafe29cf0009a1bccd1fdc52c11e25dd38869956fb82a/nodejs/node/issues/6300 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/039028f51f5eb7d7738bafe29cf0009a1bccd1fdc52c11e25dd38869956fb82a/nodejs/node/issues/6300 |
| og:image:alt | I wanted to propose this issue as a top-level home for discussions from multiple issues, amongst #2133, #3145. Both issues are too big to have immediate action (judging from what I have read), but ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eljefedelrodeodeljefe |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width