[mercury-users] shared libraries

Tyson Dowd trd at cs.mu.OZ.AU
Thu Nov 30 16:51:06 AEDT 2000


On 30-Nov-2000, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> On 30-Nov-2000, Michael Day <mikeday at corplink.com.au> wrote:
> > Hmm, so there's a performance hit for using shared libraries on Linux,
> > because it requires the compiler to generate position independent code?
> 
> Yes.  This is true for all programming language implementations that
> compile to Linux native code, although different implementations will
> be affected to different extents.

s/native code/native x86 code/

The fundamental problem is that the x86 is chronically short of registers.

> > That's unfortunate. Is it less of an issue in hlc grade?
> 
> Yes, I expect so.  (I haven't actually tried benchmarking it, however.)

We'd love to find out, however!

-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't everyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list