3 ms·
How is that semantically different from Rust? in - regular function arguments inout - mut function arguments out - function return Is there any additional i
by ardel95 4y ago
How is that semantically different from Rust?
in - regular function arguments
inout - mut function arguments
out - function return
Is there any additional information that a compiler can infer from Ada’s parameter syntax?
- layer8 4y agoThe difference between passing by reference vs. by value is observable when comparing pointers to the original vs. to the argument. This difference may be unobservable in Ada though (not sure), so Ada would have more freedom choosing between the two.
- deleted 4y ago[deleted]
- deleted 4y ago[deleted]