Bona Fide OS Development http://forums.osdever.net/ |
|
Obj-C http://forums.osdever.net/viewtopic.php?f=5&t=892 |
Page 1 of 1 |
Author: | Ford [ Thu Jan 20, 2011 11:09 am ] |
Post subject: | 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. |
Author: | Kieran [ Fri Jan 21, 2011 3:50 am ] |
Post subject: | 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. |
Author: | ctimko [ Fri Jan 28, 2011 11:16 am ] |
Post subject: | 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... |
Author: | Ford [ Mon Jan 31, 2011 8:08 pm ] |
Post subject: | 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! =) |
Page 1 of 1 | All times are UTC - 6 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |