Hacker News new | past | comments | ask | show | jobs | submit login

Marshaling is serializing.



Based on a Google search of the term, it seems that Go uses that terminology, but others might not...


> In computer science, marshalling or marshaling (US spelling) is the process of transforming the memory representation of an object into a data format suitable for storage or transmission

https://en.m.wikipedia.org/wiki/Marshalling_(computer_scienc...


Immediately followed by

> Marshalling can be somewhat similar or synonymous to serialization. Marshalling is describing an intent or process to transfer some object from a client to server, intent is to have the same object that is present in one running program, to be present in another running program, i.e. object on a client to be transferred to and present on the server. Serialization does not necessarily have this intent since it is only concerned about transforming data into a, for example, stream of bytes. One could say that marshalling might be done in some other way from serialization, but some form of serialization is usually used.[1]

I'm most familiar with the term "marshaling" from COM, where it is quite distinct from serialization.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: