- 2

C++

Would you agree that C/C++ are some Of the very few programming languages that can directly interact with a computer’s Kernel?

5th Jun 2018, 5:03 PM
Andre Abtahi
Andre Abtahi - avatar
3 Answers
+ 2
Unfortunately they can't, which is why you have libraries that are wrappers for assembly syscalls. Same as any other compiled language.
5th Jun 2018, 5:13 PM
Vlad Serbu
Vlad Serbu - avatar
+ 2
Andre Abtahi Memory management has little to do with interacting with the kernel. Sure, allocating memory dynamically requires you to talk to the kernel, but, well, I think all memory in Python is dynamically allocated, and you can certainly do it in Java which runs in a VM.
5th Jun 2018, 6:00 PM
Vlad Serbu
Vlad Serbu - avatar
0
interesting, because my professor last night mentioned how other then assembly, C, C++ and maybe some others languages, languges such as puthon etc can't really perform memory management in a manuel way like the languages mentioned above.
5th Jun 2018, 5:55 PM
Andre Abtahi
Andre Abtahi - avatar