Re:Curl is C
by staticassertion on Monday March 27, 2017 @02:58PM
(#13970618)
As far as I am aware Ada is not memory safe without a runtime and with the presence of non-static memory. So you either have a runtime, no deallocation, or unsafety.
[ Parent
| on HN ]
C also needs a runtime, it is called crt0 on UNIX and it is what calls main(), sets up global initialization functions (constructor functions in GCC C), emulates floating point,...
As for Ada, you can selectively disable which parts of the runtime actually land on the generated executable via compiler pragmas.
Deallocation can be done via pools or controlled types.
Re:Curl is C
by staticassertion on Monday March 27, 2017 @03:54PM
(#13971104)
OK, I should have said garbage collector, not runtime.