|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Author |
Message |
Ford
Joined: Sat Jul 03, 2010 8:07 am Posts: 44 Location: Clarkesville, GA, USA
|
Obj-C
Out of curiosity, has anyone used objc in his/her OS? What would it take to implement? My though is that since ObjC can compile standard C code, I could use inline ASM and C for a kernel, using ObjC anywhere I needed object orientation. The thing is, I am still a relative n00b at C/ObjC and I am not too sure what it would take to get a working ObjC implementation in a new OS.
_________________ After Monday and Tuesday, even the calendar says WTF.
|
Thu Jan 20, 2011 11:09 am |
|
|
Kieran
Site Admin
Joined: Sat Jul 25, 2009 7:44 am Posts: 274 Location: United Kingdom
|
Re: Obj-C
I believe there is a lot of support code that Objective C needs to run. I think that's why people don't use it. Take a look around the net, you might find some hints or resources for making an OS in Objective C.
_________________ Thank you for reading,
Kieran C G Foot
|
Fri Jan 21, 2011 3:50 am |
|
|
ctimko
Joined: Wed Oct 14, 2009 9:39 am Posts: 198 Location: United States
|
Re: Obj-C
I think there is more support code needed for Obj-C than there is for C++. I haven't tried this, and I don't know if anyone else has, but can you statically link all of the code together? That should inject all the Obj-C code required into the binary until you re-write it all...
_________________ Charles Timko push %esp ;Musings of a computer addict
|
Fri Jan 28, 2011 11:16 am |
|
|
Ford
Joined: Sat Jul 03, 2010 8:07 am Posts: 44 Location: Clarkesville, GA, USA
|
Re: Obj-C
ctimko wrote: I think there is more support code needed for Obj-C than there is for C++. I haven't tried this, and I don't know if anyone else has, but can you statically link all of the code together? That should inject all the Obj-C code required into the binary until you re-write it all... Good idea. Thx! =)
_________________ After Monday and Tuesday, even the calendar says WTF.
|
Mon Jan 31, 2011 8:08 pm |
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 6 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
|
|