OSDev.org

The Place to Start for Operating System Developers
It is currently Sat May 18, 2024 12:17 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Wed May 30, 2007 2:30 pm 
Offline

Joined: Tue May 29, 2007 3:30 pm
Posts: 5
I can see it be quite difficult to write a type safe GC if a big part of what makes a language type safe is a GC


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 30, 2007 3:55 pm 
Offline
Member
Member

Joined: Wed Oct 18, 2006 5:49 am
Posts: 200
There's a paper containing a type-safe garbage collector here. They define a typed assembly language that guarantees safety of memory operations, but is expressive enough to write the garbage collector in. (I must admit that I haven't finished reading the paper yet - I have a big collection of papers I've been meaning to read. :))


Last edited by nick8325 on Wed May 30, 2007 4:05 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Wed May 30, 2007 4:00 pm 
Offline

Joined: Tue May 29, 2007 3:30 pm
Posts: 5
The link isn't working


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 30, 2007 4:05 pm 
Offline
Member
Member

Joined: Wed Oct 18, 2006 5:49 am
Posts: 200
That's because there was a full stop at the end of the URL. Try again now.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 30, 2007 4:29 pm 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 6:06 pm
Posts: 1437
Location: Vancouver, BC, Canada
Too many Greek letters!! I'm going blind... :shock: :lol: If only I had the time...

_________________
Top three reasons why my OS project died:
  1. Too much overtime at work
  2. Got married
  3. My brain got stuck in an infinite loop while trying to design the memory manager
Don't let this happen to you!


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 31, 2007 10:08 am 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 11:33 pm
Posts: 3882
Location: Eindhoven
Colonel Kernel wrote:
Too many Greek letters!! I'm going blind... :shock: :lol: If only I had the time...


The problem with those scientific papers is that they make it impossible for anybody who didn't have greek at school to read it, let alone ask questions.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 31, 2007 10:13 am 
Offline
Member
Member

Joined: Wed Oct 18, 2006 5:49 am
Posts: 200
Candy wrote:
Colonel Kernel wrote:
Too many Greek letters!! I'm going blind... :shock: :lol: If only I had the time...


The problem with those scientific papers is that they make it impossible for anybody who didn't have greek at school to read it, let alone ask questions.
Too many funny symbols, I agree. They're not so hard to read once you get used to the notation, though. The standard introduction to this sort of thing is Types and Programming Languages.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 11, 2007 5:18 am 
Offline

Joined: Tue Dec 11, 2007 4:57 am
Posts: 2
Location: Melbourne, Australia
I was thinking about a single address space operating system, and I was thinking rather than forcing the use of a restricted language that I could just use the llvm JIT and replace all the bytecode's LOAD/STORE with a memory access check and then do the load store... I am not sure how much of a performance hit that would be.

I am not sure about type safty yet... I figure C is already as type safe as it needs to be without getting in your face...


Oh yeah my first post, I got big ideas but no background... I hope I can provide some nice ideas and hypothetical... I like everyone else has a few cool OS ideas... A while before I have the skills to implement them (if ever) but I enjoy the concepts enough to be fulfilled.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 11, 2007 5:23 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 22, 2006 7:01 am
Posts: 2646
Location: Devon, UK
Welcome to the board.

Although I don't often contribute to the heavily theoretical threads, I enjoy reading them. I'm hoping that once my C++ kernel is 'complete', most of the userland stuff will be in type-safe languages (I like C#) so will watch your thoughts with interest.

Cheers,
Adam


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 11, 2007 5:50 am 
Offline

Joined: Tue Dec 11, 2007 4:57 am
Posts: 2
Location: Melbourne, Australia
I am kind of disappointed with the turn out of type safe langs in the open source world...

I have been following clang (a BSD compiler, that reuses llvm and does not use any gcc code [the current llvm front ends reuse gcc]) and it is writen in a nice modular way, I think the lexer and llvm glue would possibly be reusable for a javascript or c# compilers (or pike or whatever) and all this nice bsd code would allow one to add all kinds of extensions to c like langs in a modular way.


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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