Should Java be more high level or low level?

Overview

Java 8 is bringing much antisipated features such as Lambda expressions, Type Annotations and Virtual Extensions. While this functionality is a) valuable, b) playing catch up with cooler languages, are these richer, higher level functionality the only area Java should be focused.
 
 
 
 
 

What are the most widely used languages

There are many ways to assess which are the most widely used languages. One index which attempts to consider a wide variety of sources is the Tiobe Index. The positions and ratings are taken from Jan 2013.

PositionProgramming LanguageRatingsAgeCoolerLevel
1C17.9%oldernolower (much)
2Java17.4%samenosame
3Objective-C10.3%oldernolower
4C++9.1%oldernolower
5C#6.2%neweryeslower (slightly)
6PHP5.5%olderyeshigher
7(Visual) Basic4.7%oldernosame?
8Python4.2%oldernohigher
9Perl2.3%oldernohigher
10JavaScript2.0%samenohigher
11Ruby1.8%olderyeshigher
12Visual Basic .NET1.0%newernohigher
13Lisp1.0%oldernohigher
14Pascal0.9%oldernosame
15Delphi/Object Pascal0.9%oldernohigher
16Ada0.7%oldernosame?
17MATLAB0.6%oldernohigher
18Lua0.6%olderyeshigher
19Assembly0.6%oldernolower (much)
20Bash0.6%oldernohigher

The “Age” is based on the initial release date, the “cooler” is purely subjective on my part, and the “Level” column is whether the language supports lower level functionality or is it designed to be more abstract/higher level.

What I take from this list that there are many higher level languages, but the really popular ones support lower level constructs. e.g. Java is the only one in the top 5 not to support structs directly. (It has an optimisation which can work aorund this to a small degree)

Conclusion

While Java should be looking to add higher level functionality, it should also consider the lower level features languages like the *C* languages support as these are likely to become more popular as there will be more mobile and embedded devices in the future.
 

Reference: Should Java be more high level or low level? from our JCG partner Peter Lawrey at the Vanilla Java blog.

Related Whitepaper:

Bulletproof Java Code: A Practical Strategy for Developing Functional, Reliable, and Secure Java Code

Use Java? If you do, you know that Java software can be used to drive application logic of Web services or Web applications. Perhaps you use it for desktop applications? Or, embedded devices? Whatever your use of Java code, functional errors are the enemy!

To combat this enemy, your team might already perform functional testing. Even so, you're taking significant risks if you have not yet implemented a comprehensive team-wide quality management strategy. Such a strategy alleviates reliability, security, and performance problems to ensure that your code is free of functionality errors.Read this article to learn about this simple four-step strategy that is proven to make Java code more reliable, more secure, and easier to maintain.

Get it Now!  

One Response to "Should Java be more high level or low level?"

  1. Werner Keil says:

    To be precise, all Java 8 will bring is “low level” compiler support for Type Annotations, there isn’t a single actual annotation nor Checker that will be part of JDK 8, that’s up to individual projects. So each “Pet Project” will have its “Pet Annotations”.

    The “Annotation Hell” already becomes obvious if you look at Null-checks. @Nullable competes with @NonNull, @NotNull, @CannotBeNull, @SholdNotBeNull and who knows how many other variations ;-/

Leave a Reply


− 5 = four



Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use | Privacy Policy
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.
Do you want to know how to develop your skillset and become a ...
Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you two of our best selling eBooks for FREE!

Get ready to Rock!
You can download the complementary eBooks using the links below:
Close