3 votes 3 votes It is obvious when a program is allotted memory, there are many segments viz Code Segment,Stack Segment,Heap and Static as well. Therefore does this area remain the same for all the programming languages?I Operating System operating-system + – Devshree Dubey asked Apr 2, 2018 Devshree Dubey 707 views answer comment Share Follow See all 14 Comments See all 14 14 Comments reply Show 11 previous comments gauravkc commented Apr 3, 2018 reply Follow Share Java > C in security No pointers = Limited access to memory locations Exception handling, etc 0 votes 0 votes Devshree Dubey commented Apr 3, 2018 reply Follow Share @Gauravkc,Exactly that is what I want to point out actually. There are some parameters where some language is better,while there are others where a different one is better. It can't be said precisely which one is the best. 0 votes 0 votes Akhilesh Singla commented Apr 4, 2018 reply Follow Share Being closer to hardware also provides opportunity to exploit. Thus, yes C is less secure than Java or Python. I agree we can not say which language is the best for all purposes. But we can say for a certain task a programming language is better than others to use. For example, for hardware programming C is better. For ML/AI Python or R is better. Since we are on programming languages, one of the biggest security loophole ever discovered in Computer Science, namely Spectre(and its subpart Meltdown), is actually not because of any programming language but because of Pipelining! See this: https://www.youtube.com/watch?v=I5mRwzVvFGE 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Yes, Because those things which you mention are managed by Os not by any compiler. Programming language make easy for programmer to write code without any much knowledge about hardware nothing more. It is more better Question that All Os i.e. windows or linux manage process in same way. Still answer is yes. Every process required resources to exceute and these requirement is common. Anything wrong plz comment.....! Raj Kumar 7 answered Apr 3, 2018 Raj Kumar 7 comment Share Follow See all 0 reply Please log in or register to add a comment.