Re: .so v/s .dll
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Re: .so v/s .dll




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: .so v/s .dll  
Paul Pluzhnikov


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-19-04 01:48 AM

Chuck Dillon <spam@nimblegen.com> writes:

> By default DLLs have their own "data segment" which is
> what I was referring to when I suggested they are not entirely "in
> process".  Poor use of terms on my part.

But so do UNIX DSOs.

Where do you think static variables local to DSO reside?
That doesn't make them somehow "out of process".

> The point is that you have to jump through some hoops to build a DLL
> that is close to what an .so is on UNIX.

I understand what you are referring to, but I think you don't have
much (recent) experience with Windows DLLs.

To build a DLL that would function pretty close to a UNIX DSO (at
least WRT malloc) all you have to do is compile and link everything
with /MD switch.

> For example, using
> MicroSoft's implementation of the C runtime library (a DLL) can be
> problemattic. The memory/object management in the C runtime is
> partitioned relative to the main process.

Not if you compiled everything with /MD.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:20 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register