Adam Fedor of GNUstep Says Stuff 166
JgiSaw writes "GNUstep provides an Object-Oriented application development framework and tool set for use on a wide variety of computer platforms. It is based on the original OpenStep specification provided by NeXT, Inc. (now owned by Apple and endorced into MacOSX). OSNews is hosting an interview with Adam Fedor, of the GNUstep project, where Adam mentions among others that GnuStep has support for the MacOSX API too, which will make porting MacOSX applications to Linux much easier."
macos x api (Score:3, Insightful)
Re:macos x api (Score:3, Informative)
Re:macos x api (Score:1)
FileMaker Pro Server is the biggest one I can think of.
Re:macos x api (Score:2)
Re:macos x api (Score:5, Interesting)
Re:macos x api (Score:2)
maybe the idea is to be ahead of the game instead of playing the typical open source catch up game.
They are trying to what? I hope RMS and co. put a stop to this!
Re:macos x api (Score:2)
Of course, that doesn't mean it's not good stuff.
Re:macos x api (Score:2, Interesting)
There used to be a small base of NeXT development houses, but my understanding is that most of them have folded, been bought up, or switched focus. Too bad Apple didn't buy NeXT back in 1993-4, they might have been able to save the developer base.
You should think the other way around (Score:1, Insightful)
Re:You should think the other way around (Score:3, Informative)
There are still a number of Next and Former NeXT developers who can tell you how elegant it is.
Re:macos x api (Score:1)
Oh, and Maya is completely Cocoa. Schweet app, I'd reccomend trying it out, frggin cool.
More confusion on Carbon apps (Score:2, Interesting)
This is the fifth post or so that has named Carbon apps, and claimed they were written in Cocoa. I wish I knew what the source of misinformation was.
I have repeatedly been told from people that should know (Maya fanatics) that Maya is definitely a Carbon app. This was done because they needed to use C++ frameworks (Cocoa is currently ObjC and Java only). I don't know about FileMaker, but I would be pretty surprised if it was Cocoa. Who told you these were Cocoa apps?
- Scott
Re:More confusion on Carbon apps (Score:1)
Maya has been demoed at at least 3 Apple Webcast events, and they've said "it fully takes advantage of OS X" The idea that it doesn't run in OS 9 makes people think cocoa.
You're right, I can't find the word "Cocoa" in any of their documentation, but that doesn't mean it's pure carbon, you can mix Objective C/C++/Java files into the same executable in Projectbuilder.
Re:macos x api (Score:1)
Lineage (Score:3, Informative)
Perhaps if you look at it in terms of only Mach/BSD and Cocoa. There is tons of stuff there that was never in NeXT, though: Carbon, Quartz, system-level QuickTime usage, AppleScript/AppleEvents, I/O Kit, Mac OS 9 compatibility.
It borrows some lower-level from NextStep, some higher level stuff from Mac OS, and makes something brand new. GNUStep apparently only attempts to address the NeXT side of the world, but a lot of the mainstream items will make heavy use of the Mac side of things.
- Scott
Re:Lineage (Score:1)
> GNUStep implements the OpenStep specification (which is not NeXTStep), while maintaining compatibility with NeXTStep.
MacOSX extensions are followed whenever possible (XML property lists, but no AppleScript,QuickTime... yet).
GNUStep aims to be crossplatform (as OpenStep) but probably implementing most Mac OS X only stuff on all platforms will be difficult.
- Marko
Re:macos x api (Score:1, Interesting)
Very usefull. Dev environments on linux sucks. GNUstep IB and PB are not on par with OSX ones. There are hardly any OPENSTEP or YB developers left. All the FoundationKit/AppKit developers are on OSX now, and dozen of wanabee developers discover ObjC every week.
The OSX dev population outnumber the GNUstep one by a couple of orders of magnitude. Don't you think it is worthwhile to support OSX ?
[of course, GNUstep should target _windows_, in addition to OSX. This would have tremendous interest. But, with the manpower they have, the GNUstep guys already did a very good job]
Cheers,
--fred
Native apps (Score:2, Interesting)
There are actually quite a few brand name apps that have been ported to Mac OS X, and many more are in progress. Probably more than people outside the Mac community would guess. Corel is on the ball -- Bryce and Painter are ported, Microsoft has already released Explorer and Office 10 is almost ready. Macromedia already has Freehand out, and both it and Adobe are working furiously to port everything. Other stuff that's done: Quicken, Maya, quite a few games, and tons of other stuff that I'm forgetting.
These have all been ported to Mac OS X APIs. The problem is (for GNUStep users, anyway), these apps use the Carbon APIs, not Cocoa. Cocoa is GNUStep's counterpart.
- Scott
Portable skills (Score:2)
Phillip.
Re:macos x api (Score:2)
There's potential there to unify two of the most important non-Microsoft software markets.
But ... (Score:2, Funny)
GNUStep (Score:3, Insightful)
There are a lot of NeXT developers who would love to port their applications. It would have been a real coupe if GNUStep was ready for prime time before OS X, but, oh well.
My only concern over it was that it used that dog display ghostscript. If you use Solaris, the Sun XWindow server has builtin support for display postscript. It's too bad the Open Source community has a "{XWindows|Display Ghostscript | | etc} sucks, but it's good enough, so why try to build a replacement" mentality. Fortunately, there are people like Adam who say "Fuck that, I don;t want to wallow in mediocracy".
Long live GNUStep!!
Re:GNUStep (Score:2)
Forget porting, how good is the API? (Score:4, Flamebait)
I'm not a strong GUI programmer, but I've heard people say that MFC is more robust and powerful than the APIs we have in Linux. But I've also heard people rave about programming NeXT.
Is anyone here able to put ideology aside and give a comparison based on real experience?
Re:Forget porting, how good is the API? (Score:5, Funny)
NeXT API is a lot like java (well thought out OO design), but without the heavy abstraction to support the native UI underneath, and without the bytecode crap.
MFC is like having sex while wearing 7 condoms.
Most XWindows widget sets (the exception being KDE) are like a rusted out '83 station wagon, hed together with duct tape and bondo, carrying half a dozen pimple faced teenagers. The floors are covered with evidence of fast-food drive thru visits, and there's a funky odor. Chances are, the driver will stall it at the next stop sign, and the muffler needs replacing. The occupants, however, are glad they don't have to walk.
Re:Forget porting, how good is the API? (Score:1, Flamebait)
Then Java probably is like having sex while wearing a baseball glouse ?
Re:Forget porting, how good is the API? (Score:2, Funny)
Re:Forget porting, how good is the API? (Score:3, Funny)
MFC is like having sex while wearing 7 condoms.
...and they are on various fingers and toes, not where they are supposed to be.
...and all of them have small annoying holes.
Re:Forget porting, how good is the API? (Score:2, Insightful)
Re: (Score:2)
the genius of the NeXT api (Score:3, Insightful)
Re: (Score:2)
Have things gone backward? (Score:2, Interesting)
There are major apps... coming soon ;-) (Score:4, Interesting)
This may be technically true, there are some very nice Mac OSX only apps that although not 'big name' are none the less quite nice. The products at Omnigroup [omnigroup.com] are all nice. Stone Studios products are nice but they could use a nice how to book.
On the near horizon, Adobe Illustrator 10 and Quark 5 are nearing release (both demonstrated at MWNY in July) and they are both, to the best of my knowledge, Cocoa native. They both look VERY, VERY cool.
Office for OSX will also be Cocoa native... not that MS will want to empower Linux, but I believe that MS departments will go for profit where ever it is found... Just look at the Mac market back around 96 when every was SURE that the Mac was dead... MS releases a PPC native Office, mainly because Office was pulling in about 400 Million a year on the Mac way back then.
I think the could only be good for Linux... it will hopefully be good for the Mac OSX community. Tools written here will be very portable to the Mac.
Now if Apple was REALLY smart (hey, they could be once or twice a decade), they would support this project in a big way and they would fund the porting of their _very_ nice free development enviornment to Linux... perhaps built on this foundation.
Apple, you could gain HUGE amounts of respect in the linux community by doing this. You will also gain access to more industrial strength Linux tools for OSX, an OS that will be sound at release 10.1 but which will still be in desperate need of diverse apps.
Steven (stupid Ffakr)
Re:There are major apps... coming soon ;-) (Score:5, Informative)
GNUStep is still a pretty big deal. This is a kick-ass API. Assuming the open source equivalents of Interface Builder and Project Builder can match or beat the Apple tools, GNUStep will be the absolute best way to develop Linux applications.
Re:There are major apps... coming soon ;-) (Score:2)
All Carbon apps (Score:2, Informative)
I'm not sure who has given you this indication. Office 10 is most definitely a Carbon app. You can have Carbon apps that only run on Mac OS X and not Mac OS 9. Office 10 is one such app. Is this the source of the confusion?
- Scott
Re:There are major apps... coming soon ;-) (Score:2)
Re:There are major apps... coming soon ;-) (Score:2, Informative)
While there is probably less incentive to do it, as there are less Macintosh applications around, it will probably be an easier project than wine.
It must be noted that on Mac OS X, carbon calls are not mapped on cocoa calls. Both API access some private low-level API. There has been a lot of discussion about what API is more native, and it seems the answer is: none.
Re:There are major apps... coming soon ;-) (Score:1)
- Marko
Re:There are major apps... coming soon ;-) (Score:1)
I don't think C versus ObjC is an issue because this would be a relinking / binary thing, like Wine. Assuming you have a decent PowerPC CPU core emulation. Of course, a 'libcocoa' project to give 95% source compatibility would also be useful.
Question (Score:2, Interesting)
I can't compare it to the OS X API's, since I have never programmed for a Mac, but doing Qt programming has been easier than anything else I've tried. Check out this page [trolltech.com], where customers, some from high-profile companies, sing praise about why they prefer Qt to other alternatives / native toolkits.
Besides the obvious cost of using Qt for commercial development (which should only be a financial issue for individual developers, not companies), what good reason is there to use anything else?
Re:Question (Score:2, Insightful)
GNUstep is being written for Unix and NT at this time, and MacOS X is available on Macintoshes. This is nearly the cross-platform support of Qt, lacking only in the embedded market (for which you would need to be a fool to use your app unchanged anyway).
OPENSTEP is legendary for the speed and ease of development of programs created using it. Qt is famous for resembling MFC. And besides, ObjC is a more elegant language anyway!
Re:Question (Score:2, Insightful)
Why would I want to develop crossplatform applications with GNUStep, when I can use Qt 3.0 [trolltech.com]?
Why use anything? If you're ga-ga for Qt, use it. If you actually want to learn about alternatives, look into GNUstep. The OpenStep API happens to have over a decade of refinements in it and is based on an outstanding OO language.
All this using the proven C++ language.
Heh. "Proven to suck" comes to mind. In reality, C++ is a very poor OO language; ObjC just blows it away. You can take a day out of your schedule ot learn the basic syntax additions to C and if you've got an ounce of OO skill you will immediately see the huge advantage to things like categories.
This is not vaporware folks. Each supported platform is just that: fully supported and stable.
Yet the page you link to has "Beta" all over it, and suggests you "Evaluate" the Mac version. Depending on your needs GNUstep might not be ready just yet, but don't go pretending that your pet toolkit is something it's not. I have SDL-based apps running on my OS X box, but where are the Qt-based apps I should be expecting from this "fully supported and stable" toolkit?
Besides the obvious cost of using Qt for commercial development (which should only be a financial issue for individual developers, not companies), what good reason is there to use anything else?
Your argument is flawed in that it could apply to anything. If you're comfortable with Qt and uncomfortable actually trying anything new, just use Qt. Let me know when I can run your applications on my platform. I had OpenStep-based apps running on Linux in 1996, and GNUstep has only gotten better since then.
Re:Question (Score:2)
I suppose I am, and I do use it. I am not afraid to learn something new, however. I am genuinely interested in what is good about GNUStep. My post had an argumentative tone (which now carried into your post) because the article mentioned its use as a cross-platform library. Not that there can't be more than one good cross-platform library, but I think Qt is probably the best choice at the moment. With 3.0, I think we'll begin to see major application providers (like perhaps Adobe) consider using it, even if they never intend on Linux ports.
I don't think I jumped the gun by saying Qt is viable for MacOS X development. It is already very good on Windows and X11. Trolltech has planned on 3.0 being "release quality" next month, and I don't doubt the Mac support will be very good considering their history.
Let me know when I can run your applications on my platform
I have good faith in Qt/Mac. If I actually had OS X, I would probably have grabbed the open beta. I do plan on porting one of my apps to OS X when I am ready.
QT For Mac (Score:3, Informative)
A few months ago, a demo of QT for OS X was released, I was very intersted, so I tried it out. Honnestly the thing was rather dissapointing, at least for me.
Re:Question (Score:1)
Not that there can't be more than one good cross-platform library, but I think Qt is probably the best choice at the moment.
As was pointed out by another response, it has issues, as does the bulk of cross-platform work. OpenStep has been the only framework I have used that has properly abstracted from particular widgets such that native widgets can be used on different platforms, not just simulated. If you used WebObjects, you'd see how Yellow Box for Windows produces a proper looking and behaving Windows app while the same code base is leveraged for a proper OS X app. Perhaps Qt will eventually get there, too, but nobody can at this point just wave their hands and pretend they can get an application running on Linux, Windows, and a Mac that the users of every platform are happy with.
I don't think I jumped the gun by saying Qt is viable for MacOS X development.
You did. Hell, even Apple has jumped the gun when they say Carbon is viable for OS X development. I mean, yeah, you can get your old apps ported to OS X quicker, but as a user, it is painfully obvious which apps are Carbonized because they don't really take advantage of all OS X has to offer. Will Qt support services, spelling, transparency, toolbars, AppleScript or the Dock? If not, the user experience will drive people to your competition, who will then use GNUstep to bring a superior experience to your Linux users as well. Ouch!
Re:Question (Score:1)
Do you know anything about what you're talking about? Can you name any feature of any OS X API (aside from Cocoa obviously) that isn't available from a Carbon app?
I can name all sorts of problems with the integration of Carbon and Cocoa, Mr. Anonymous Coward. If you truly know what you're talking about, come out in the open.
Services is the most offensive. As a developer I have the 10.1 seed, which has the Services menu enabled, but still not working for Carbon apps. Perhaps it will be in the release version, but given that 10.0.4 is the version users have, users of Carbon apps don't get services support. That includes things like system-wide spell checking.
The problems extend to areas which give users an even more inconsistent experience. Text dragging happens without a delay in Carbon apps, but with a delay in Cocoa apps. Window title bar icon dragging is just the opposite. Cocoa controls can also be manipulated for apps that are in the background (e.g., hold down the command key and you can scroll a window without making it active), but not so for Carbon apps. The list goes on, but I have posted my complaints on Usenet already (if you're a developer and read the Mac development newsgroups, you'd have seen them already) and I tire of repeating myself.
Add to that the fact that Carbon is being used to straddle between OS 9 and OS X (by most developers) and you get apps that simply don't fit with the new OS. You can sit in the shadows and call it into question all you want, but to anyone who actually uses their computer, Carbon apps suck. GNUstep is just a side reason to do Cocoa development.
Re:Question (Score:1)
I still find C++ code much easier to read than Obj-C code, because the OO syntax in Obj-C don't fit well with C syntax.
You say that as though it were a bad thing. Anyone with significant OO experience knows that proper OO development is much different than than procedural coding. ObjC is a hybrid language, and mixing it with C has advantages and disadvantages. The syntax was based on Smalltalk, so move over to that if you want a pure object environment without the syntax mix.
Also, I don't think you can say that C++ is a poor OO language compared to Obj-C.
Perhaps you can't, but I absolutely can. I have used all sorts of OO technologies over the years, and C++ has been the worst one to receive any significant attention. I now consider the years I spent with C++ to be wasted time. I suggest you expand your knowledge by doing significant development with other languages. I think you'll find that just about anything else better implements a solid OO design. If you want to get really tricky, start wrapping your mind around OO without classes (and many other things people just assume must be part of the OO paradigm), as supported by languages like Self [sun.com], which won't really get any attention until the Java hype dies out, just like the C++ hype eventually did.
Re: (Score:3, Insightful)
Re: (Score:2)
Support for MacOS X compatable API means ... (Score:2, Interesting)
Re:Support for MacOS X compatable API means ... (Score:1)
Re:Support for MacOS X compatable API means ... (Score:3, Informative)
I'm not sure what you'd be referring to. The products that Microsoft has announced for Mac OS X -- Office 10 (for Mac OS X only, not Mac OS 9/8) and Explorer -- are both Carbon apps. They have not demoed or confirmed any Cocoa apps in the works. They may eventually, but it's debatable if there is reason to do so anytime soon if Apple continues to improve Carbon. The story is pretty much the same on Adobe's side. They have demoed InDesign, Illustrator, GoLive and some others. They have also release a native version of Acrobat. But these are all Carbon apps. They have not talked about any Cocoa apps.
Aside from the fact that it is generally easier to port existing large Mac apps to Carbon than rewrite them in Cocoa, Micrsoft and Adobe still have the vast majority of their customers on Mac OS 9/8. They are probably not too keen to do massive forks at this point. The fact that the Mac OS Toolbox and Carbon APIs are similar makes it fiscally feasible to address both Mac OS 9 and Mac OS X markets.
There are two ways to use Carbon. You can create a single Carbon binary that executes on both Mac OS 9/8 (old technology) and Mac OS X (Mach/BSD). However, this somewhat limits how much you can do on the Mac OS X side. The other option is to use Carbon only as a porting bridge. You don't end up with two separate binaries (one for OS9, one for OSX), but you still get two relatively similar code bases with similar API calls. This is what many developers have opted to do since it allows them to build a better Mac OS X app without having to completely rewrite their software. Microsoft is currently doing this with Explorer.
There actually is a third reason to use Carbon -- it's a C/C++ framework. Maya opted to use Carbon for this reason. Cocoa apps can currently only be written in Objective-C and Java. There is talk about resurrecting Objective-C++, though.
Carbon and Cocoa apps can look essentially identical to the untrained eye. Both make calls to the same core frameworks. They both provide protected memory spaces, preemptive multitasking, and access to Quartz. They are peers in many ways. "Classic" is the compatibility environment in which a Mac OS 9 virtual machine is launched to run old Mac apps that have not been ported to either of the new APIs. While Cocoa and Classic apps use Aqua UI widgets, Classic apps do not. They generally have the grey chizeled look of Mac OS 9.
By the way -- the Finder, Mac OS X's file manager/shell is written in Carbon, as is the event manager. And based on Apple's statements, it looks like they have done a lot of work on Carbon for the emminent Mac OS X 10.1 release. Several upcoming Carbon Mac OS X apps require 10.1.
- Scott
Re:Support for MacOS X compatable API means ... (Score:2)
The Carbon API is NOT a C++ API. It is purely a C API. Actually, I think it's still availible as a Pascal API, too, which was the language of choice for several years after the introduction of the Mac.
There are several C++ frameworks availible for Carbon. Powerplant, included (with source) with Codewarrior is one, MacApp, from Apple, is another.
The Finder is written using Powerplant, but does not take advantage of the new, more efficient event model availible in Carbon.
The differences between the two 'styles' of Carbon applications are that one style can work in OSX and OS8/9 with a single binary file, and the latter is in the native OSX executable format (Mach-O) which allows it to be linked with unix libraries and use lower level mach kernel services, and direct Quartz API calls.
Re:Support for MacOS X compatable API means ... (Score:2)
More than talk, Apple has confirmed that the developer tools shipping with Mac OS X 10.1 (due Real Soon Now) will support Objective-C++. This is a big deal because you will be able to write a Cocoa front end to your existing C++ architecture, instead of using Carbon or writing a bunch of ugly ObjC to C++ bridge code.
IP Issues? (Score:3, Interesting)
Re:IP Issues? (Score:1)
It is legal for them to write implementations of the OpenStep/Cocoa APIs. But there are going to be walls. No Quartz or QuickTime, for example. These are considered core components of Mac OS X.
- Scott
Objective C??? (Score:2)
Objective-C may have some nice features above and beyond regular C, but if you're going to do work in a relatively obscure language, why not pick one that has better language support for various computing paradigms than popular alternatives? It seems whatever minor quirks of Java and C++ you'd overcome would be less important than being able to draw from a large base of experienced Java/C++ programmers.
Re:Objective C??? (Score:1)
Re:Objective C??? (Score:2)
It really has decent enough support. GCC supports it (from an early win for the GPL), and I imagine GCC covers more than 99% of all environments.
If you mean developer knowledge, well... I think there's been some work to get Objective C to work well with C++ or Java in GCC (much more work in MacOS X), but I have a feeling that's more about integration, not alternate GNUStep development languages.
Anyway, C++ people have just in the last few years found STL -- the sort of abstraction Objective C and Smalltalk has had since the very beginning. C++ just isn't doing all that good a job of catching up, probably because they aren't going to the same place. And if that's the case, well... I don't know how much of a help that would be anyway.
Objective C isn't hard to learn, either. Easier than Java or C++.
Objective C better then C++ ? (Score:2)
The reason I use C++ is because it is a multiparadigm language (i.e. functional, oop, & generics) "Modern C++ Design" shows the wonderfull and elegent power of generic programming (templates.)
Obj-C has piqued my interest - maybe those expercienced in Obj-C can answer some questions.
a) "In what areas does Obj-C do better then C++" ? Is it only cleaner syntax?
b) "What can Obj-C do that C++ can't?"
I know that since it is based on C. it will have the same weaknesses as C, but I'm more interested in what Obj-C strengths are.
Cheers
Re:Objective C better then C++ ? (Score:1)
One of the greatest strengths of Obj-C is it's ability to catch and forward unknown methods. You can for example do
[[array do] doStuff:2];
where [array do] returns an object that doesn't itself respond to any methods (except that needed to destroy it) but forwards everything called on it to all objects in the array (in this case doStuff:2).
If an unknown method isn't caught by the object itself an exception will be raised but you can catch that as well.
You can make calls to nil (they will be ignored) which can be quite useful as you don't have to check for failure after each call but can do it further down.
You can add methods to classes dynamically. For instance I had the need to have a special function in all my window objects (including floating palettes). I didn't have to subclass NSWindow and NSFloating etc but instead could add an extra function to NSWindow.
You have a general object type called id which is useful when you don't know the class of an object or it can be one of two similar classes. Which leads to the fact that if two classes has a method with the same name you can call either of them with the same call not having to know the exact class.
If you use the Foundation (most do) you will have a reference counting garbage collector that works with all objects.
I might have forgotten something, but I'm sure I'll be corrected in that case.
Re:Objective C better then C++ ? (Score:1)
Also worth noting is the support of boehm mark & sweep conservative garbage collector. (Which addresses many problems of ref counting such ref cycles).
- Marko
Re:Objective C better then C++ ? (Score:2)
C++ needs templates because it does not have a singly rooted class heirarchy. Much of the bloat in C++ programs comes from the fact that (all existing) C++ compilers generate a new class for each template instantiation. And just how much template debugging have you done anyways ? Its brutally difficult to debug template programs too. ObjC doesn't have these problems: Containers can take any NSObject as an element, and you can check types at runtime. Because there is only one implementation of a container class, there are no funky giant method names.
"In what areas does Obj-C do better then C++" ? Is it only cleaner syntax?
As if cleaner syntax isn't enough
"What can Obj-C do that C++ can't?"
Well both are Turing-complete so can't really isn't the right thing to say. ObjC is really object-oriented, so "truly" object oriented programming is much easier in ObjC. Many people find ObjC easier to work with because its Object Model is so much simpler than C++'s. IMHO, ObjC's Object Model is more complete than C++'s also.
-- Rich
Re:Objective C better then C++ ? (Score:3, Interesting)
Also, in my programming, collections are typically heterogeneous. With templates you'd have to have a common base class with virtual methods, and you'd no longer have much of an advantage over Objective C, while having none of the convenience.
I think the dynamically-typed languages are more true to OO, because objects are defined only by their interfaces. Any object that implements a sufficient interface can be used in that context. You can do great things with that.
Others might feel that message-passing is a more appropriate term for the type of OO in Objective C. However you say it, there's something there that Objective C does that C++ doesn't -- even if it might be possible under C++, people just don't.
Well, there are Objective C applications of appreciable size. There were lots of applications for NextStep -- web browsers, 3D rendering, etc. Not all of these applications are dead. They should provide significant fodder for comparison, should someone choose to do so.From a reductivist point of view, Objective C can be as efficient as C++ or C. With clever programming you can use dynamic typing to your advantage, because the method lookup can take the place of logic statements. I know this is very common in Smalltalk. But unlike Smalltalk (or Java), you can write Objective C with the inner loops (where performance matters) in C.
I thought NextStep ran fairly well on the m68k workstations I used. It wasn't blindingly fast, but like I said, it was a m68k processor.
Large systems can potentially be significantly faster in Objective C, because of the generality of the object model and the richness of the foundation library.
"Greenspun's Tenth Rule of Programming: any sufficiently complicated C or Fortran program contains an ad hoc informally-specified bug-ridden slow implementation of half of Common Lisp."
I think Objective C has a relation to Common Lisp there (if not quite as complete -- thankfully!), and C++ is still stuck with C or Fortran -- good base libraries have been very slow in coming (though they do appear to be coming along)
Re:Objective C??? (Score:1)
> found STL -- the sort of abstraction Objective
> C and Smalltalk has had since the very beginning
Not quite. You could always do smalltalk/ObjC
style ADTs in c++. The STL involves a template
based approach, something not found in smalltalk
or ObjC. Templates are a compile time method
that lets you (among other things) avoid having
to derive from a common base object to acheive
genericity.
Re:Objective C??? (Score:1)
GNUStep is UGLY (Score:1, Funny)
Re:GNUStep is UGLY (Score:1)
Personally, there's only one X widget set that I really consider to be "ugly". You guessed it, Athena. =) As long as it's "pseudo-3D" and not black and white only, it's all fine with me.
Re:GNUStep is UGLY (Score:1)
De gustibus non disputandum, o lupine technomancer, but IMO Athena is too minimalist to really truly be ugly (though xaw3d certainly is pretty bad). To me the nadir of ugly widgets would be either QT 1.x (like Windows 95, but with a certain Lovecraftian disproportion and wrongness about its angles), or the thousand hideous white or red text on black/dark blue/dark green GTK themes out there.
I've wanted an Athena theme for GTK (to go with my twm theme for sawfish), but to make sense it would have to be an engine theme, and I just don't have the deep GDK knowledge needed to do that. For a minimalist feel, the Flat theme for GTK is quite good; except in the scrollbars it's much like the early Mac.
STEP look grows on you (Score:1)
Many many people enjoy using Windowmaker and feel it is the most polished and attractive window manager out there. While I use a lot of GNOME apps (with the gtkStep theme) I have no use for the GNOME desktop. Windowmaker does what I want, uses modest resources, and looks good. Give it a chance, it may well grow on you.
Re:STEP look grows on you (Score:2)
It has a very tiny memory footprint
You can configure it to do almost any thing you want
You can group many windows into one frame, which helps to manage lots of netscape, xterm, and other app windows.
It supports windomaker dock apps
A gui that isn't all gooey. I like that.
GNUStep has been in development *forever* (Score:5, Interesting)
I wouldn't blame anyone, though. Most people are not familiar or even interested in the NeXTStep/OpenStep platform. The technology is definately strange, based on Objective-C and a postscript-based rendering engine, but this platform was (is) years ahead of its time.
I have OpenStep 4.2 for intel, and it is probably the coolest OS ever. At one point I got a copy of an early OS X beta for intel, and it was basically OpenStep 4.2 recompiled with a Macos-looking widget set and a menubar instead of the Wharf ("Dock" in WindowMaker land). The look and feel of OpenStep is far and beyond any UNIX or Windows desktop in terms of sheer quality and useability (many believe the Windows widget set is imitative of the NeXT look to the point that NeXT could have sued Microsoft).
It is sad to think that if Redhat decided to throw its weight behind GNUStep instead of GNOME, we probably would have had a full-fledged, slick NeXTStep/OpenStep/Macos X clone right now layered on top of any UNIX kernel. This is just too bad. I think pretty soon I will reinstall OpenStep 4.2 on my Intel box, and I'm definately investing in one of those G4's to find out what those old NeXT developers (considered some of the most innovative and talented GUI developers in the world) have been up to.
Re: (Score:2)
Has anyone ever noticed... (Score:2)
That the OpenStep logo actually looks like a stealth bomber?
"endorced" ? (Score:1)
Pat
Re:"endorced" ? (Score:1)
Clarification on Cocoa vs. Carbon apps (Score:5, Informative)
Even in a finished state, GNUStep does not do as much to get apps to Linux as some people seem to think Or, at least, not the apps they have in mind. If you're at all familiar with Mac OS X development [apple.com], you know that there are four APIs that the system considers "native": Cocoa, Carbon, Java and BSD. Any program written to these APIs receives it own 2GB of protected address space (yes, even individual Java apps), as well other modern OS features. Classic is the Mac OS 9/8 compatibility environment. Sort of an "emulator on steroids," to use a cliche.
GNUStep provides a implementation of the OpenStep spec, which is what Cocoa is based on. Theoretically, this means that Mac OS X apps written in Cocoa can be easily ported. But the vast majority of the brand name apps have been or are being ported to Mac OS X are written in Carbon. The long list of Carbon apps includes:
- Office
- Explorer
- Macromedia Freehand
- Acrobat
- GoLive
- Illustrator
- Bryce
- Corel Knockout
- Corel Draw
- Painter (Corel/MetaCreation)
- Maya
- Quicken
- Netscape
Quite a few people have posted messages to this topic mistakeningly claiming some Carbon apps were actually Cocoa apps, including Office. I'm not sure what would have caused this confusion. Part of the problem may be that you cannot tell the difference between a Cocoa app and and a Carbon app unless you really know what to look for. Both use Aqua UI widgets. Some individuals might also be making the assumption that if an app is "Mac OS X only" (meaning does not run on Mac OS 9), then it must be written in Cocoa, which is not true.
So why write in Carbon, you ask?
Most existing Mac developers port apps to Carbon because it's easier than a complete rewrite in Cocoa. It also means that developers can keep reasonably similar (in some cases, identical) code bases for both Mac OS X and Mac OS 9. This is important because most of their customers will be on Mac OS 9 until the transition is complete. Alias|Wavefront was not porting an existing Mac app, but opted to use Carbon for Maya because they have existing C++ code (and developers?) they want to use. Cocoa frameworks can currently only be accessed from Objective-C or Java.
Over time, you may see developers do rewrites in Cocoa, because in many ways it is a better environment. Ther resurrection of Objective-C++ would probably help this. But the more Apple does to improve and refine Carbon, the less immediate the need will be to do rewrites in Cocoa.
So that's that. Now, getting back to GNUStep....
From this interview, it sounds like the GNUStep folks have the Foundation side of Cocoa pretty well in hand, but it looks like AppKit (all of the GUI stuff) is not done. But even after they finish everything that has been around since OpenStep, I'm curious how they're going to resolve all sorts of new stuff. Specifically, I'm thinking about things like QuickTime (used for much more than video), Quartz (transparency/compositing, PDF generation/manipulation, text rendering), and even stuff like AppleScript/Apple Events. These are things that Mac OS X developers are and will be using, but I can't imagine they're going to be very easily to implement from scratch on the GNUStep side. I understand that there are perhaps counterparts, but how comparable will they be? I'm genuinely curious about this.
I praise Adam and his colleagues for their efforts. But at the same time,
- Scott
Re:Clarification on Cocoa vs. Carbon apps (Score:1)
That's broadly correct. The foundation kit is at the 'release 1' level. To clarify, that is (roughly) the non-GUI stuff. Some might feel that's not very useful, but it is a very mature api containing a wealth of very useful classes for arrays, strings, dictionaries (hashes/associative arrays). The appkit portion (GUI, tools for applications which handle single and multiple documents, including loading and saving) is at 0.7. It works pretty well, but isn't complete.
Beyond that there is the support for services (eg every application can get spell checking cheap) and distributed objects, which is pretty nice.
But why use gnustep? Well, I'm a pretty lame programmer but I managed to put together a simple app using some existing Java classes in a couple of hours. Hours in which I effectively started out not knowing anything about OpenStep. Getting to a functional level of knowledge in ObjC was even quicker (something I'd never really managed in C++). If I was even half competent I could have whipped up something really impressive. I suspect Java programmers will find the transition easy. The Java classes are - erm - 'haunting familiar' ;-)
Writing a front end for, say, gnupg, which could encrypt text in other apps probably isn't too hard in gnustep. And, of course, it could be ported to Mac OS X trivially.
But I should add some caveats:
But I hope people try it. Learning Cocoa [amazon.com] isn't brilliant, but it was useful - even for GnuStep and Gorm. And I'd like to see the Mac OS X GUI infested with filthy, commie, free software. ;-)
pldms
GNUstep UI page beginning (Score:1)
For those who're unfamiliar with the wonder of NeXTstep, this may help somewhat:
http://members.aol.com/willadams/gnustep/
It was originally going to be www.gnustep.net, but ran out of time to help with that.
Also, http://members.aol.com/willadams/whatsnext/index.
There're also these things from my portfolio:
http://members.aol.com/mistweaver/brochure-1.pd
http://members.aol.com/tgcovault/brochure-2.pdf
the second file has a time-line and both have neat quotes 'bout NeXTstep.
William
Two questions i havce about GNUStep (Score:2)
Will it at some point be possible to use java to write GNUStep apps the way you can currently use java to write Cocoa apps, could apple's own GCC code or whatever be used to facilitate this, and does anyone know if there's been any progress on the attempts to make it possible to write Python code for either?
Re:Two questions i havce about GNUStep (Score:1)
2 - If you want to write it, sure. The OpenStep spec though specifies DPS, and the FSF paid a fair chunk of change to get Display GhostScript written. One can access any other drawing interface one might be inclined to.
William
Re:Why can't they come up with a fucking name... (Score:1, Offtopic)
Re:Jokes (Score:1)
Please don't post junk like this.
Re:Jokes (Score:1)
Have you never felt pain, such that you can now ignore the pain of others?