Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Interfaces you'd like to see in the jdk  (Read 927 times)
0 Members and 1 Guest are viewing this topic.
Offline i30817

Junior Member





« Posted 2012-05-02 20:59:17 »

As we all know, there are plenty of good ideas that would be nice to have standardized, but don't get even get a time of day because it never would get implemented in the jdk (and maybe they shouldn't).
Still, i think it's a good idea to have a well thought out interface (as if that was possible without 3 prior implementations!), so as to subtly pressure the library authors to support it, so you can change tools.

I've got a "hate-hate-love" relationship with this stuff, because it inevitably ossifies and leaks, but it does sometimes allow to change implementations. Exe:
JAXP, corba, java speech api etc.

Still, i've recently thought it would be nice to have a "bug report" interface, so that i could use a library that would report to my project google page bugs on uncaught exceptions and filter duplicates with the stacktrace.
Such a simple interface would be nice encouragement for library writers.

Do you have any such jdk interface longings?

//is there any library that does this stuff for google code?
Offline sproingie
« Reply #1 - Posted 2012-05-02 21:08:11 »

I'd like to see them focus on the JVM and leave library design to people who are better at it.  Other than jdbc, java.util.concurrent and a few collections classes (but not all), I'm hard pressed to think of anything bundled with the JDK that I don't tend to prefer a third-party implementation for.  Not sound, not GUI, not XML processing, not logging ...
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 438
Projects: 4


Hand over your head.


« Reply #2 - Posted 2012-05-03 06:22:08 »

Regardless of who is better at it, I think it's most important that whatever you include in the JVM has to be supported forever and is basically feature frozen.

Adding a new JAR to the classpath is so easy that you'd wonder why there is even a demand for adding libraries to the JVM.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Games published by our own members! Check 'em out!
Try the Free Demo of Revenge of the Titans
Offline Evil[1]

Senior Newbie


Medals: 1



« Reply #3 - Posted 2012-05-03 07:53:41 »

java.lang
java.math
java.sql
java.util
java.net
Offline lhkbob

JGO Knight


Medals: 32



« Reply #4 - Posted 2012-05-03 07:59:56 »

java.io
maybe java.nio

Offline Roquen

JGO Ninja


Medals: 66



« Reply #5 - Posted 2012-05-03 10:51:55 »

Regardless of who is better at it, I think it's most important that whatever you include in the JVM has to be supported forever and is basically feature frozen.
I serious dislike these kinds of notions. Lucky (IMHO) there are moving in the opposite direction and modularizing and versioning the various libraries and making it non-monolithic.  Backward compatible is preserved (which I assume is your real motivation) without forever & ever handcuffing future versions.  If you don't like a newer version of something, you can always specify the specific previous version you want to utilize.

Pretty much everything I want is at the VM level, which would need to be exposed at both the language and library level.

Examples:
  • VM support of structures with library structures that expose SIMD operations.
  • VM support of concrete arrays with operations which expose caching hints

For java in the wider sense:

  • Mutable primitive wrapper classes (I'm still at a loss why we've never had this.)
  • High level IR framework (scripting languages, runtime compiling, ease other languages on JVM).
  • Lots and lots of contracts via metadata (annotations)

Offline princec
« League of Dukes »

JGO Kernel


Medals: 196
Projects: 3


Eh? Who? What? ... Me?


« Reply #6 - Posted 2012-05-03 11:07:49 »

The only ones I think that should be part of the JVM are java.lang, java.math, java.io, java.nio, java.net and java.util and their subpackages. Those are the bare basics to make a VM work with whatever language may actually be on top of it all. It might be nice if they ditched all the legacy deprecated methods and classes one day and drew a line in the sand for backward compatibility - after all it's trivial to rewrite and recompile Java code to use newer methods.

When I chopped the VM down back in 2003 ish I got the entire thing down to a 2.5mb payload (1.4.2 Hotspot client) capable of running fully featured games. I asked Sun a lot about licensing such a VM but apparently there was so much political red tape involved in actually doing so it never happened. I fear there was an opportunity missed.

Cas Smiley

Online nsigma
« Reply #7 - Posted 2012-05-03 11:28:57 »

When I chopped the VM down back in 2003 ish I got the entire thing down to a 2.5mb payload (1.4.2 Hotspot client) capable of running fully featured games. I asked Sun a lot about licensing such a VM but apparently there was so much political red tape involved in actually doing so it never happened. I fear there was an opportunity missed.

Of course, with OpenJDK there wouldn't be any political shenanigans about doing this.  But are many people doing that now? 

Praxis LIVE - Open-source graphical environment for developing intermedia performance tools, projections and interactive spaces.
Praxis LIVE on Twitter
Offline Roquen

JGO Ninja


Medals: 66



« Reply #8 - Posted 2012-05-03 11:34:53 »

From the hand-waving future directions stuff I've seen that seems to be exactly the direction that they're intending on moving in.  No more multiple JVMs (from Oracle).  Just HotSpot with various different components depending on if it's ME, SE or EE.  How is not clear (conditional compile or broken into shared libraries).  On the classpath side, no more monolithic single version (forever backward compatible), but broken into chunks (granularity is unclear) which are versioned.  It seems logical that the minimum required to execute would be a single chuck...but stuff isn't always logical to me.

Quote
Of course, with OpenJDK there wouldn't be any political shenanigans about doing this.  But are many people doing that now?
I don't see how this really changes anything (for the moment), unless there as been some licensing changes of which I'm unaware.  But (again from hand-waving papers) addressing the issue of minimal embedded (from a distribution standpoint) is one of the stated reasons for the above moves.
Online nsigma
« Reply #9 - Posted 2012-05-03 11:41:16 »

Quote
Of course, with OpenJDK there wouldn't be any political shenanigans about doing this.  But are many people doing that now?
I don't see how this really changes anything (for the moment), unless there as been some licensing changes of which I'm unaware.  But (again from hand-waving papers) addressing the issue of minimal embedded (from a distribution standpoint) is one of the stated reasons for the above moves.

Because as long as you keep it GPL w/CPE you can strip it down as much as you want!  And use it wherever you want as well for that matter.  Interesting side note - GPL cannot have field of use restrictions - so if Android had been forked off OpenJDK there wouldn't be a problem.  Just can't call it Java.

Praxis LIVE - Open-source graphical environment for developing intermedia performance tools, projections and interactive spaces.
Praxis LIVE on Twitter
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (81 views)
2013-05-17 21:29:12

alaslipknot (91 views)
2013-05-16 21:24:48

gouessej (122 views)
2013-05-16 00:53:38

gouessej (114 views)
2013-05-16 00:17:58

theagentd (126 views)
2013-05-15 15:01:13

theagentd (113 views)
2013-05-15 15:00:54

StreetDoggy (158 views)
2013-05-14 15:56:26

kutucuk (180 views)
2013-05-12 17:10:36

kutucuk (180 views)
2013-05-12 15:36:09

UnluckyDevil (187 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.153 seconds with 21 queries.