Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion dlopen() performance on Mac OS X?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Simon Connah  
View profile   Translate to Translated (View Original)
 More options 4 July, 03:04
Newsgroups: comp.unix.programmer
From: Simon Connah <simon.con...@googlemail.com>
Date: Sat, 4 Jul 2009 03:04:19 +0100
Local: Sat 4 July 2009 03:04
Subject: Re: dlopen() performance on Mac OS X?
On 2009-07-04 02:07:39 +0100, Eric Sosman <esos...@ieee-dot-org.invalid> said:

> So I imagine you're worried about the use of the functions
> residing in the library to which dlopen() gives you access.
> There are two (potential) penalties I can think of: First, each
> call must be indirect through a function pointer variable rather
> than direct to an address known at link time, and second, it may
> be that the address-space shenanigans with which a particular
> system supports dynamic linking tend to punish MMU's and TLB's
> and the like.

Yes, sorry I should have been more specific. I was using dlopen() as a
short hand for describing the whole system rather than just the
function call itself.

What I was really trying to get at was whether the dlopen / dlsym /
dlclose system added any extra over head on top of what the system
already uses for dynamic linking? Obviously there is going to be a
small performance loss due to needing to search for the library and
possibly deciding which is the correct library to load but other than
that is there any difference?

Or is it the same implementation just with a developer accessable interface?

Hopefully that made a bit more sense.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google