2 ms·
Sure, for high frequency trading, I think that's good enough! On the other hand, if I'm writing an operating system or a device driver, getting a GC'd language
by saghm 9y ago
Sure, for high frequency trading, I think that's good enough! On the other hand, if I'm writing an operating system or a device driver, getting a GC'd language to be "good enough" is a very different type of problem.
As an aside, I don't think Java actually suffers from the specific problem that I was mentioning in my original comment, namely that it's hard to tell what's on the heap or not. I was under the impression that all objects on Java are on the heap, which makes it trivial to determine whether something is heap-allocated or not based on the type like in Rust.
- sriram_malhar 9y ago> On the other hand, if I'm writing an operating system or a device driver, getting a GC'd language to be "good enough" is a very different type of problem Nicklaus Wirth's Oberon OS (written in Oberon), Microsoft's Singularity OS (written in a variant of C#), the Mirage Unikernel written in OCaml, these are all examples of OSs written in GC'd languages. I am not aware of performance being an issue in any of these cases. Oberon was extensively used at ETH, and the components of Mirage that I am aware of (such as their OpenSSL and DNS) are competitive in performance with their C counterparts.