JavaScript: Difference between revisions
Performance section |
m link Bloatware (again, because a previous edit deleted it) |
||
| Line 43: | Line 43: | ||
*Remote code execution. This is used by hackers and crackers to build [[wikipedia:Botnet|bot-nets]] for [[wikipedia:Ddos#Distributed_DoS|DDoS]] or [[wikipedia:Cryptocurrency|crypto]]-mining, but it's mostly used for spyware since it can hide more easily. | *Remote code execution. This is used by hackers and crackers to build [[wikipedia:Botnet|bot-nets]] for [[wikipedia:Ddos#Distributed_DoS|DDoS]] or [[wikipedia:Cryptocurrency|crypto]]-mining, but it's mostly used for spyware since it can hide more easily. | ||
=== Performance === | ===Performance=== | ||
{{See also|Bloatware}} | |||
If a JS [[wikipedia:Web_framework|framework]] is used to dynamically generate the DOM, the user must wait longer before the browser can display content. This is because HTML+CSS can be parsed and rendered incrementally (immediately as the bytes arrive to the client), while JS must (typically) be completely parsed and then executed. | If a JS [[wikipedia:Web_framework|framework]] is used to dynamically generate the DOM, the user must wait longer before the browser can display content. This is because HTML+CSS can be parsed and rendered incrementally (immediately as the bytes arrive to the client), while JS must (typically) be completely parsed and then executed. | ||