From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_05,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a0c:c448:0:b0:473:efea:483f with SMTP id t8-20020a0cc448000000b00473efea483fmr10246880qvi.3.1659808081487; Sat, 06 Aug 2022 10:48:01 -0700 (PDT) X-Received: by 2002:a25:2245:0:b0:67b:7758:808b with SMTP id i66-20020a252245000000b0067b7758808bmr9273331ybi.279.1659808081126; Sat, 06 Aug 2022 10:48:01 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!border-1.nntp.ord.giganews.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 6 Aug 2022 10:48:00 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=173.49.56.242; posting-account=es6tdQoAAABG0JD-zg4XEg34h5fepyKP NNTP-Posting-Host: 173.49.56.242 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Carbon From: "A.J." Injection-Date: Sat, 06 Aug 2022 17:48:01 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:64181 List-Id: On Saturday, August 6, 2022 at 10:18:17 AM UTC-4, dennis knorr wrote: <.. snip ..> I agree with you on some of these points. Ada never seemed to be big on ma= rketing, at least outside of specific niches, and from a learning & resourc= es aspect, it took me reading Barnes' Programming in Ada 2012 cover-to-cove= r to properly grok the language. With that being said, things have been ch= anging a lot in the last two years. https://learn.adacore.com is a decent resource in that it gives you little = ada interpreter with code snippets you can test out yourself right in the b= rowser. It's not exactly a "web playground or repl shell" but it's pretty = good and seems to support the standard library. >From a library and tooling standpoint, I would check out Alire. It takes a= matter of minutes to get from not having any ada compilers installed at al= l to compiling your own hello example and there's a lot of libraries alread= y supported ( https://alire.ada.dev/crates.html ). To bring, for example, = Gnatcoll_sqlite, into your project, you would simply just type "alr with gn= atcoll_sqlite" while in that directory. Here's a quick start that I wrote up for my friends: ---- 1: Download alire for your OS (e.g. on Windows it's "alr-*-installer-x86_64= -windows.exe"): https://github.com/alire-project/alire/releases 2: After installing, run the "Alire" program 3: Once you're in the Alire command prompt, type alr and then hit "enter", = and it'll install everything you need (e.g. on Windows, it'll install msys2= ) 4: To grab an example project that you can install and run, type "alr get h= ello", and it'll automatically fetch the "hello world" package. 5: Go to that newly added project's folder with command "cd hello" and ente= r. 6: Build and run the project by typing "alr run" 7: Alire will automatically download and install the ada compiler and every= thing. You'll get a prompt asking what toolchains to use, just hit the ent= er key twice to select the defaults. To create anything new in Alire, just type "alr init --bin myproj" and it'l= l create a new project that you can start programming in a project named "= myproj". (if it asks for your github info, you can just leave it blank). More info here https://alire.ada.dev/docs/#first-steps ---- Then of course there's the awesome-ada repository that has some nice resour= ces, albeit they seem to mostly be in English: https://github.com/ohenley/a= wesome-ada