Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 2nd, 2005, 7:29 PM   #1
natefico
Programmer
 
Join Date: Jan 2005
Posts: 35
Rep Power: 0 natefico is on a distinguished road
Send a message via AIM to natefico
C help with Java? [Solved] Add more if wish

Well I posted this in another topic, but here it is again to see if more people have input.

This is one of those freinds freinds story. You know those great I heard from my freind's freind (btw you don't know him ^^). Well my friend said that he said it would be a good idea to learn C. For that it will help you with programming in general. Since C is close to hardware. Basically he said Java programs would be slow or not as good because of the lack of knowledge that C may give someone with how software works with hardware. Not here trying to prove him wrong, trying to get confirmation.

Thanks guys,
--Fico
__________________
Check out my blog, if you wish ^^;
http://www.natefico.com

Last edited by natefico; Feb 2nd, 2005 at 11:19 PM. Reason: Need to add solved
natefico is offline   Reply With Quote
Old Feb 2nd, 2005, 9:37 PM   #2
ZenMasterJG
Hobbyist Programmer
 
ZenMasterJG's Avatar
 
Join Date: Nov 2004
Location: Boston, MA
Posts: 148
Rep Power: 4 ZenMasterJG is on a distinguished road
Send a message via AIM to ZenMasterJG
I've worked pretty heavily with C, C++, and Java, and I disagree with your friend totally. C is a much lower-level language the Java, but is that really a good thing? C code can be very hard to understand, especially if your trying to learn by reading someone else's code. I love C, and have been using it for years, but i only use it when I absolutly have to. Check out Java, you'll learn some really good programming techniques, Obect Oriented Programming, and it doesn't have anywhere near as many of those little things in C that makes your program not work for no readily apparant reason, leaving you scratching your head for weeks.

That said, ANY programming language can be a good foundation to build upon. It really depends on what kind of programming you want to do and what you hope to accomplish. Good luck!
ZenMasterJG is offline   Reply With Quote
Old Feb 2nd, 2005, 9:38 PM   #3
Dizzutch
Professional Programmer
 
Dizzutch's Avatar
 
Join Date: Dec 2004
Location: Worcester, MA
Posts: 441
Rep Power: 4 Dizzutch is on a distinguished road
Send a message via ICQ to Dizzutch Send a message via AIM to Dizzutch Send a message via MSN to Dizzutch Send a message via Yahoo to Dizzutch
if you code a crappy C program it can be slower than a Java program. What your friend probably means is that C runs right in the operating system. Java runs in it's own virtual machine, which does make it slower, since the VM has to be loaded, and then your code has to be executed, etc. Java also has certain features that slow it down such as a garbage colletor (which gets rid of unused objects) and a lot of built in functions. With C you are able to get closer to the hardware, since it gets directly run by the CPU, and assembled into assembly language specific to the CPU you're running on. Unlike Java which will run on any CPU.

hope this give you a little more insight.

Dizz
__________________
naked pictures of you | PFO F@H stats
Dizzutch is offline   Reply With Quote
Old Feb 2nd, 2005, 9:50 PM   #4
natefico
Programmer
 
Join Date: Jan 2005
Posts: 35
Rep Power: 0 natefico is on a distinguished road
Send a message via AIM to natefico
Ya thanks guys, doubt I have the full story of the friend friend story. Gosh though this friend of my friend has lots of influence on my friend. He just suggested C to him to start out with and he jumped right in. Either way I would be happy programming in anything.
Can't seem find to read Sam's Teach Yourslef Java2 though : /
Annoying me the crap out of me. Really want to but can't seem to find time : /
So umm what kind of programes to make with java? Have no ideas, what have you guys made in your time?
Is java limited? If so in which way?
Thanks,
Fico
__________________
Check out my blog, if you wish ^^;
http://www.natefico.com
natefico is offline   Reply With Quote
Old Feb 2nd, 2005, 9:56 PM   #5
ZenMasterJG
Hobbyist Programmer
 
ZenMasterJG's Avatar
 
Join Date: Nov 2004
Location: Boston, MA
Posts: 148
Rep Power: 4 ZenMasterJG is on a distinguished road
Send a message via AIM to ZenMasterJG
You can really do just about anything in Java. It isnt quite as efficient as some other languages, but there are still efforts out there to produce games with it. Sun is even trying to make a new 3d desktop environment with it for their Solaris platform (should be available for linux too, eventually)
The only limiting factor in Java is that it is an interpreted language and so will run a little slower then programs written in other languages at really system-intensive tasks. I've never had a serious issue with this before, and I've written applications that have to sift through quite a lot of data. It would run a little faster in C++, true, but it was SO MUCH EASIER to write in Java. (yep, im lazy )
ZenMasterJG is offline   Reply With Quote
Old Feb 2nd, 2005, 10:19 PM   #6
Mjordan2nd
The Supreme Ruler
 
Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6 Mjordan2nd is on a distinguished road
You can do lots of good stuff in Java. Other than low-level stuff, you can do almost anything.
__________________
"Every gun that is made, every warship launched, every rocket signifies, in the final sense, a theft from those who hunger and are not fed, from those who are cold and are not clothed. The world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children." - Dwight D. Eisenhower
Mjordan2nd is offline   Reply With Quote
Old Feb 4th, 2005, 3:13 AM   #7
Berto
Programming Guru
 
Join Date: Aug 2004
Posts: 1,022
Rep Power: 6 Berto is on a distinguished road
Send a message via AIM to Berto Send a message via MSN to Berto
i use java at work with the whole object orientated thing makes it a easy language to pick up.
Berto is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:45 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC