It only has to be less bad than C or C++ though and it's hard to argue that it makes things worse in any major way.
It's not a big deal if you use big resources in things like bug-hunting, scientific, etc. OTOH for code running on 1B+ devices...
-
-
but there is a large amount of Java and JS running on phones...
-
And that's why I say it's awful.
-
ok, automatic memory management has definitively won
-
Yes. Language-integrated refcounting (with ability to optimize out provably-unneeded ref/deref) is excellent.
-
It's much nicer when it can be non-atomic by default and still safe though.
-
No reason that higher level languages couldn't copy that from Rust while not being low-level / verbose.
-
i.e. opt-in to a reference type being shareable between threads. Can permit sending ownership either way.
-
JavaScript actually has an API for passing ownership of typed arrays between web workers.
- 2 more replies
New conversation -
-
-
web browsers? (which over-use memory in large part because they embed an implementation for a GCed language, granted)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.