Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you want to learn Ada / SPARK, try https://learn.adacore.com/index.html.


It's ok, but not more than that. I dabbled a bit in Ada, and while that link has a lot of information, it's far from complete. Unfortunately, there isn't much more information on the internet. It can be difficult to find answers.

One thing that document doesn't mention is alire, which is a rather complete tooling. If you want to try out ada, check out https://docs.adacore.com/live/wave/alire/html/alire/index.ht...

I also learned a bit of SPARK, and there the situation is much worse. The Adacore link shows less than the bare minimum: I couldn't get my simple programs (AoC) to the "silver" level, where it passes all checks, let alone "gold", where you actually prove correctness. The rest of the internet is practically barren when you search for SPARK. I got a second-hand copy of Building High Integrity Applications with SPARK; John W. McCormick, Peter C. Chapin. It contains complete examples, and explains the concepts pretty much in depth. Unfortunately, the book is expensive, and since I was just dabbling, I got the cheapest, which was the 2015 edition, which lacks later changes.

There's an Ada forum (https://forum.ada-lang.io/), but it is not very active, and questions may not be answered.


I'll also plug my no-nonsense guessing game tutorial for getting started with Ada quickly: https://entropicthoughts.com/guessing-game-ada-style




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: