3 ms·
If I remember correctly Ada has some non-sytem things, like its own threads (tasks). For our compiler (Rational) they weren't handled by the OS. Many of the c
by acomjean 8y ago
If I remember correctly Ada has some non-sytem things, like its own threads (tasks). For our compiler (Rational) they weren't handled by the OS. Many of the closed source compiler vendors stopped supporting them (probably too much work for too few customers), thus GNAT/ Adacore and actual OS threads.
[1] http://www.iuma.ulpgc.es/users/jmiranda/gnat-rts/node14.htm http://www.iuma.ulpgc.es/users/jmiranda/gnat-rts/node14.htm
Its been a while.
The ada runtime didn't have a lot of things built in so for our project we built a ada library that would call out to some C code that allowed ada to call to the OS for networking/shared memory/message queues and such. Sizing of types passed from ada to C was important, but wasn't too difficult. Ada also has a record type that seemed to map well to structs.
- steveklabnik 8y agoI've seen embedded RTOSes that are focused on task-like abstractions, I don't think that means it disqualifies.