ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi. I heard about a language called Objective C the other day, and I was wondering if it was worth my time to learn it. Could any proponents or critics of the language give me any valuable insight on the subject?
My background: I've mostly programmed in C++ and Java, though I also have some background in C, Perl, assembly, and a few other languages. I general, I like "high-level" application programming and am a big OOP fan. I really like the Java programming language, though I'm not such a big fan of the implementation.
My preferences and concerns:
- Is there any proprietary licensing attached to the language or its implementation?
- I love garbage collection when it is transparent and easy to use
- a very natural OOP interface.
- I rely heavily on polymorphism
- enough community library support to create graphical games and applications in a Linux environment
There is a standard answer to questions like this:
If you don't know why--or whether--you need something, then you probably don't need it.
I tend to learn languages only to solve specific problems. I do often just dabble out of curiousity, which you could certainly do. But, if you don't have lots of free time, stick with letting the problem come first.
There is a standard answer to questions like this:
If you don't know why--or whether--you need something, then you probably don't need it.
I tend to learn languages only to solve specific problems. I do often just dabble out of curiousity, which you could certainly do. But, if you don't have lots of free time, stick with letting the problem come first.
Well, I need /some/ language to do my programming in. Java is nice, but it kind of sucks that the implementation is proprietary. I could keep programming in C++ forever, of course, but if there is a better option for my needs, I'm open-minded. I found out about Objective C when I was looking into implementing garbage collection in C++, but before I dive head first into Objective C I would appreciate any pros or cons from people that actually have some background using it.
I was also considering Objective-C because I both want a low-level OO language, and because I think C++ sucks because of it's confusing syntax and duplication of C's features.
So I would also like to know if Obj-C is any better for general Linux programming, the reasons I'm hesitant the way it is so related with Apple and this "*step" stuff I don't understand, and because I can't find any good tutorials.
Well, I need /some/ language to do my programming in. Java is nice, but it kind of sucks that the implementation is proprietary. I could keep programming in C++ forever, of course, but if there is a better option for my needs, I'm open-minded. I found out about Objective C when I was looking into implementing garbage collection in C++, but before I dive head first into Objective C I would appreciate any pros or cons from people that actually have some background using it.
If this be the case, please make divulging the details the priority of this thread. I am still very new to Java, but I was under this distinct impression: the Java language itself can be used freely, and there is even a FOSS version of the development kit, but the Virtual Machine itself is quite the property of Sun and cannot be legally distributed in a modified form, meaning that ultimately proprietary software must be used in order to run Java code. But if I am the slightest bit mistaken on the point, I will gladly herald my ignorance and have my misconceptions corrected.
Merciful heavens, there are some clean-room JVMs! I'm installing one now call "kaffe". I hope it works as it should. But I wonder if any of these can be used for in-browser applets... would I need to find new browser plugins?
If this be the case, please make divulging the details the priority of this thread. I am still very new to Java, but I was under this distinct impression: the Java language itself can be used freely, and there is even a FOSS version of the development kit, but the Virtual Machine itself is quite the property of Sun and cannot be legally distributed in a modified form, meaning that ultimately proprietary software must be used in order to run Java code. But if I am the slightest bit mistaken on the point, I will gladly herald my ignorance and have my misconceptions corrected.
I am not a Java guy; I remember that a couple (?) years ago RedHat got Java stack (based on 'gcc' Java backend) certified. I.e. the whole open source Java stack got certified.
On November 13, 2006, Sun Microsystems made the bulk of its implementation of Java available under the GNU General Public License[1], although there are still a few parts distributed as precompiled binaries due to copyright issues with Sun-licensed (not owned) code.[2]
I wrote the program using a NeXT computer. This had the advantage that there were some great tools available -it was a great computing environment in general. In fact, I could do in a couple of months what would take more like a year on other platforms, because on the NeXT, a lot of it was done for me already. There was an application builder to make all the menus as quickly as you could dream them up. there were all the software parts to make a wysiwyg (what you see is what you get - in other words direct manipulation of text on screen as on the printed - or browsed page) word processor. I just had to add hypertext, (by subclassing the Text object)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.