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: 103376,892f841b317b302e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed.pnap.net!brmea-news-1.sun.com!news1brm.central.sun.com!new-usenet.uk.sun.com!not-for-mail From: Ole-Hjalmar Kristensen Newsgroups: comp.lang.ada Subject: Re: Format string bugs & race conditions Date: 18 Oct 2004 09:57:51 +0200 Organization: Sun Microsystems Message-ID: References: <1c2f5137.0410160128.7ef88436@posting.google.com> <1097990937.246146@yasure> <1098040682.977030@yasure> NNTP-Posting-Host: khepri06.norway.sun.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: new-usenet.uk.sun.com 1098086274 15408 129.159.112.195 (18 Oct 2004 07:57:54 GMT) X-Complaints-To: usenet@new-usenet.uk.sun.com NNTP-Posting-Date: 18 Oct 2004 07:57:54 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 Xref: g2news1.google.com comp.lang.ada:5387 Date: 2004-10-18T07:57:54+00:00 List-Id: >>>>> "BK" == Benjamin Ketcham writes: BK> I consider tasking difficult to separate from issues of process BK> management; and that in turn is difficult to separate from dependence BK> on the OS. I.e., it's not always a great idea to build this into BK> the language, any more than it'd be to build in graphical I/O. BK> In both cases, many people would be happy to have the things built-in, BK> and many would find uses for the built-in constructs, but others will BK> find deficiencies and will have to go outside the language. BK> --Benjamin Actually, having tasking built-in is an excellent idea. It gives you a much higher probability that programs which use tasking actually will be portable. And if you have access to the source of the tasking run time, or it has a published interface, you can always reimplement the tasking run-time to suit your needs. If you don't like the language's tasking *model*, that's a bit tougher. In this case some languages (including Ada, see annex D.10) let you have access to more primitive operations which can be used to roll your own. -- C++: The power, elegance and simplicity of a hand grenade.