🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #3205

Re: Dynamic typing -- To Have and Have Not (was Runti

#3205
From: Dan Bernstein
Date: Tue, 26 Mar 1991 23:13
18 lines
1379 bytes
In article <KERS.91Mar26111126@cdollin.hpl.hp.com> kers@hplb.hpl.hp.com (Chris Dollin) writes:
> Sorry, Dan, but this doesn't answer my question

Look, static typing gives me both fast compile times and fast run times.
Dynamic typing used to lose big on run times; all the interesting recent
work on dynamically typed languages has been in optimization, but for
those reasonably competitive run times they lose big on compile times.
Why should I pay that price, especially during development when I need
both fast compiles and fast runs for good turnaround?

> As for ``the final code is hellishly slow'' when the compiler does not attempt
> to optimise out dynamic typing, what sort of factor are you talking about? 2?
> 10? 100?

Between 2 and 10. It usually depends on how many of the library routines
have been written in a faster language.

---Dan
Technical Details
Message-ID: <7525:Mar2623:13:2491@kramden.acf.nyu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!yale!cmcl2!kramden.acf.nyu.edu!brnstnd
References: <KERS.91Mar21121931@cdollin.hpl.hp.com> <16 <KERS.91Mar26111126@cdollin.hpl.hp.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!yale!cmcl2!kramden.acf.nyu.edu!brnstnd
From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein)
Newsgroups: comp.lang.misc,comp.object
Subject: Re: Dynamic typing -- To Have and Have Not (was Runti
Message-ID: <7525:Mar2623:13:2491@kramden.acf.nyu.edu>
Date: 26 Mar 91 23:13:24 GMT
References: <KERS.91Mar21121931@cdollin.hpl.hp.com> <16 <KERS.91Mar26111126@cdollin.hpl.hp.com>
Organization: IR
Lines: 18