Asynchronous and Synchronous Terms?

Indeed, it's one of these cases, where original meaning of the word was subverted and means something different than in popular usage Synchronisation' in telecommunication means that receiver signals whenever it is ready to receive messages, and only after this signal the transmitter will start transmitting. When the transmitter is done with the message, it will signal it has finished, so that receiver can now process the received message and do whatever it is supposed to be doing next This is of course a simplification and a very broad one, but it should give you the feeling of from where the meaning of '(a)synchronous' comes in JS So synchronous request in JS is actually synchronised with the main flow of the program. The program sends request to server ('I'm ready to receive') and waits for message.

Message from the server will have a well defined end ('the message ends here - do your job'). When it is received, JS knows it can continue with execution of the program.

Indeed, it's one of these cases, where original meaning of the word was subverted and means something different than in popular usage. 'Synchronisation' in telecommunication means that receiver signals whenever it is ready to receive messages, and only after this signal the transmitter will start transmitting. When the transmitter is done with the message, it will signal it has finished, so that receiver can now process the received message and do whatever it is supposed to be doing next.

This is of course a simplification and a very broad one, but it should give you the feeling of from where the meaning of '(a)synchronous' comes in JS. So synchronous request in JS is actually synchronised with the main flow of the program. The program sends request to server ('I'm ready to receive') and waits for message.

Message from the server will have a well defined end ('the message ends here - do your job'). When it is received, JS knows it can continue with execution of the program..

That's confused me for the longest time. In my mind, 1 must equal 1 and a word can't equal its opposite! :P – Allen Aug 20 at 13:54 That's why I said it's the case where word's original meaning was lost.

An often case in technology world. In fact I didn't notice that dichotomy in 'synchronous' until you brought it up. Interesting!

– Mchl Aug 20 at 14:05.

Synchronous in the context of your question means that 2 parts are waiting for each other. For example if you have a client code that makes a request to a server and your code does not continue its processing until the response of the server arrives, then this means that your code is synchronous i.e. Synchronous with the response of the server.

If your client code makes the request but does not wait for a response and continues its processing and once the response of the request from the server arrives, then your code (in a specific handler for instance) starts to process the response then the handling is asynchronous i.e. The core client processing is asynhronous with the reponse of the server. These terms imply some short of dependency since it is not possible to convert a synchronous code to asynchronous if (using the example of client-server) the response is mandatory for the client to continue its processing.

Wouldn't something that is "non-blocking" and that allows "the main program flow to continue processing," be synchronized or "occurring at the same time"? It seems like the term synchronous suggests "non-blocking" and asynchronous, "blocking. " Wrong interpretation of the terms.It is not the program flow that synchronized.

It is different parts that could be (e.g. Threads) or could not be part of the same program that could be synchronized or not.

Synchronous:- when each task connected and depend on the previous task asynchronous:- each task independent from others.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions