[Gambas-user] Working with .so library

Benoît Minisini g4mba5 at gmail.com
Mon Jun 24 16:56:42 CEST 2019


Le 24/06/2019 à 16:46, Cedron Dawg a écrit :
> I disagree with this.
> 
> No question that C was designed to be the lowest possible level
> without being CPU specific, i.e. a universal assembly language, and
> thus reflects how the CPU really works closely, but this particular
> complexity arises from C's pass by value calling stack convention,
> rather than pass by reference.  That was a design choice.

"Passing by reference" means nothing at the CPU level.

You can only send a pointer that points at a memory address.

Which C, as a low-level language, hopefully does not try to hide with 
syntactic sugar.

-- 
Benoît Minisini


More information about the User mailing list