•
•
•
•
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
![]() |
•
•
•
•
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
•
•
Join Date: Dec 2007
Location: Panadura
Posts: 40
Reputation:
Rep Power: 0
Solved Threads: 3
•
•
•
•
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.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
api apple blogger blogging c c++ code coding competition compiler computer debugging developer development france gdata google high-performance java leopard linux microsoft microsystems news object open operating operating system oriented os parliament planning platform programming python rss software source sun switching system technology tools torvalds upgrade vista web windows xml xp
- Simple Operating System in C# (C#)
- Programming FAQ - Updated 1/March/2005 (Computer Science and Software Design)
- Java/J2EE Senior Software Engineer (Software Development Job Offers)
- Need java tutor? (Java)
- OS programming in Java? (Java)
- Problems launching java source code (serious newbie, sorry! :( ) (Java)
- Error message when running simple Java pgm (Java)
Other Threads in the Java Forum
- Previous Thread: topics for java project
- Next Thread: calculate squares and cube


Linear Mode