From 556983ca5b4a0927f7fcde0b96931a0646ebe2fb Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Sat, 1 Sep 2018 14:13:38 +0300 Subject: [PATCH] Add async programming --- glossary/Asynchronous-programming.md | 4 ++++ glossary/Event-driven-programming.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 glossary/Asynchronous-programming.md diff --git a/glossary/Asynchronous-programming.md b/glossary/Asynchronous-programming.md new file mode 100644 index 000000000..eb99010f2 --- /dev/null +++ b/glossary/Asynchronous-programming.md @@ -0,0 +1,4 @@ +### Asynchronous programming + +Asynchronous programming is a style of parallel programming, using separate threads for separate units of work. +The main benefits of asynchronous programming are improved application performance and responsiveness. diff --git a/glossary/Event-driven-programming.md b/glossary/Event-driven-programming.md index 50bb1fb5f..eb07ebb6f 100644 --- a/glossary/Event-driven-programming.md +++ b/glossary/Event-driven-programming.md @@ -1,4 +1,4 @@ -### Event-driven-programming +### Event-driven programming Event-driven programming is a programming paradigm in which the flow of the program is determined by events (e.g. user actions, thread messages, sensor outputs). In event-driven applications, there is usually a main loop that listens for events and trigger callback functions accordingly when one of these events is detected.