Buzza
Check me out on the web at my blog.
Love Computers.
C#, C++ and .NET are the best things since sliced bread.
Model Railways comes ...
C#, C++ and .NET are the best things since sliced bread.
Model Railways comes ...
The Future of SQL Data Services with Nigel Ellis
Apr 27, 2009 at 3:09 PMIs there any type of concurrency manager in the cloud ?
Brian Jones - New Office file formats announced
Jun 02, 2005 at 5:56 AMI don't know - and really, no client that I know of has used open office, so I don't really care.
Singularity: A research OS written in C#
May 24, 2005 at 10:15 PMThey key word here is 'happen to be the same size on x86' thats the dirty word as its just a coincidence.
Could you give me a sample of this 'addressability', as being a c and c++ dev - i have never needed it.
Singularity: A research OS written in C#
May 24, 2005 at 7:56 PMI class it as a dirty trick as a pointer is just that - it points to data - but it is not the actual data - the data is what is pointed at that memory location. An integer is data - not a pointer. Keep the 2 seperate.
Singularity: A research OS written in C#
May 15, 2005 at 2:21 PMAgain, I don't think NEW would be implemented in c# but probably in low level assembler - same as the GC?
Singularity: A research OS written in C#
May 15, 2005 at 12:59 PMthat should have been C++, java and C# - and as you said there is no malloc / free in these languages - they in the specs - which leads me to believe thats where the implementation is, at the low level implemenation of the CLR runtime subset.
Singularity: A research OS written in C#
May 15, 2005 at 12:45 PMWhat I think you need to do is forget about malloc and free and look at what these functions do.
New is part of the framework and free is implemented via the GC - in regards to what the functions do - they are extrememly simple and most likely implemented in assem - remember they said they dropped down to assem for parts.
I found this site about another OO language called Oberon:
http://www.oberon.ethz.ch/native/
Where they discuss memory management in another type of OS called Oberon. It's also a OO language.
http://www.oberon.ethz.ch/native/WebHeap.html
They discuss memory allocation. This is most likely what these guys did.
Singularity: A research OS written in C#
May 14, 2005 at 3:14 PMNa, have done the stuff for 10 years - and i hated doing wire wrap (mine was wire wrap anyway)
Singularity: A research OS written in C#
May 14, 2005 at 1:25 AMWhat is the stack - a place to store data, its gets pushed, and gets poped. There is the stack object in .net and works the same way - its not the same actual stack - but the functionality of it is exactly the same.
I think of it as mananged code at the lowest of levels that anyone will ever want to get at.
instead of alloc and free - we can use new and (!Dispose() or the GC)
registers / stack / etc are so low level - last time I touched them was when i was doing control electronics on a 68HC11.
I would class this as the lowest level of machine virtualisation with the focus in OO princibles.
I assume that this environment would only run managed code.
Singularity: A research OS written in C#
May 14, 2005 at 1:14 AMThe difference is there is a managed environment at the kernal level. The ref counts / type safety is available at a much level lower.
EDIT: i forgot to mention the runtime takes care of what the compiler used to do with type safety and references counting.
ALLOC and FREE are just c function in stdlib (i think) - they are just replaced with NEW and the GC - its a very impressive design.
Could this be a purely OO OS?
See more comments…