For Programmers: Free Programming Magazines  


Home > Archive > Functional > August 2007 > Re: shootout: implementing an interpreter for a simple procedural









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: shootout: implementing an interpreter for a simple procedural
Joachim Durchholz

2007-08-21, 10:07 pm

Jon Harrop schrieb:
> I think there are some strong arguments for putting GC in the OS. I wonder
> if .NET will move in that direction...


Difficult to do well. Different execution models can vary wildly with
their GC requirements.

Examples:

Some hand-allocate. (Unmanaged C.)
Some have a large heap. (Managed C, Java, etc.)
Some put everything in the heap, including the call stack. (Some more
exotic language implementations.)
Others would need a per-thread/per-process heap (Erlang).

Well, OK, MS never was particularly well-known for trying to achieve the
best solution for many cases, they usually opted for doing one thing
reasonably well and neglecting everything else (regularly drawing flame
from those parties who happened to need some of that "everything else"
stuff).

Regards,
Jo
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com