a big thing with the rust I've been writing is I can feel the language giving me push-back about how I'm writing just awful code that allocates and copies way more than it needs to, and then I think oh this is what every other language I use would do with this data
-
Show this thread
-
a weird effect in low-level languages: - bad code in them will run faster than good code in higher level ones - but the ergonomics make you more aware you're writing bad code - working on performance actually pays off
2 replies 1 retweet 25 likesShow this thread -
in various high-level scripting langs, it often isn't worth trying to optimise things, b/c the theoretically better data structure you implement inside the language performs worse than the bad data structure you made using language built-ins that are written in C
2 replies 4 retweets 33 likesShow this thread -
if everything is compiled down to native code, and you actually have control over taking a reference vs copying something, writing performance optimisations actually pays off, but even if you don't do that your code will still be faster than a high-level scripting lang
2 replies 1 retweet 10 likesShow this thread
Having an optimizing compiler is huge here too. JITs can only get so far in dynamic langs since the opportunity for inlining is much more limited
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.