Article View: comp.lang.modula2
Article #98Re: 1)Oberon-2 Read Only Var; 2)Concurrent GC
From: Chuck Lins
Date: Fri, 10 Apr 1992 16:27
Date: Fri, 10 Apr 1992 16:27
27 lines
1878 bytes
1878 bytes
In article <9204072208.AA14964@internal.apple.com> Modula2 List <INFO-M2%UCF1VM.BITNET@cmsa.Berkeley.EDU> writes: >In Oberon-2, variables can be exported as 'read-only' (by adding "-" instead of >"*" in its declaration). What constraints are imposed on the usage of this >kind of variables while being imported? Surely it cannot appear on the left >side of an assignment statement. But can it be passed as a VAR parameter to a >procedure? No. The variable is read-only. > >Why is the garbage collector a hindrance to the real time applications? In the >implementation to the run time environment, we can make the garbage collector >as a concurrent process to the 'garbage producer', and find some way to ensure >that the garbage producer does not produce garbage faster than the garbage >collector can consume. Are there any real language implementations using this >kind of approach? (Maybe some Ada implementations?) > There has been much work in the area of concurrent garbage collection. Papers by Hans Boehm (now of Xerox PARC) come to mind, as well as Andrew Appel. There are others as well. Not impossible to do, but sometimes very hard rela time constraints (eg interrupts from device X must be handled within N microseconds) where if you're in the middle of GC may be difficult to handle. -- Chuck Lins, Apple Computer, Inc. Oberon-2 Paladin lins@apple.com Searching... Searching... Searching for Solevig Dommartin
Technical Details
Message-ID:
<65189@apple.Apple.COM>Path:
arc1-ca.pugleaf.net!sparky!news.UU.NET!seismo!darwin.sura.net!mips!sdd.hp.com!hpscdc!hplextra!hplabs!nsc!voder!apple!linsReferences:
<9204072208.AA14964@internal.apple.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!news.UU.NET!seismo!darwin.sura.net!mips!sdd.hp.com!hpscdc!hplextra!hplabs!nsc!voder!apple!lins From: lins@Apple.COM (Chuck Lins ) Newsgroups: comp.lang.modula2 Subject: Re: 1)Oberon-2 Read Only Var; 2)Concurrent GC Message-ID: <65189@apple.Apple.COM> Date: 10 Apr 92 16:27:31 GMT References: <9204072208.AA14964@internal.apple.com> Organization: Apple Computer Inc., Cupertino, CA Lines: 27