From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,19c470088f7334d3 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.106.161 with SMTP id gv1mr1748757wib.4.1360469027296; Sat, 09 Feb 2013 20:03:47 -0800 (PST) Path: g1ni1983wig.0!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.87.MISMATCH!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newspeer1.nac.net!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nrc-news.nrc.ca!newsfeed.news.ucla.edu!news.snarked.org!feeder.erje.net!us.feeder.erje.net!news.glorb.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Psuedo-Dynamic memory with Spark? References: <996a2b43-d409-4762-b795-85831b62419b@googlegroups.com> Date: Tue, 05 Feb 2013 08:03:45 -0500 Message-ID: <85mwvi52vi.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (windows-nt) Cancel-Lock: sha1:4Wl9YYF3vhOb6nJE3yp9ZBHqyxQ= MIME-Version: 1.0 X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 773ac51110333c55ab71403122 X-Received-Bytes: 1180 Content-Type: text/plain Date: 2013-02-05T08:03:45-05:00 List-Id: Diogenes writes: > Normally Spark does not allow Dynamic Memory allocation during program > execution. However is there a way to allow a Spark program to allocate > memory at program elaboration? i.e. At program the > program/process/partition boot sequence? How would you define that time precisely? note that you can have generic packages instantiated in functions, so "elaboration" can happen at any time during a programs execution. -- -- Stephe