Possible Duplicate:
Why is the concept of Marshalling called as such?
Why the conversion between two types is called Marshalling! What is the meaning behind Marshal
, why we don't just use the word convert
, is there any difference. Please try to keep a simple english as possible as you can.
Originally, to marshall was to tend horses or to arrange things in preparation for a feast. In heraldry, marshalling is the arrangement of several coats of arms to form a single composition. In the military, marshalling is the gathering and ordering of military forces in preparation for battle.
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. It is typically used when data must be moved between different parts of a computer program or from one program to another.
Marshalling is a "medium" for want of a better word or a gateway, to communicate with the unmanaged world's data types and vice versa, by using the pinvoke, and ensures the data is returned back in a safe manner.
Marshal (one l) is correct in English. However, both Marshalling or Marshaling are correct. Marshalling (with two lls) "seems to make more sense" in my American-English mind as it softens the "a" explicitly. So it's a po-tay-toh, po-tah-toh kind of thing.
Because it's not the same thing.
From Wikipedia:
In computer science, marshalling (sometimes spelled marshaling, similar to serialization) is the process of transforming the memory representation of an object to a data format suitable for storage or transmission. It is typically used when data must be moved between different parts of a computer program or from one program to another.
The word Marshal comes from Millitary terms. Such as to Marshal ones troops and move them somewhere else. From the dictionary:
to arrange in proper order; set out in an orderly manner; arrange clearly:
- to marshal facts; to marshal one's arguments.
- to array, as for battle.
- to usher or lead ceremoniously: Their host marshaled them into the room.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With