It seems like a lovely language but, Objects I create... seem to need to inherit from a Root class (NSObject or GNUStep's Object). So, I need to figure out HOW that works.
Specifically

Any information, or advice would be appreciated!
~Zeii.
I don't know much about D, but I get the sense that its OO features are more "to the metal" than Objective-C's. To put it another way, I'd put D closer to C++ than to Objective-C on the "abstraction spectrum". I like Objective-C, but I'm not sure that its OO features would be very helpful (or lightweight enough) in low-level kernel code. D might actually be a better fit.binutils wrote:not flame, how about D over obj-c?
D win?
http://en.wikipedia.org/wiki/D_programming_language
D is very good at pretending to be better than all the other languages and having a very harsh and stable user base that uses it. I don't know many D programmers though and I haven't seen it suggested anywhere outside of hobby contexts so I can't vouch for its qualities.binutils wrote:not flame, how about D over obj-c?
D win?
http://en.wikipedia.org/wiki/D_programming_language
Are they people who've compared D to other languages? Or those who assume "D is after C in the alphabet so it must be better"?Candy wrote:D is very good at pretending to be better than all the other languages and having a very harsh and stable user base that uses it. I don't know many D programmers though and I haven't seen it suggested anywhere outside of hobby contexts so I can't vouch for its qualities.binutils wrote:not flame, how about D over obj-c?
D win?
http://en.wikipedia.org/wiki/D_programming_language
Out of interest... which of these you consider to be not easily doable in C++/STL?speal wrote:Array bounds checking, delegates (like function pointers, but for class instances), array slicing, contract programming (asserts that will dump source-file line numbers to screen), nicer templates, and tuples are all great things to play with.
Just asking, because I don't know myself (others may benefit), but where could we find a version of the STL that we could port to our own kernels (or possibly userland programs?).Out of interest... which of these you consider to be not easily doable in C++/STL?Array bounds checking, delegates (like function pointers, but for class instances), array slicing, contract programming (asserts that will dump source-file line numbers to screen), nicer templates, and tuples are all great things to play with.
He did a good job on that tutorial, Anyone know when it'll be moved into a permanent location?Solar wrote:Jnc100's OS_Specific_Toolchain includes tipps on how to port newlib / libgcc / libstdc++.