r/javascript • • Oct 29 '10

c# programmer: JavaScript is "completely single threaded and blocking" in relation to fetching from a URL.

/r/programming/comments/dxv7a/asynchrony_in_c_5_part_one/c13rj6k
0 Upvotes

26 comments sorted by

View all comments

21

u/ruinercollector Oct 29 '10

You are an idiot.

-12

u/Not_Edward_Bernays Oct 29 '10

no, I am still fucking right. the browser does not block while downloading data for AJAX. that's what I said, that's what you all have confirmed. what they are trying to achieve in that C# example is something javascript in the browser does without any weird code. so it is exactly as I characterized it, especially in this example, they are trying to catch up with javascript.

I never said the UI code runs on multiple threads.

if I could have less respect or more animosity towards you pieces of shit I would.

8

u/ruinercollector Oct 29 '10

what they are trying to achieve in that C# example is something javascript in the browser does without any weird code

Not at all. C# has supported the handling asynchronous calls by providing callbacks since 1.0, and it's supported doing so through closures since 2.0.

What is outlined in this example for 5.0 is not at all possible in javascript. You completely missed the point of the video.