Re: Exception Misconceptions: Exceptions are for unrecoverable
errors.
In article <hh3co5$nds$1@news.albasani.net>, Branimir Maksimovic <bmaxa@hotmail.com> wrote:
tanix wrote:
In article <hh3bev$lj9$1@news.albasani.net>, Branimir Maksimovic
<bmaxa@hotmail.com> wrote:
tanix wrote:
In article
Yep. And the more high level some abstraction is,
the more performance it can gain and the less of even theoretical
advantage any other approach may claim.
You believe in ferry tales... ;0)
I don't have to believe. It is pretty much self evident.
Why?
Well, because the higher level is your abstraction,
the less impact the language has. Because you have a virtual machine
underneeth that can do anything you please, and as efficiently
as anything else under the sun.
Virtual machines are always slower then real machines....
This is a blanket statement by someone who is obscessed with
machine cycles while his grand piece of work is not even worth
mentioning, I'd say.
No matter what, one can optimize as far as it
goes just simple cases. Anything non trivial,
Correct.
and very difficult to optimize like java code...
I don't have to optimize Java code in any special way.
It is the same way no matter WHAT language it is.
One more time: to me, program is a SYSTEM.
And the MOST critical parameter in the system is:
STABILITY.
Why? Because if your program is not stable, you are dead.
Yes, everyone wants performance. No question about it.
You don't want to sit there for 30 seconds waiting for your
frozen GUI to get unfrozen so you can enter some parameters
or type something somewhere.
And the reason it is frozen for that long of a time is not
matter of machine instructions or the "efficiency" of your
code. It is a matter of TOTALLY wrong design.
Program is not just a hack and tons of "efficient" spaghetti
code. It is HIGLY complex system with billions of interactions,
and MANY substystems cooperating under the hood.
It is not some fancy hex calculator where you flip some bits.
Unless programs are viewed as a system, you will be trying
to pick a piece of crap from some output hole and look at it
with a magnifying glass trying to make conclusions as what
the human being.
Greets
--
Programmer's Goldmine collections:
http://preciseinfo.org
Tens of thousands of code examples and expert discussions on
C++, MFC, VC, ATL, STL, templates, Java, Python, Javascript,
organized by major topics of language, tools, methods, techniques.