[Gambas-user] Working with .so library

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


Le 24/06/2019 à 16:23, Admin a écrit :
> Wow. Thanks a lot! Yes, it works. I wouldn't figure this out by myself 
> because it is out of limits of my logic. I even came close to something 
> similar earlier today - an idea of trying to create another pointer and 
> then create a pointer to it visited my head but I dismissed this idea as 
> totally ridiculous without even trying it. I thought "why would any 
> programming language require to create such a complex construction". 
> Well... C would, I guess.
> 
> Best regards
> Dmitry.
> 

"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


More information about the User mailing list