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,33f90678fd18cbc7 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.21.229 with SMTP id y5mr24635597pbe.1.1318844024781; Mon, 17 Oct 2011 02:33:44 -0700 (PDT) Path: d5ni20944pbc.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.mixmin.net!.POSTED!not-for-mail From: Oliver Kleinke Newsgroups: comp.lang.ada Subject: Re: What is the best way to get a process-list with Ada? Date: Mon, 17 Oct 2011 11:33:43 +0200 Organization: Mixmin Message-ID: <20111017113343.7b873960@c-01b> References: <2cb6641e-dcd7-40de-95bd-71d405571631@p1g2000yqk.googlegroups.com> Mime-Version: 1.0 Injection-Info: news.mixmin.net; posting-host="C3StiOwUX2VwHBFcPV2WVZCIFsE"; logging-data="18810"; mail-complaints-to="abuse@mixmin.net" X-Newsreader: Claws Mail 3.7.10 (GTK+ 2.24.4; x86_64-pc-linux-gnu) Xref: news1.google.com comp.lang.ada:18519 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: 2011-10-17T11:33:43+02:00 List-Id: You can use Ada an Java together with either jGNAT (Ada and Java run on the JVM)[1] and/or GNAT-AJIS (Java on JVM, Ada compiled natively)[2]. Be aware that jGNAT is not compatible with Java Versions > 1.5 (to my knowledge). It is very possible to make OS-portable software without Java. -- [1] - http://ada.cx/PKV [2] - http://ada.cx/kDK > Shark8 writes: > >I got into a bit of a debate with a friend who said something to the > >effect that to write drivers one needed to use C/C++... anyway, he > >was irritated about not being able to use Java (which he's sort of > >been forced to use in this instance) to 1) get a process list, and > >2) get window dimensions of a focused-window. > > > >I was wondering how those of you who have had experience in all three > >systems would approach it. > > > >(BTW; Linux, Mac, and Windows for #1 & #2, which is the reason they > >had for making the project Java, I certainly don't have enough > >experience w/ Mac and Linux to say much about them.)