|
Register or have you forgotten your password?
|
|
|
| CH / Science and Technology This is the correct place for open, moderated discussions relating to science and technology. Open to Registered users only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#16 | ||||||||
|
Sockologist
![]()
|
Man, we've gotten so far off-topic. I'm actually considering moving half of this to a developer discussion thread
__________________
OCA This isn't SCSI... This is SATA!!! I have CDO. It's like OCD except all the letters are in ascending order. The way they should be. Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64 A1XE 800MHz / 512MB / Radeon 9200 / OS4.1 A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4 A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9 A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB |
||||||||
|
|
|
|
|
#17 | ||||||||
|
Sockologist
![]()
|
Done. Have to say, vbulletin has some nice features for this sort of thing
__________________
OCA This isn't SCSI... This is SATA!!! I have CDO. It's like OCD except all the letters are in ascending order. The way they should be. Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64 A1XE 800MHz / 512MB / Radeon 9200 / OS4.1 A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4 A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9 A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB |
||||||||
|
|
|
|
|
#18 | |||||||||
|
Sockologist
![]()
|
Quote:
I don't think the potential for this has been explored but when OS4 introduced it's "Interface" concept for libraries, it occurred to me that the mechanism could be used to produce a GUI engine somewhat more efficient than BOOPSI. To quickly recap, an Interface is simply a C structure with instance data and a set of function pointers that, through a custom __attribute__ get a pointer to the instance passed as the first parameter (Self, in a small nod to smalltalk perhaps?) and thus behaves as a method that can act on that instance. So far, AFAIK, it has been used solely for making shared libraries, but fundamentally, the interface is a first class object which can be cloned and modified. I've often wondered whether or not a suitably designed Interface could be used as a runtime extensible GUI element. If so, an Interface call is rather more efficient than a BOOPSI method dispach and has a syntax (InterfaceInstance->Method(<args>)) that's a bit nicer for OO developers too.
__________________
OCA This isn't SCSI... This is SATA!!! I have CDO. It's like OCD except all the letters are in ascending order. The way they should be. Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64 A1XE 800MHz / 512MB / Radeon 9200 / OS4.1 A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4 A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9 A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB |
|||||||||
|
|
|
|
|
#20 | ||||||||
|
Guru Meditator
![]()
Join Date: Feb 2003
Location: Englistan
Posts: 6,821
|
Let's heat it up a little!
@Karlos Please tell us your thoughts on Objective-C++
__________________
http://www.commodore.gen.tr/forum/in...38089#msg38089 http://sf.net/projects/amithlon/files/ “Socialism" is no more an evil word than "Christianity." Socialism no more prescribed Joseph Stalin and his secret police and shuttered churches than Christianity prescribed the Spanish Inquisition. Christianity and socialism alike, in fact, prescribe a society dedicated to the proposition that all men, women, and children are created equal and shall not starve.” - Kurt Vonnegut |
||||||||
|
|
|
|
|
#21 | ||||||||
|
Sockologist
![]()
|
Not even Objective-C fans like Objective-C++. I suppose it has advantages of both but there's no actual overlap in the OO services from Objective-C and those provided by C++.
__________________
OCA This isn't SCSI... This is SATA!!! I have CDO. It's like OCD except all the letters are in ascending order. The way they should be. Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64 A1XE 800MHz / 512MB / Radeon 9200 / OS4.1 A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4 A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9 A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB |
||||||||
|
|
|
|
|
#22 | |||||||||
|
Sockologist
![]()
|
Quote:
__________________
OCA This isn't SCSI... This is SATA!!! I have CDO. It's like OCD except all the letters are in ascending order. The way they should be. Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64 A1XE 800MHz / 512MB / Radeon 9200 / OS4.1 A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4 A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9 A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB |
|||||||||
|
|
|
|
|
#23 | ||||||||
|
Defender of the Faith
![]()
Join Date: Aug 2002
Location: USA
Posts: 1,503
|
I used to program in compiled Basic and assembly and didn't like C or C++, now I have a C++ programming class in college, and I'm learning a lot. C++ is pretty cool.
__________________
Oh yeah?!? Well your stupid bit is set, and its read only! (my best geek putdown) |
||||||||
|
|
|
|
|
#24 | ||||||||
|
Sockologist
![]()
|
It's one of those languages I find you learn in layers, each one revealed by some new problem you come up against.
First of all, you start of writing what is ostensibly C and perhaps the only features you use are the streams for input and output (though personally I prefer C-style IO and almost always use it in preference). Then you create your first simple classes, and eventually they get more complex as you start introducing inheritance. You start to discover design patterns and how to implement them. You get better at sorting concepts into concrete and abstract classes and so on. At some point, you invariably come up with generalized ideas for code that works with objects of different types and you suddenly realise what C++ templates can do for you and then what the STL has already done for you. Your code gets bigger and you realise what namespaces are for. And, just like the STL, after some time, you start looking at 3rd party libraries like boost and realising that some very clever people have done some excellent work so that you don't have to. Although personally, I quite like doing the implementation work, I find it relaxing
__________________
OCA This isn't SCSI... This is SATA!!! I have CDO. It's like OCD except all the letters are in ascending order. The way they should be. Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64 A1XE 800MHz / 512MB / Radeon 9200 / OS4.1 A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4 A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9 A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB |
||||||||
|
|
|
|
|
#25 | ||||||||
|
Defender of the Faith
![]()
Join Date: Aug 2002
Location: USA
Posts: 1,503
|
I've had to step back to beginnings for everything. Basic I/O, no loops or subroutines, or anything like that.
We are taking it a step at a time with the class, it has been interesting. My Professor is a wild one too, she is a 5'2" lady with a pretty wacky sense of humor.
__________________
Oh yeah?!? Well your stupid bit is set, and its read only! (my best geek putdown) |
||||||||
|
|
|
|
|
#26 | ||||||||||
|
Guru Meditator
![]()
Join Date: Feb 2003
Location: Englistan
Posts: 6,821
|
Quote:
Quote:
__________________
http://www.commodore.gen.tr/forum/in...38089#msg38089 http://sf.net/projects/amithlon/files/ “Socialism" is no more an evil word than "Christianity." Socialism no more prescribed Joseph Stalin and his secret police and shuttered churches than Christianity prescribed the Spanish Inquisition. Christianity and socialism alike, in fact, prescribe a society dedicated to the proposition that all men, women, and children are created equal and shall not starve.” - Kurt Vonnegut Last edited by nicholas; 11-05-2010 at 03:28 PM.. |
||||||||||
|
|
|
|
|
#27 | |||||||||
|
Guru Meditator
![]()
Join Date: Feb 2003
Location: Englistan
Posts: 6,821
|
Quote:
Maybe I should have asked for your thoughts on Java.
__________________
http://www.commodore.gen.tr/forum/in...38089#msg38089 http://sf.net/projects/amithlon/files/ “Socialism" is no more an evil word than "Christianity." Socialism no more prescribed Joseph Stalin and his secret police and shuttered churches than Christianity prescribed the Spanish Inquisition. Christianity and socialism alike, in fact, prescribe a society dedicated to the proposition that all men, women, and children are created equal and shall not starve.” - Kurt Vonnegut |
|||||||||
|
|
|
|
|
#28 | ||||||||
|
Sockologist
![]()
|
Java was and is a nice idea. It's somewhat failed to live up to it's potential however.
I do remember a fun discussion with some Java purists that really hated C++ due to the misuse some of it's features can be put to and that such things had no place in a "clean" language. At one point, they went on and on about why operator overloading was the work of satan and no language should ever have it. My pointing out that Java's StringBuffer overrides operator+() for concatenation didn't seem to go down well. Special case this, exception the other. Enforce a rule or don't. Amusingly, one of their other objections (at the time) was that C++ template syntax was so evil that generics might as well not be a language feature since nobody would ever use it (despite the fact that STL is built from it). I had to smile when Java finally introduced generics. The syntax is practically identical. As it was in C# too ![]() Other aspects of Java I don't like are the lack of support for efficient concrete types (all non-static class functions behave like C++ virtual functions), though in some respects this is less of an issue for a language that is JIT compiled from bytecode, since the extra indirection can often be eliminated at JIT time. I'm also not a big fan of garbage collection but it certainly has it's place in larger systems. I also miss features like multiple inheritance, operator overloading and friend relationships between classes, but SringBuffer+ caveat aside, the features they chose have been largely well-implemented. Syntactically I can't say I have any major objection to Java.
__________________
OCA This isn't SCSI... This is SATA!!! I have CDO. It's like OCD except all the letters are in ascending order. The way they should be. Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64 A1XE 800MHz / 512MB / Radeon 9200 / OS4.1 A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4 A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9 A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB Last edited by Karlos; 11-05-2010 at 03:47 PM.. |
||||||||
|
|
|
![]() |
| Bookmarks |
| Tags |
| discuss , argue , fork , karlos , objectivec , bloodline , erm |
| Thread Tools | |
| Display Modes | |
|
|