Originally posted by Redfoxmoon
View Post
Returns a struct dirent *. This structure has to be decomposed into native Ada types; the binding generator rarely can make i.e getters and setters. Imagine that life was a little bit more awkward involving function pointers or stack based objects (such as how the SDL_Event gets populated by SDL_Poll and friends). No binding is as easy as including it from C, C++ (or to a small extent, Golang).
If I was to start a simple 3D game. I would look at Ada, then look at OpenGL, look back at Ada and then switch to C++. Unfortunately.
Obviously the MoD or communications companies don't care about OpenGL bindings, but for the majority of users, this is an issue.
Leave a comment: