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

Is Ada really as good as its touted to be? How good is the cross compilation, metaprogramming and FFI story?


FFI is described here: http://www.ada-auth.org/standards/22rm/html/RM-B.html

Here with some examples using gcc and gnat: https://gcc.gnu.org/onlinedocs/gnat_ugn/Mixed-Language-Progr...

And finally here with the Adacore learning site: https://learn.adacore.com/courses/intro-to-ada/chapters/inte...

I have limited experience with FFI in Ada, but never had any issues. Cross compilation is about the same as you'd expect from any mature language ecosystem. Metaprogramming, it does not have macros but it has a very good generics systems.

Also for some reason your comment was dead (not flagged dead) so you may want to email the HN mods (see contact at the bottom of the page) about that.




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

Search: