Why Java is called more efficient (in terms of resources consumption) but less speedy, and how is that advantageous in context of web applications? -


i have heard lot of times java being more resource efficient being fast language. efficiency in terms of resources consumption means , how beneficial web applications context ?

for web applications, raw performance of application code irrelevant (of course if make excessively slow, you're still in trouble) main performance bottlenecks outside application code. they're network, databases, application servers, browser rendering time, etc. etc.. if java slow (it isn't) wouldn't of problem. application consumes inordinate amounts of memory or cpu cycles can bring server knees. again, that's less problem of language use of way use it. example, creating massive memory structure , not disposing of can cause memory problems always. java makes harder not dispose of memory (at cost of tiny bit of performance , maybe hanging on memory longer strictly necessary). similar garbage collection systems can (and have been) built , used other languages well.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -