can you elaborate? I can't think of one from this description alone
-
-
-
JSON has no syntax for object cycles, so any JSON serializer has to enforce unique ownership.
- 6 more replies
New conversation -
-
-
Interesting. Never thought of https://developer.mozilla.org/en-US/docs/Web/API/Transferable … this way, but it does something similar for the web.
-
The structured clone algorithm supports cycles, though. ;-)
End of conversation
New conversation -
-
-
Racket lets you serialize cyclic data structures as far as I can tell https://ideone.com/MeVTpD
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Yeah, that was one of the basic insights behind Wheat: http://web.archive.org/web/20071002051621/http://wheatfarm.org/ … I think more generally all linear languages enforce some form of unique ownership of data.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
After learning Rust I now think how to use linked list safely in C? Wouldn't you have to do the same things that borrow checker forces you to?
-
For the most part, yes. C doesn't force you to keep lifetimes in check, but you should be doing it anyways. And of course, caution around parallelism is advised.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.