I agree that most web code is crap, but if they were forced to use C++ it would still amount to 876 MB due to memory leaks. Nothing short of real AI can force code to be good. Here's Steve Yegge on pitfalls of low level languages and local optimization http://c0de517e.blogspot.com/2009/03/optimization-again-from-steve-yegge.html …
-
-
-
honestly, we don't actually need programmers to manage memory C++ style, we just need them to be *able* to. the real problem is that GC languages implicitly teach people that malloc is a free operation and therefore teach them to waste it absolutely firehose-style
-
if you just dial that back *moderately* instead of writing everything as fluent transformations that allocate twelve intermediary data structures because those look nicer than crusty old for loops in your IDE, the results are tremendous
-
How do you feel about Rust's memory management?
-
i haven't fucked with it, people seem enthused which arouses both hope and suspicion
End of conversation
New conversation -
-
-
thinking about it backwards. it's using 875MB _with_ an automatic garbage collector trying to free up whatever it can. now imagine how much memory it would use if there wasn't even a GC?
-
that definitely makes up for teaching a generation of developers (who i was going to call coders but the word turned to ashes in my mouth) that malloc is a free operation
End of conversation
New conversation -
-
-
I once had a job where I had to explain to a Java dev that garbage collection doesn't mean you can just leak 500 threads and have no problems.
-
thank you for your service
End of conversation
New conversation -
-
-
Is that why my computer is so slow?
-
yes actually
End of conversation
New conversation -
-
-
what kind of programmers
-
non-embedded-systems
End of conversation
New conversation -
-
-
On one level I'm disgusted, but on another, more important level, I just want Chrome tabs to pass the bare minimum requirement of "not crashing"
-
Also, Chrome has straight up nuked all links on all TvTropes pages. Firefox renders fine. I really do not want to go back to Firefox, but after making tabs the same indistinguishable-from-each-other rectangle style, the crashes, and the webpage rendering fuckups, I may.
End of conversation
New conversation -
-
-
To be fair, it's not THEIR memory they're wasting.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Good hardware has spoiled programmers
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I think real time GC is an interesting topic, but... yea... :/
-
(To be clear, something like this: http://home.pipeline.com/~hbaker1/RealTimeGC.html …)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.