4 ms·
If you have to fight the language like this, would you not be better off with a different language? Scala maybe.
by gaius 15y ago
If you have to fight the language like this, would you not be better off with a different language? Scala maybe.
- jshen 15y agofor most of his points you'd have to do the same things in scala, right? How do you do arbitrary memory access in scala? How do you use space efficient strings in scala? etc, etc.
- gaius 15y agoOK, C++ then, or my own favourite, OCaml, for GC.
- lucian1900 15y agoWhile the parent is generally wrong, it has been shown that Scala programs have the tendency to generate slightly (5-10%) less garbage. This is especially interesting on Dalvik.
- sehugg 15y agoGiven that Scala targets the JVM, you are going to have to use the same tricks and probably a few others.
- uriel 15y agoYou would be better off with a language that gives you much more control over memory layout, for example Go.