4 ms·
Thanks!
by StreamBright 5y ago
Thanks!
- johnisgood 5y agoNo problem! You might find this website useful, too, as it is filled with resources: https://www.adaic.org/learn/materials/ https://www.adaic.org/learn/materials/
- mousepilot 5y agoI loved reading about ada back in the day, how is it nowadays wrt network programming. I'm checking out gnat.sockets, does it have a snappy select() type thing like linux's epoll? Sorry if a lazy question, last time I looked at ada was decades ago and I'm surprised to find enthusiasts for it on HN. edit: an advantage for c is that you can get loads of examples just googling, sucks for less used languages I guess.
- johnisgood 5y agoIt has been a while, but you may want to look at: - https://en.wikibooks.org/wiki/Ada_Programming/Libraries/GNAT.Sockets https://en.wikibooks.org/wiki/Ada_Programming/Libraries/GNAT... (search for "C select()") - https://www.codelabs.ch/anet/ https://www.codelabs.ch/anet/ - https://github.com/samueltardieu/adasockets https://github.com/samueltardieu/adasockets - https://github.com/rtyler/ada-playground/blob/master/epollecho/src/main.adb https://github.com/rtyler/ada-playground/blob/master/epollec... Some old reading: https://brokenco.de/2013/04/07/async-with-ada.html https://brokenco.de/2013/04/07/async-with-ada.html You may want to check how GNAT.Sockets and Anet are implemented, too. I know that GNAT code is heavily documented.
- mousepilot 5y agothanks man, your post is a great timesaver, that wikibooks link itself is packed with info!
- johnisgood 5y agoOf course, you are welcome!