comp.lang.ada
 help / color / mirror / Atom feed
From: "A.J." <ianozia@gmail.com>
Subject: Re: Carbon
Date: Sat, 6 Aug 2022 10:48:00 -0700 (PDT)	[thread overview]
Message-ID: <fc06be9b-217c-418e-ace5-861427e5e328n@googlegroups.com> (raw)
In-Reply-To: <tclt75$plh$1@gioia.aioe.org>

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 marketing, at least outside of specific niches, and from a learning & resources aspect, it took me reading Barnes' Programming in Ada 2012 cover-to-cover to properly grok the language.  With that being said, things have been changing 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 browser.  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 all to compiling your own hello example and there's a lot of libraries already supported ( https://alire.ada.dev/crates.html ).  To bring, for example, Gnatcoll_sqlite, into your project, you would simply just type "alr with gnatcoll_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 hello", and it'll automatically fetch the "hello world" package.
5: Go to that newly added project's folder with command "cd hello" and enter.
6: Build and run the project by typing "alr run"
7: Alire will automatically download and install the ada compiler and everything.  You'll get a prompt asking what toolchains to use, just hit the enter key twice to select the defaults.
To create anything new in Alire, just type "alr init --bin myproj" and it'll 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 resources, albeit they seem to mostly be in English: https://github.com/ohenley/awesome-ada

  reply	other threads:[~2022-08-06 17:48 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-22 21:13 Carbon Gautier write-only address
2022-07-23  9:09 ` Carbon John McCabe
2022-07-23 13:14 ` Carbon Dmitry A. Kazakov
2022-07-23 13:49   ` Carbon Stéphane Rivière
2022-07-24  9:09 ` Carbon Jeffrey R.Carter
2022-07-24  9:22   ` Carbon Dmitry A. Kazakov
2022-07-24  9:38 ` Carbon Luke A. Guest
2022-07-26 17:31   ` Carbon John McCabe
2022-07-27  8:10     ` Carbon Luke A. Guest
2022-07-27 17:24       ` Carbon John McCabe
2022-07-27 20:00         ` Carbon Luke A. Guest
2022-07-28 23:48           ` Carbon Nasser M. Abbasi
2022-07-29  4:34             ` Carbon Devin Rozsas
2022-07-29 11:03             ` Carbon John McCabe
2022-07-29 19:05               ` Carbon Gautier write-only address
2022-07-30  9:16                 ` Carbon John McCabe
2022-07-30  8:11               ` Carbon G.B.
2022-07-29 18:59             ` Carbon Gautier write-only address
2022-07-30  4:26               ` Carbon Nasser M. Abbasi
2022-07-30  9:21               ` Carbon John McCabe
2022-07-30  1:40             ` Carbon Paul Rubin
2022-07-30  4:23               ` Carbon Nasser M. Abbasi
2022-08-06 14:18             ` Carbon dennis knorr
2022-08-06 17:48               ` A.J. [this message]
2022-08-07  9:08               ` Carbon G.B.
2022-08-08 21:38                 ` Carbon dennis knorr
2022-08-08 22:28                   ` Carbon Dmitry A. Kazakov
2022-08-09  4:12                     ` Carbon Randy Brukardt
2022-08-09  6:05                       ` Carbon Paul Rubin
2022-08-09  7:22                       ` Carbon John McCabe
2022-08-10  1:19                       ` Carbon John Perry
2022-08-10  6:20                         ` Carbon Paul Rubin
2022-08-10 17:58                           ` Carbon John Perry
2022-08-10 18:10                             ` Carbon Dennis Lee Bieber
2022-08-10  8:24                         ` Carbon Luke A. Guest
2022-08-10 17:59                           ` Carbon John Perry
2022-08-18  1:02                             ` Carbon Randy Brukardt
2022-08-27  9:49                           ` Carbon John McCabe
2022-07-27 20:39         ` Carbon Simon Wright
2022-07-27 23:30           ` Carbon John McCabe
2022-08-25  9:14         ` Carbon Fabien Chouteau
2022-08-25 17:55           ` Carbon John Perry
2022-08-26 18:59             ` Carbon Olivier Henley
2022-08-26 20:23               ` Carbon Paul Rubin
2022-08-26 20:59                 ` Carbon Olivier Henley
2022-08-26 21:40                   ` Carbon Paul Rubin
2022-08-26 22:18                     ` Carbon Olivier Henley
2022-08-27  0:06                       ` Carbon Paul Rubin
2022-08-28  0:30                     ` Carbon John McCabe
2022-08-28  1:32                       ` Carbon Paul Rubin
2022-08-28  8:57                         ` Carbon John McCabe
2022-08-28 17:34                           ` Carbon G.B.
2022-09-01  6:46                             ` Carbon J-P. Rosen
2022-09-02 14:18                               ` Carbon G.B.
2022-09-02 14:59                                 ` Carbon J-P. Rosen
2022-09-02 17:55                                   ` Carbon Niklas Holsti
2022-09-02 18:45                                     ` Carbon J-P. Rosen
2022-09-03  0:23                                     ` Carbon Randy Brukardt
2022-08-28 20:43                           ` Carbon Paul Rubin
2022-08-29  8:57                             ` Carbon John McCabe
2022-08-28  0:14                 ` Carbon John McCabe
2022-08-28 17:39                   ` Carbon G.B.
2022-08-28 18:24                     ` Carbon Paul Rubin
2022-08-26 23:21               ` Carbon Jeffrey R.Carter
2022-08-27 11:27                 ` Carbon Rod Kay
2022-08-27 15:20                   ` Carbon John Perry
2022-08-27 23:47             ` Carbon John McCabe
2022-08-27 23:39           ` Carbon John McCabe
2022-07-27  8:45     ` Carbon Luke A. Guest
2022-07-27 13:16     ` Carbon Patrick Georgi
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox