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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.67.14.194 with SMTP id fi2mr64985336pad.29.1436166281738; Mon, 06 Jul 2015 00:04:41 -0700 (PDT) X-Received: by 10.50.110.35 with SMTP id hx3mr46167igb.0.1436166281687; Mon, 06 Jul 2015 00:04:41 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!wf20no444908igc.0!news-out.google.com!a16ni11256ign.0!nntp.google.com!wf20no444907igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 6 Jul 2015 00:04:41 -0700 (PDT) In-Reply-To: <87k2uenkcw.fsf@nightsong.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=75.95.203.18; posting-account=LwU5fwoAAAA7QyEG16xXUj4N3XrBfwKS NNTP-Posting-Host: 75.95.203.18 References: <974c8db0-c9e8-49d4-8db1-3417ec49217b@googlegroups.com> <87k2uenkcw.fsf@nightsong.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: newbie, Spark 2014 or Ada 2012 From: nomadfate@gmail.com Injection-Date: Mon, 06 Jul 2015 07:04:41 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:26626 Date: 2015-07-06T00:04:41-07:00 List-Id: On Sunday, July 5, 2015 at 3:30:27 PM UTC-10, Paul Rubin wrote: > nomadlite@gmail.com writes: > > I am new to Ada. > > I am choosing my hobby programming language for system programming. I > > am doing programming for a hobby. It is going to be Java, python, VB > > .Net or Ada/Spark. >=20 > Ada is the only one of those suitable for what I usually think of as > system programming, i.e. close to machine level. The others are for > application programming, which is further away from the hardware and > which are able to automate more of the program's requirements > (particularly memory management). That makes them easier to use, at the > cost of some efficiency and timing determinism. >=20 > Are you new to programming in general? The first thing I'd want to ask > is if there are specific types of programs you'd like to write: OS > kernels, robot control, web servers, or what? >=20 > If you don't have a clear direction yet, I'd say that Ada probably isn't > the best place to start. Python doesn't have Ada's high-reliability > features or its performance, but it's easier to learn and more > productive for slapping small, non-critical projects together. Ada is > for when you need large scale organization and deeper control and > assurance about what the code is doing. Those benefits are sometimes > invaluable, but they don't come for free. Think of the difference > between hopping on your bike and riding somewhere (Python) and flying a > jetliner there, complete with mechanical preparation and preflight > checklists (Ada). >=20 > > If I learn Ada 2012 then learn Spark 2014, is it often to confused > > Spark 2014 code with Ada 2012 code when you do programming?=20 >=20 > No I don't think so. Spark is basically a subset of Ada with some extra > annotations to write high-level specifications into your program, and > then some tools for making sure the program actually matches the spec. > This can get pretty complicated to use, but it's basically the gold > standard for high-assurance real time programming. You probably want to > know some mathematical logic if you want to use Spark in a sophisticated > way. =20 >=20 > If you like the mathematical-logic approach to programming, you might > also like to try out Haskell. It's much further "out there" than the > other languages you've mentioned but brings a cleaner mathematical > approach. See: http://haskell.org for some resources. Thank you for your reply. I am not new to programming. I went to basic programming classes when I was= in school. I am more interested in micro-controller and electronic stuff. = I have 2 years Electronic A.S. degree. I don't like math so Haskell is not= for me. I guess my language choice is going to be Ada, C, or assembly for = now. Java have Java ME for embedded systems and Python have Raspberry Pi sy= stem so Python and Java are still on my watch list.