Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Message passing
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Technique for running a program on a computer without directly calling it}} {{About|the computer science concept}} In [[computer science]], '''message passing''' is a technique for invoking behavior (i.e., running a [[Computer program|program]]) on a [[computer]]. The invoking program sends a message to a [[Process (computing)|process]] (which may be an [[Actor model|actor]] or [[Object (computer science)|object]]) and relies on that process and its supporting infrastructure to then select and run some appropriate code. Message passing differs from conventional programming where a process, [[subroutine]], or function is directly invoked by name. Message passing is key to some [[Concurrency (computer science)#Models|models of concurrency]] and [[object-oriented programming]]. Message passing is ubiquitous in modern computer [[software]].{{Citation needed|date=April 2021}} It is used as a way for the objects that make up a program to work with each other and as a means for objects and systems running on different computers (e.g., the [[Internet]]) to interact. Message passing may be implemented by various mechanisms, including [[Channel (programming)|channels]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)