User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 402,049 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,479 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 237 | Replies: 3
Reply
Join Date: Jun 2007
Posts: 9
Reputation: Naveed_Cn is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Naveed_Cn Naveed_Cn is offline Offline
Newbie Poster

Can I do System Programming with Java

  #1  
Jul 21st, 2008
Hi Every Body!

Please any body tell me, is java is so powerful to do system programming wih it like C language and Assmbly.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2008
Posts: 92
Reputation: bloody_ninja is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
bloody_ninja bloody_ninja is offline Offline
Junior Poster in Training

Re: Can I do System Programming with Java

  #2  
Jul 21st, 2008
If java is powerful enough to do system programming like C language and Assembly?

I hardly understand you, but why don't you find out yourself?
Reply With Quote  
Join Date: Jun 2008
Location: WA, USA
Posts: 672
Reputation: Alex Edwards has a spectacular aura about Alex Edwards has a spectacular aura about Alex Edwards has a spectacular aura about 
Rep Power: 4
Solved Threads: 56
Alex Edwards's Avatar
Alex Edwards Alex Edwards is offline Offline
Practically a Master Poster

Re: Can I do System Programming with Java

  #3  
Jul 21st, 2008
Originally Posted by Naveed_Cn View Post
Hi Every Body!

Please any body tell me, is java is so powerful to do system programming wih it like C language and Assmbly.


Java was initially built to handle hardware if that is what you mean.

However, Java is SO robust and memory-expensive that it isn't recommended for low-level use.

Furthermore Java is very managed, in which it has automatic garbage collecting and prevents individuals from handling/manipulating memory freely which can be undesirable for those who need total control when handling devices.

For performance reasons, it is unrecommended to use Java in place of C/C++ when it comes to doing low-level systematic commands - unrecommended if not impossible.

I do know that Java does have device-handling compatibility, I just don't know all of the devices off the top of my head. Cell phones come to mind immediately =P
Reply With Quote  
Join Date: Dec 2007
Location: Panadura
Posts: 40
Reputation: sanzilla has a little shameless behaviour in the past 
Rep Power: 0
Solved Threads: 3
sanzilla sanzilla is offline Offline
Light Poster

Re: Can I do System Programming with Java

  #4  
Jul 23rd, 2008
I do know that Java does have device-handling compatibility, I just don't know all of the devices off the top of my head. Cell phones come to mind immediately =P

In the J2ME ( for the cell phones ) , there we are using the java API as in J2SE , the APIs are different and limited language syntax are there . That is the difference with the J2ME and J2SE . So as I know J2ME world there is no system programming .


But in the java world there is a keyword 'native' through that , you can call a procedure in a *.dll file . That means , whatever an application can do with the c++ , can done with the java [underline]AS I KNOW [/underline] . I may be wrong . So access to the device drivers are possible through the native calls or java's api . But that is not system programming . that still the application level programming .

To be system programming normally we should write the code to write to the device registers and memory locations and I don't think that java byte-code can done that .

Even using the assembly or c++ , you still
can write the application programs and device drivers . But when a native machine code application , it can be write using even assembly ,but that still not a system programming .
Last edited by sanzilla : Jul 23rd, 2008 at 1:45 am.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Java Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Java Forum

All times are GMT -4. The time now is 11:47 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC