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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8a402d78988bdf2b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-22 07:17:53 PST From: "Ekkehard Morgenstern" Newsgroups: comp.lang.ada Subject: Re: [announcement] SYSAPI and SYSSVC for Windows Date: Mon, 22 Dec 2003 16:17:42 +0100 Organization: 1&1 Internet AG Message-ID: References: <1071846912.728815@master.nyc.kbcfp.com> <1071852533.241196@master.nyc.kbcfp.com> <%qyFb.4408$eE3.518@nwrdny03.gnilink.net> NNTP-Posting-Host: p508c03bf.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: online.de 1072106272 26388 80.140.3.191 (22 Dec 2003 15:17:52 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Mon, 22 Dec 2003 15:17:52 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!feed.news.tiscali.de!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail Xref: archiver1.google.com comp.lang.ada:3696 Date: 2003-12-22T16:17:42+01:00 List-Id: "Hyman Rosen" wrote: > I've been doing nothing professionally but programming for twenty years. Well, so you are not a professional programmer? Anyway, I think your approach to programming in C++ is very good, altho I do not agree with everything for every case. I've been programming for 22 years, and professionally for 12 years. > > Well, some documents say that access types can be garbage collected by > > the runtime system. > > Only if the compiler implements it. By far the vast majority do not, > except for implementations which target JVMs. C++ implementations could > do the smae as well, and many programs use the Boehm conservative collector > in just such a fashion. Garbage collection has its pro and cons, and I'm glad that in Ada it's optional. There are garbage collected C++ systems, like Microsoft Managed C++ for Windows. > > I like writing compilers and so that will not be a major effort for me. > > I will now invite the people in this newsgroup who have actually worked > on Ada compilers to respond to this. I'll be over there banging my head > against the wall. Holler if you need me. (Oh, and if your compiler will > target x86 architecture, don't forget to write to Intel and AMD for the > manuals on how to optimize code for each different version of the Pentium > and Athlon procesors.) You don't need to write to Intel or AMD to get that information, you can download it from their websites. I have all of the current Intel and AMD processor manuals. However, for my Ada compiler, this won't matter, since it generates code for a virtual machine of my own design. The virtual machine itself handles the translation of the code. I will not make the effort of optimizing specifically for every CPU out there, only the ones that are current. For the other CPU's I will generate acceptable code. If I can get the old optimization guidelines for the old CPUs (some of which might still be available on their websites), then I might take them into account. It's all much easier than you think! > > Like, a compiler might be huge for you, but for me it's just medium-scale. > > Be sure to let me know when you're done. Yes, you will know when I'm done.