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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fa591a83ee0ad6bf X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!j35g2000yqh.googlegroups.com!not-for-mail From: george.priv@gmail.com Newsgroups: comp.lang.ada Subject: Re: GNAT Pro for .NET Date: Mon, 24 Nov 2008 07:44:32 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <22d85cff-dbef-4e94-b4b5-e3e93b73a256@f20g2000yqg.googlegroups.com> <4929869d$0$187$e4fe514c@news.xs4all.nl> NNTP-Posting-Host: 151.196.71.114 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1227541473 32025 127.0.0.1 (24 Nov 2008 15:44:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 24 Nov 2008 15:44:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j35g2000yqh.googlegroups.com; posting-host=151.196.71.114; posting-account=VnNb3AoAAACTpRtCcTrcjmPX7cs92k1Q User-Agent: G2/1.0 X-HTTP-Via: 1.1 SPARKS X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:2771 Date: 2008-11-24T07:44:32-08:00 List-Id: On Nov 23, 11:36=A0am, Rob Veenker wrote: > You may want to check out the MGNAT project athttp://sourceforge.net/proj= ects/asharp > > The GNAT Pro for .Net compiler used this project as a starting point. > > The compiler is kept in sync with the latest GNAT Pro compiler technology= but there are limitations when it comes to code generation (due to .Net ru= ntime). Also note that not all annexes are implemented. > > You need to be aware of the way the Ada symbols (variables, procedures, f= unctions etc.) are expressed in MSIL if you want to create Ada assemblies t= hat will be used by other .Net languages. Using a .Net reflection tool or t= he object browser can be of great help. > > Integration in the MS Visual Studio is great for debugging a mixed langua= ge application, but for my Ada programming I still use GPS :-) > > Regards, > Rob Veenker > > george.p...@gmail.com wrote: > > Wonder if anyone has any experience with Ada .NET? =A0How well it is > > integrated and what are the major issues you had with it? > > Thanks, Rob. I've tried that, but there are some strange things in the way Ada objects behave and with lack of documentation it's hard to figure out. In particular: - Is it possible to mix native code from Ada with MSIL (like we do C++/ C# mix)? - I was unable to get Initialize/Finalize being called for Ada.Finalization.Controlled objects (given that destruction of objects in .NET are non-deterministic, but still). - Compiler won't let me implement IDisposable interface, am I looking at right place (MSSyst.IDisposable)? Thanks, George Privalov.