OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 4:26 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Languages that support stack allocation?
PostPosted: Sat Jul 21, 2018 7:34 am 
Offline
Member
Member

Joined: Mon Jul 05, 2010 4:15 pm
Posts: 595
fano1 wrote:
My opinion is that the right solution is not to focus too much in this little details a good language should have fast heap allocation, a garbage collector and do stack escape analysis automatically (Java does this already, C# is working on it).


In normal application programming this might not matter that much, however in system (OS, embedded) programming this matters a lot. Using the stack more extensively can help a lot (reduce fragmentation, speed, locking, in some cases dynamic allocators aren't even available). Also you want explicit control over memory allocation meaning the compiler shouldn't have any own idea from where it should obtain the memory.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 37 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group