I'm not a JAVA newbie.....
I'm ABSOLUTE JAVA illiterate person......... .........
Recently, while I was planning to learn a new programming language, one of my friends advised me to learn JAVA.
Now I'm confused in choosing which language I should start learning.
So, I have some questions regarding JAVA, which are really EASY to answer (for you techies). Please answer them if you can.
_______________ _______________ _______________ _______________ _____
_QUE 1_ Is it possible to write an Operating System in JAVA ? If yes, then is it easier to code an OS in JAVA than other High and middle level languages?
_QUE 2_ Is it possible to include statements from other languages (especially Assembly) to be included in java code?
_QUE 3_ Is it possible to write highly machine specific code in JAVA?
_QUE 4_ Is it possible to write a boot loader in JAVA?
_QUE 5_ Is graphics programming possible in JAVA? (I expect this answer to be YES).
_QUE 6_ Is network programming possible in JAVA?
_______________ _______________ _______________ _______________ _____
PLUS, If you want to tell me more features of JAVA (which might be helpful to me to choose my next programming language). Let me tell you that I presently know to code in C\C++\Assembly and so you may also tell me a comparison between C\C++\ASM and JAVA.
PLUS, tell me incapabilities of JAVA (if they exist).
THANKS TO EVERYONE IN ADVANCE........ ......
============
AmbrNewlearner
============
4 1708 Nepomuk 3,112
Recognized Expert Specialist
_QUE 1_ Is it possible to write an Operating System in JAVA ? If yes, then is it easier to code an OS in JAVA than other High and middle level languages?
_QUE 2_ Is it possible to include statements from other languages (especially Assembly) to be included in java code?
_QUE 3_ Is it possible to write highly machine specific code in JAVA?
_QUE 4_ Is it possible to write a boot loader in JAVA?
_QUE 5_ Is graphics programming possible in JAVA? (I expect this answer to be YES).
_QUE 6_ Is network programming possible in JAVA?
_______________ _______________ _______________ _______________ _____
PLUS, If you want to tell me more features of JAVA (which might be helpful to me to choose my next programming language). Let me tell you that I presently know to code in C\C++\Assembly and so you may also tell me a comparison between C\C++\ASM and JAVA.
PLUS, tell me incapabilities of JAVA (if they exist).
THANKS TO EVERYONE IN ADVANCE........ ......
============
AmbrNewlearner
============
Hi!
Let's see...
_ANS 1_ Possible? Yes. A good Idea? Hell, no! If you want to write an OS, C or C++ would be a much better choice!
_ANS 2_ Also possible, but (as far as I know) only with some nasty workarounds.
_ANS 3_ No. Well, theoretically probably yes, but again, I'd recommend a language like C or C++
_ANS 4_ -> _ANS 3_
_ANS 5_ Yes, Java has a very nice library called Swing, which is for graphical programming. It needs a bit of work to understand, but it works fine
_ANS 6_ Also yes, it's even quite easy! I've started writing a tutorial about it in the Howto section, so as soon as you understand enough of the basics, you can check that out!
One great advantage of Java is, that it's very good for multi-platform projects. While with C++ you have to compile your program for every Platform you want to run it on, with java you translate it once (it's not really a compilation) and it will run (or not run ^^) on any platform. Well, at least if you don't use anything platform specific (which, in most cases, you won't).
A disadvantage of the multi platform system is, that as Java runs in a VM (the JVM), it is slower than an equivalent program in a language like C++.
For someone who already knows C++, Java should be easy to learn. The syntax and keywords are mostly copied from C++ and you can even leave things out. Garbage collection isn't anything the programmer has to think about. Of course, that means that you can't make sure, that garbage is collected, when you want it collected. Also, Java doesn't use pointers.
Oh yes, Java is often used for web applications and has good libraries for that.
OK, I can't think of anything else right now.
Greetings,
Nepomuk
JosAH 11,448
Recognized Expert MVP
More than eleven years ago Sun produced a CPU that has Java byte code as its
machine code; Java ran on that thing natively, so the answer is yes to all the OS
related questions.
Since Sun increased its hotspot aggressive compilation technique there's no
difference between C or C++ generated machine code and Java's JIT compiler
output (which happens to be native machine code too).
kind regards,
Jos
Hi!
Let's see...
_ANS 1_ Possible? Yes. A good Idea? Hell, no! If you want to write an OS, C or C++ would be a much better choice!
_ANS 2_ Also possible, but (as far as I know) only with some nasty workarounds.
_ANS 3_ No. Well, theoretically probably yes, but again, I'd recommend a language like C or C++
_ANS 4_ -> _ANS 3_
_ANS 5_ Yes, Java has a very nice library called Swing, which is for graphical programming. It needs a bit of work to understand, but it works fine
_ANS 6_ Also yes, it's even quite easy! I've started writing a tutorial about it in the Howto section, so as soon as you understand enough of the basics, you can check that out!
One great advantage of Java is, that it's very good for multi-platform projects. While with C++ you have to compile your program for every Platform you want to run it on, with java you translate it once (it's not really a compilation) and it will run (or not run ^^) on any platform. Well, at least if you don't use anything platform specific (which, in most cases, you won't).
A disadvantage of the multi platform system is, that as Java runs in a VM (the JVM), it is slower than an equivalent program in a language like C++.
For someone who already knows C++, Java should be easy to learn. The syntax and keywords are mostly copied from C++ and you can even leave things out. Garbage collection isn't anything the programmer has to think about. Of course, that means that you can't make sure, that garbage is collected, when you want it collected. Also, Java doesn't use pointers.
Oh yes, Java is often used for web applications and has good libraries for that.
OK, I can't think of anything else right now.
Greetings,
Nepomuk
THANKS Nepomuk........ .
============
AmbrNewlearner
============
More than eleven years ago Sun produced a CPU that has Java byte code as its
machine code; Java ran on that thing natively, so the answer is yes to all the OS
related questions.
Since Sun increased its hotspot aggressive compilation technique there's no
difference between C or C++ generated machine code and Java's JIT compiler
output (which happens to be native machine code too).
kind regards,
Jos
Well, this is quite technical information, but no doubt "very very useful" for me.
THANKS JosAH.........
=============
AmbrNewelearner
=============
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Michael N. Christoff |
last post by:
Java, the software developed by Sun Microsystems in the mid-1990s as a
universal operating system for Internet applications, gave NASA a low-cost
and easy-to-use option for running Spirit, the robotic rover that rolled
onto the planet's surface on Thursday in search of signs of water and life.
...
|
by: RobertMaas |
last post by:
After many years of using LISP, I'm taking a class in Java and finding
the two roughly comparable in some ways and very different in other
ways. Each has a decent size library of useful utilities as a standard
portable part of the core language, the LISP package, and the java.lang
package, respectively. Both have big integers, although only...
|
by: DrUg13 |
last post by:
In java, this seems so easy. You need a new object
Object test = new Object() gives me exactly what I want.
could someone please help me understand the different ways to do the
same thing in C++. I find my self sometimes, trying
Object app = Object();
Object *app = Object();
Object app = new Object();
|
by: SR |
last post by:
Hi,
I was wondering if there any good books or articles on efficient
programming in C to achieve reductions in computation time(especially in
parallel environments) etc.
Pointers to any books or articles would be helpful.
Thanks
|
by: TZESENG |
last post by:
DECEMBER 13, 2005 . Editions: N. America | Europe | Asia | Edition
Preference
News Analysis
By Steve Hamm
Source:
http://www.businessweek.com/technology/content/dec2005/tc20051213_042973.htm
Peter Yared, CEO of software maker ActiveGrid, spent a critical chapter of
his career steeped in Java, the programming language developed by Sun...
| |
by: David Van D |
last post by:
Hi there,
A few weeks until I begin my journey towards a degree in Computer
Science at Canterbury University in New Zealand,
Anyway the course tutors are going to be teaching us JAVA wth bluej and
I was wondering if anyone here would be able to give me some tips for
young players such as myself, for learning the language.
Is this the...
|
by: r035198x |
last post by:
Inheritance
We have already covered one important concept of object-oriented programming, namely encapsulation, in the previous article. These articles are not articles on object oriented programming but on Java programming but I will cover all the important aspects of object oriented programming as Java has full support for object-oriented...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |