[Gambas-user] Working with .so library

Cedron Dawg cedron at exede.net
Mon Jun 24 16:46:17 CEST 2019


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.

----- Original Message -----
From: "Benoît Minisini" <g4mba5 at gmail.com>

"why would any  programming language require to create such a complex 
construction".

Because this is exactly how a CPU works (it manipulates memory using 
addresses), and the C language is intended to be very close the CPU. 
Even if it is less and less true because of the evolution of the x86 
architecture in the last ten years.

REgards,

-- 
Benoît Minisini

----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----


More information about the User mailing list