🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #335

Re: Overloading Operators: Extension to Language

#335
From: "MARK GOODERUM - UNIV. OF KANSAS...
Date: Fri, 06 Oct 1989 00:41
15 lines
1240 bytes
One other thought about dynamic allocation.  You only need to allocate
global variables of course, and if you do have an iterative procedure
that needs lots of scratch space what about Mark and Release (although
not all compilers support this kind of heap management).

Other tricks I use to keep track of allocations are software stacks by
pushing size and address on a stack and popping the whole stack and
deallocating, or singly linked list.

But MY big complaint in Modula-2 is lack of easy string support and file
handling.  If I have a program I want to work with several files I either
have to do all the high level stuff myself or be opening and closing files
left and right (now THERE is a way to slow down a machine).

-Mark
Technical Details
Message-ID: <INFO-M2%89100520450421@UCF1VM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!UKANVAX.BITNET!MARKV

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!UKANVAX.BITNET!MARKV
From: MARKV@UKANVAX.BITNET ("MARK GOODERUM - UNIV. OF KANSAS ACS - MARKV@UKANVAX")
Newsgroups: comp.lang.modula2
Subject: Re: Overloading Operators: Extension to Language
Message-ID: <INFO-M2%89100520450421@UCF1VM>
Date: 6 Oct 89 00:41:00 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: Modula2 List <INFO-M2%UCF1VM.BITNET@PSUVM.PSU.EDU>
Organization: The Internet
Lines: 15