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 : BORL: Time to BUY! -- Ignore unavailable to you. Want to Upgrade?


To: David R who wrote (8265)12/29/1997 2:44:00 AM
From: Kashish King  Respond to of 10836
 
Now how about those connection points and IAdvise sinks. It took me a week to get a server up that has query methods available for the client OCX's as well as multiple connection points for firing events. Have fun writing that in straight C++.

I think you've hit on one of the things that really bothers people about COM and that's a patching together of protocols and reinventing terminology to express features which have been around for decades. If only the DOS hackers who tossed this together had cared to look. You have an object, it handles events from other objects, period. What a pathetic crew they must have to have taken 10 years to implement this and while you're at it ask them why such regular mechanism requires so much cryptic nonsense. It's the number one sign that people don't know what they are doing.

So instead of telling somebody good luck doing that with C++ as though there was something superior about COM you should wonder why they do not have the skill to create an easy-to-use protocol which a modern language like C++ can interface to. I really think you are confusing a badly designed morass for technical achievement. In fact I know you are.

Now for the bad news. I am sorry you spent a week implementing something which requires no effort worth mentioning to achieve using MFC. Connection points and the rest of that mindless patchwork can be implemented without writing any code. I fire events from my ActiveX controls which are handled by my application. Sounds like you waisted a lot of time on something which is already wrapped up for you. Sorry to break the news.



To: David R who wrote (8265)12/29/1997 3:14:00 AM
From: Kashish King  Read Replies (1) | Respond to of 10836
 
With regards to VTables, if you have run-time binding (aka virtual funtion calls) you will experience about a 10% hit on VTable lookup.

That's nonsense. Who is feeding you this stuff? First of all there is no "lookup." In those situations where the compiler can't figure out the precise type of the object, it does an indirect call through an array of pointers to functions. That's one level of indirection, there is no "lookup" and you would be surprised how often an inline virtual function gets expanded.

In any event, that's not why the 10% hit theory is nonsense. The reason for that is much simpler. What percentage of time is the "potential" indirect call have relative to the overall execution time of even the lamest of lame functions? In general, what percentage might that average out to be? I think you are being led astray by some DOS hacking Visual Basic or COM guru that doesn't know C++ from shinola.



To: David R who wrote (8265)12/29/1997 3:24:00 AM
From: Kashish King  Respond to of 10836
 
Please, please please...

Frankly, it's this guys foul language, insults and dirty innuendo that we could use less of. I think technological issues are very important to BORL's future and anybody who doesn't think so hasn't been paying attention to recent events. E-mail huh, what e-mail.

Message 2536255
Message 2690676
Message 3050666