Hey #mastodon . Enlight me with your knowledge.
You know in programming languages like #python, #c/c++, etc., you could just create a variable in another file and call it into the main file directly. Like in Python -> `import dataset as ds`. What I wanted to know is how the interpreter and/or compiler does it. And can I do it myself ?
@raiderrobert #Verilog, #C, PHP, bash, Python, HTML+CSS+JS, #TeXLaTeX, …
detour: A detour through the Linux dynamic linker https://lobste.rs/s/rnwozv #c #linux
https://github.com/graphitemaster/detour
Does anyone know if a Linux mutex in c will use a user space lock if it’s uncontested (like std::sync::mutex in rust) or will you always pay the penalty of asking the kernel ?
C++: Maps on Chains
http://bannalia.blogspot.com/2025/07/maps-on-chains.html
#HackerNews #C++ #Maps #on #Chains #programming #data-structures #coding #HackerNews