C is fastest
Yanni Chiu
yanni-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Wed Oct 14 18:57:38 UTC 2009
Lennart Sorensen wrote:
> Also some of us work on embedded hardware and really hate wasting CPU
> on stupid languages.
In the mid-80's Tektronics oscilloscopes were built using Smalltalk
running on a VM (i.e. bytecode interpreter). I'm not sure whether they
had custom garbage collection though. In any case, garbage collection
can be managed by controlling when it is invoked - by setting the policy
hooks, or by having the system initiate garbage collection at an
opportune time. Hardware resources were even more scarce back then, and
yet they found the trade-off worthwhile.
A Java VM is basically the same - a bytecode interpreter with garbage
collection. So if Java is failing to yield useful software, in your
experience, then it may indeed be due to the language itself encouraging
poor coding practice, since the VM technology is certainly up for the
challenge.
--
Yanni
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list