SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Technology Stocks : Intel Corporation (INTC)
INTC 34.50+2.6%Nov 21 9:30 AM EST

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Tenchusatsu who wrote (108344)8/25/2000 2:05:51 PM
From: Joe NYC  Read Replies (2) of 186894
 
Tench,

I think what eric means by polymorphic code is a code that has been written in object oriented approach. An object oriented code tries to be reusable. But this type of code is highly highly data dependent.

Also, in OO programming, the trend is to write more very small granular functions that can be overriden by the inherited code. Any kind of optimization I believe can only be done on a function/procedure level. The functions/procedures (or in oo terminology methods/ messages) are very small, so there is not much room for optimization.

In addition, the code may not know ahead of time what type of object it may be dealing with, resulting in calling entirely different of methods of they type of the object changes. I am not what the performance implications would be on different type of processors (Athlon/P3 vs. P4 vs. Itanium.

VB and Java are not purely interpreted languages. They are a hybrid, with VB moving more to the compiled category.

Joe
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext