Article View: comp.os.os2.programmer
Article #1940Re: Minor wishlist item: any IBMers out there?
From: David Bolen
Date: Wed, 07 Oct 1992 17:51
Date: Wed, 07 Oct 1992 17:51
38 lines
2603 bytes
2603 bytes
In article <1992Oct7.195130.17312@unixg.ubc.ca> ochealth@unixg.ubc.ca (ochealth) writes: >We weren't talking about the philosophy of DLLs. The point is that for >*the C library* it would be *very nice* if IBM provided a standard C library >DLL as part of the OS/2 system. (...) I'm still not sure it's a feasible step. There is normally a lot of extra stuff in any particular "C library" that may or may not translate among compilers. You aren't always aware of it when writing programs, but it's one of the reasons you can't just link an Microsoft C object file with a Borland C library, for example. And if we can't get normal library files that are interchangeable, what are the odds of doing it as a DLL? Then there's the calling convention issue - some of the newer compilers (or even older ones such as Watcom) do a lot of optimization of the calling convention of functions unless you explicitly ask for a standard C calling convention. Since this can significantly improve performance, would you be willing to give that up to have a common C library DLL? (I'm presuming that different vendors will want to, or already do, optimize calls differently) >It would be a small, but good step: smaller EXEs, less memory, greater >standardization. Besides, many OSes supply a C library. Well, that's true - but how many OSes supply a C library that works with anything other than the compiler that the vendor of the OS sells? Sure, Sun and IBM for example have shared C libraries that they supply with the system, but GNU C for example comes with its own library anyway. -- -- David -- /-----------------------------------------------------------------------\ \ David Bolen \ Internet: db3l@ans.net / | Advanced Network & Services, Inc. \ Phone: (914) 789-5327 | / 100 Clearbrook Road, Elmsford, NY 10523 \ Fax: (914) 789-5310 \ \-----------------------------------------------------------------------/
Technical Details
Message-ID:
<1992Oct07.214720.8409@ans.net>Path:
arc1-ca.pugleaf.net!sparky!uunet!newsgate.watson.ibm.com!news.ans.net!ans.net!db3lReferences:
<1992Oct5.135715.854@debet.nhh.no> <1992Oct6.214026.3576@networx.com> <1992Oct7.195130.17312@unixg.ubc.ca>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!newsgate.watson.ibm.com!news.ans.net!ans.net!db3l From: db3l@ans.net (David Bolen) Subject: Re: Minor wishlist item: any IBMers out there? Sender: news@ans.net (News Administrator) Message-ID: <1992Oct07.214720.8409@ans.net> In-Reply-To: ochealth@unixg.ubc.ca's message of Wed, 7 Oct 1992 19: 51:30 GMT Date: Wed, 7 Oct 1992 17:51:05 GMT References: <1992Oct5.135715.854@debet.nhh.no> <1992Oct6.214026.3576@networx.com> <1992Oct7.195130.17312@unixg.ubc.ca> Organization: Advanced Network & Services, Inc. - Elmsford, NY Lines: 38