🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #3731

Re: Dynamic typing (part 3)

#3731
From: Sold to the highest Buddha
Date: Thu, 02 May 1991 22:16
22 lines
1473 bytes
stephen@estragon.uchicago.edu (Stephen P Spackman) writes:

> DYNAMIC typing uses tags always

... unless the typing can be completely determined at compile time,
and the tags can be optimized out.

	It seems to me that a language with a good type inference
algorithm and optional type constraints provided by the programmer
should be able to do this in many cases, eliminating type tags when
they aren't necessary.  If you're a static typing fan, you tell the
compiler to whine at you if it can't optimize out all type tags at
compile time, and you have to provide extra type information to get
the code to compile.

	Is there any reason why this can't be done?  Are there any
"dynamically typed" languages that do this?

Nix Thompson		nix@sgi.com		...!uunet!sgi!nix

	  follow the black valley - trail of death
		into the beautiful sunshine.
Technical Details
Message-ID: <NIX.91May2231654@valis.asd.sgi.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!sgi!shinobu!odin!odin.corp.sgi.com!nix
References: <2450@optima.cs.arizona.edu> <STEPHEN.91May2030111@estragon.uchicago.edu>

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!elroy.jpl.nasa.gov!decwrl!sgi!shinobu!odin!odin.corp.sgi.com!nix
From: nix@asd.sgi.com (Sold to the highest Buddha)
Newsgroups: comp.lang.misc
Subject: Re: Dynamic typing (part 3)
Message-ID: <NIX.91May2231654@valis.asd.sgi.com>
Date: 2 May 91 22:16:54 GMT
References: <2450@optima.cs.arizona.edu> <STEPHEN.91May2030111@estragon.uchicago.edu>
Sender: news@odin.corp.sgi.com (Net News)
Organization: Harlequin Necromances
Lines: 22
In-Reply-To: stephen@estragon.uchicago.edu's message of 2 May 91 09:01:11 GMT