Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Fortran > RTL "bloat" -- ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 15 of 20 Topic 8153 of 8908
Post > Topic >>

RTL "bloat" -- Re: A digression

by "Kevin G. Rhoads" <kgrhoads@[EMAIL PROTECTED] > Apr 23, 2008 at 02:19 PM

>I don't directly remember decimal floating point arithmetic routines,
>but other things imply they were there.
>However, I know my (****ny new?) MS F77 Fortran complier has such a
>library (decmath.lib), as well as binary floating point and others.

AFAIK MS Fortran 3.3 DECMATH.LIB uses the 80x86 packed BCD math
instructions.
ALTMATH is compromise math lib for machines without x87s which runs faster
than 87 emulation, but lower precisions.
MATH.LIB is the 87 emulation and 8087.LIB uses the x87 (and dies horribly
if not present IIRC).

But harking back to Steve Lionel's original response, not only are the
WinXX APIs much
fuller than the INT 21H API of DOS, the library granularity is much poorer
these days.
It take effort and thought to properly generate fine granularity
libraries.  Just like it
too effort to sup****t multiple math library options.  Most compiler
vendors can't justify
that effort these days because they need to concentrate efforts on other
things (such as
chasing the latest API changes from MS or the latest new hardware features
from Intel or
AMD, just as a couple of minor examples ;-) or on implementing new
language features.

IIRC a simple F77 "hello world" was a few 10s of k with any of the 16 bit
MS Fortrans,
but about 1/8 Meg with FPS4, and close to 1/4M with DVF5.  

The trouble with DLLs for the runtime is the issue of "DLL Hell".  So long
as you are 
the *only* thing on the system using that runtime DLL, no matter how many
programs you
have using it, fine.  But as soon as another vendor's proggie uses it,
then the possibility 
of versionitis arises.  ANd "DLL Hell" is nothing but extreme versionitis.

No, I prefer everything statically linked in.  And I hate the EXE bloat
that results,
but I find that less problematic than the problems of DLLs.  But limiting
EXE size
by employing DLLs is a viable alternative, if you are willing to put up
with the problems
that potentially arise.
 




 20 Posts in Topic:
A digression
Terence <tbwright@[EMA  2008-04-18 16:17:36 
Re: A digression
Steve Lionel <steve.li  2008-04-19 00:11:37 
Re: A digression
glen herrmannsfeldt <g  2008-04-18 16:43:45 
Re: A digression
e p chandler <epc8@[EM  2008-04-18 21:20:14 
Re: A digression
glen herrmannsfeldt <g  2008-04-18 21:19:27 
Re: A digression
Gary Scott <garylscott  2008-04-19 11:11:27 
Re: A digression
Gary Scott <garylscott  2008-04-19 11:09:56 
Re: A digression
e p chandler <epc8@[EM  2008-04-19 11:03:52 
Re: A digression
Gary Scott <garylscott  2008-04-19 18:26:29 
Re: A digression
glen herrmannsfeldt <g  2008-04-20 16:26:43 
Re: A digression
Terence <tbwright@[EMA  2008-04-19 17:16:13 
Re: A digression
Steve Lionel <steve.li  2008-04-20 01:45:15 
Re: A digression
Terence <tbwright@[EMA  2008-04-19 17:33:59 
Re: A digression
Terence <tbwright@[EMA  2008-04-19 20:24:39 
RTL "bloat" -- Re: A digression
"Kevin G. Rhoads&quo  2008-04-23 14:19:07 
Re: RTL "bloat" -- Re: A digression
Craig Powers <enigma@[  2008-04-23 14:33:15 
Re: RTL "bloat" -- Re: A digression
"Kevin G. Rhoads&quo  2008-04-24 13:09:34 
Re: RTL "bloat" -- Re: A digression
Paul van Delst <Paul.v  2008-04-24 11:00:12 
Re: RTL "bloat" -- Re: A digression
Dan Nagle <dannagle@[E  2008-04-24 15:28:50 
Re: RTL "bloat" -- Re: A digression
"Kevin G. Rhoads&quo  2008-04-28 14:58:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Nov 19 8:19:36 CST 2008.