Java Matters

Dec. 3, 2001
I love programming languages. They're fun. I've worked everything from Algol, APL, Lisp, and Visual Basic to Forth. C got a lot of use, but it lacked production-grade, object-oriented features. After playing with Smalltalk, I was hooked on OOPs...

I love programming languages. They're fun. I've worked everything from Algol, APL, Lisp, and Visual Basic to Forth. C got a lot of use, but it lacked production-grade, object-oriented features. After playing with Smalltalk, I was hooked on OOPs (object-oriented programming languages). When C++ first came along, I thought I had it made.

C++ is definitely a workhorse. But its runtimes can be quite large, and it inherits a lot of baggage from C. On the positive side, C++ gives you objects, and it supports multiple inheritance and templates.

But Java is where the action is. As a language, Java is rather elegant. It also includes features like multitasking that many other languages leave to APIs. On the surface, Java is C and C++ like, but it's really a new language. Moreover, it's a programming system.

For starters, Java's a simple OOP. But it eliminates many of the implementation complexities of C and C++. It hides pointers, has automatic garbage collection, and has neat features such as multiple interfaces.

Java goes beyond C++: it has a framework and is highly portable. But there's a price. Java gets rather big and complex, especially with its built-in frameworks and class definitions.

Java is a fun language. Like Basic, it's easy to get started with. You can use as much or as little of the language and Java Virtual Machine (JVM) as you need. Like C and C++, Java also is a production language. With it you can churn out production code that not only looks good, but also works over the long run.

Java takes up where C and C++ stop. It provides a much cleaner system that targets Internet and portable applications. With its underlying JVM and class libraries, Java lets users be more productive, and it provides a base for more robust applications. It also makes interfacing with other Java applications easier.

The fun has always been in the building. Java just lets you build with better things. If you're really into languages, dig a little deeper. The JVM and its associated Java bytecode semantics are there for the reading. Get under the hood, see what's really there, and use it. Enjoy.

Sponsored Recommendations

Highly Integrated 20A Digital Power Module for High Current Applications

March 20, 2024
Renesas latest power module delivers the highest efficiency (up to 94% peak) and fast time-to-market solution in an extremely small footprint. The RRM12120 is ideal for space...

Empowering Innovation: Your Power Partner for Tomorrow's Challenges

March 20, 2024
Discover how innovation, quality, and reliability are embedded into every aspect of Renesas' power products.

Article: Meeting the challenges of power conversion in e-bikes

March 18, 2024
Managing electrical noise in a compact and lightweight vehicle is a perpetual obstacle

Power modules provide high-efficiency conversion between 400V and 800V systems for electric vehicles

March 18, 2024
Porsche, Hyundai and GMC all are converting 400 – 800V today in very different ways. Learn more about how power modules stack up to these discrete designs.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!