Bona Fide OS Developer
View unanswered posts | View active topics It is currently Sat Jun 23, 2018 4:29 pm



Post new topic Reply to topic  [ 4 posts ] 
 Obj-C 
Author Message

Joined: Sat Jul 03, 2010 8:07 am
Posts: 44
Location: Clarkesville, GA, USA
Post 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
Profile WWW
Site Admin

Joined: Sat Jul 25, 2009 7:44 am
Posts: 274
Location: United Kingdom
Post 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
Profile WWW

Joined: Wed Oct 14, 2009 9:39 am
Posts: 198
Location: United States
Post 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
Profile WWW

Joined: Sat Jul 03, 2010 8:07 am
Posts: 44
Location: Clarkesville, GA, USA
Post 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
Profile WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 2 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin and tweaked by the BF Team.