Go to advanced search

by princec
Thu Mar 16, 2017 8:08 pm
Forum: Java
Topic: Java Garbage Problem for GPIO
Replies: 5
Views: 2059

Re: Java Garbage Problem for GPIO

Seems a bit unlikely.

Have you profiled it?

Cas :)
by princec
Fri Dec 30, 2016 1:48 pm
Forum: Java
Topic: Write to file faster
Replies: 6
Views: 1985

Re: Write to file faster

You need to be looking at java.nio.file.StandardOpenOption.SYNC and DSYNC and the java.nio.Files class to be doing this sort of I/O rather than the old java.io.* stuff.

Cas :)
by princec
Tue Apr 26, 2016 2:42 pm
Forum: Gaming
Topic: How to setup Minecraft 1.8.9 on RaspPi2
Replies: 409
Views: 277515

Re: How to setup Minecraft 1.8.9 on RaspPi2

Fancy a shot at getting our games to run? Shouldn't be too hard if you've got Minecraft to work.

Cas :)
by princec
Tue Dec 04, 2012 9:42 pm
Forum: Other programming languages
Topic: Harfloat JVM from Oracle ahoy!
Replies: 4
Views: 1325

Re: Harfloat JVM from Oracle ahoy!

I should think they'll simply be posted here at the usual place when they're released.

Got the news from JavaOne twitter.

Cas :)
by princec
Tue Dec 04, 2012 7:45 pm
Forum: Other programming languages
Topic: Harfloat JVM from Oracle ahoy!
Replies: 4
Views: 1325

Harfloat JVM from Oracle ahoy!

Oracle have just announced early access JDK for ARM compiled using the hardfloat ABI! Rejoice! Now I can get down to writing some proper games for it. I'm hoping to make my stuff available to all to kickstart a few games programmers out there.

Cas :)
by princec
Thu Nov 08, 2012 10:40 pm
Forum: OpenGLES
Topic: Working full screen LWJGL
Replies: 12
Views: 8247

Re: Working full screen LWJGL

That is absolutely awesome!

In this instance please do come and crosspost your stuff at java-gaming.org and lwjgl.org forums - lots of interested people in there.

Cas :)
by princec
Thu Nov 08, 2012 10:02 pm
Forum: OpenGLES
Topic: Working full screen LWJGL
Replies: 12
Views: 8247

Re: Working full screen LWJGL

... ah wait, you're using OpenJDK and JamVM :( Still waiting for proper Hotspot VM + hardfloat here before I get my hands dirty.

Cas :)
by princec
Thu Nov 08, 2012 9:56 pm
Forum: OpenGLES
Topic: Working full screen LWJGL
Replies: 12
Views: 8247

Re: Working full screen LWJGL

hang on, how do we use hardfloat with the JVM?

Cas :)
by princec
Tue Oct 09, 2012 8:58 pm
Forum: Other programming languages
Topic: Porting of the LWJGL Java library to the Raspberry Pi
Replies: 5
Views: 14688

Re: Porting of the LWJGL Java library to the Raspberry Pi

One thing that would be quite a keen thing to do is to not need X to run. Going direct to the drivers and bypassing any crappy windowing system is a very useful thing to be able to do. I wondered that an SDL backend for LWJGL might achieve that nicely. Solve the input problem too.

Cas :)
by princec
Mon Oct 08, 2012 9:08 pm
Forum: Other programming languages
Topic: Yay, Java JDK Coming for Raspberry Pi
Replies: 13
Views: 13659

Re: Yay, Java JDK Coming for Raspberry Pi

Nice one Xerces! Thanks for your support and help :)

Cas :)
by princec
Fri Sep 21, 2012 2:11 pm
Forum: Other programming languages
Topic: Yay, Java JDK Coming for Raspberry Pi
Replies: 13
Views: 13659

Re: Yay, Java JDK Coming for Raspberry Pi

I do believe we've got a complete OpenGL ES 2 binding in LWJGL already but what you're asking is somewhat beyond the remit of what LWJGL seeks to provide which is a straight binding to native libraries. For a retargetable graphics API, you would want to be looking at libgdx which does exactly that. ...
by princec
Mon Sep 03, 2012 10:13 pm
Forum: Other programming languages
Topic: Yay, Java JDK Coming for Raspberry Pi
Replies: 13
Views: 13659

Re: Yay, Java JDK Coming for Raspberry Pi

I'm just going to sit and wait for Oracle to release a hardfloat JDK and then I'll get on with looking at making LWJGL work. I can wait!

Cas :)
by princec
Tue Aug 21, 2012 11:36 pm
Forum: Other programming languages
Topic: Java headless vs headful help; sound, etc.
Replies: 3
Views: 4234

Re: Java headless vs headful help; sound, etc.

There's no difference whatsoever between headless and headful - all the headful ones provide extra is the libraries and APIs to do AWT and sound, and you're not using the AWT libraries. (Try it for yourself - do a Hello World and run it under each; measure the resource usage before exiting).

Cas :)
by princec
Fri Sep 16, 2011 10:41 am
Forum: General discussion
Topic: Will the Raspberry Pi run Java?
Replies: 62
Views: 12093

Re: Will the Raspberry Pi run Java?

<r>No complaints at all for RasPi - I just wanted to share the results of my investigations about Java on ARM based devices. Basically: slow, only useful as a toy at this stage.<br/> <br/> And dudes - svartalf implies that we (Puppygames) can't write fast, efficient code in Java, because he can't wr...
by princec
Thu Sep 08, 2011 12:23 pm
Forum: General discussion
Topic: Will the Raspberry Pi run Java?
Replies: 62
Views: 12093

Re: Will the Raspberry Pi run Java?

<r>Svartalf appears to be inviting them; it would help if he did not place a veiled insult about our work by describing his own inability to get it to do what he wants.<br/> <br/> If anybody else in this thread would like more real information about Java please head on over to java-gaming.org and/or...
by princec
Thu Sep 08, 2011 11:22 am
Forum: General discussion
Topic: Will the Raspberry Pi run Java?
Replies: 62
Views: 12093

Re: Will the Raspberry Pi run Java?

Android is not Java and fairly rightly deserves the colossal lawsuit against it from Oracle. And I still feel from your descriptions that it is you that is limited, rather than the tool. We don't seem to suffer any limitations.
by princec
Wed Sep 07, 2011 6:10 pm
Forum: General discussion
Topic: Will the Raspberry Pi run Java?
Replies: 62
Views: 12093

Re: Will the Raspberry Pi run Java?

<r>@Svartalf - Quake3 was ported to Java years ago. J2SE is eminently capable of doing more or less anything you throw at it, in a desktop context. The world I think may have moved on last time you looked at Java (guessing maybe 10 years ago now?)<br/> <br/> @others - this was a thread asking about ...
by princec
Tue Sep 06, 2011 10:01 pm
Forum: General discussion
Topic: Will the Raspberry Pi run Java?
Replies: 62
Views: 12093

Re: Will the Raspberry Pi run Java?

Skills and knowledge investment mostly. Besides, why change when it does nearly everything you need? Until some set of problems comes along Java doesn't solve nicely I'll be sticking with it.

Cas :)
by princec
Mon Sep 05, 2011 3:04 pm
Forum: General discussion
Topic: Will the Raspberry Pi run Java?
Replies: 62
Views: 12093

Re: Will the Raspberry Pi run Java?

What have securities and market transactions and life-critical applications got to do with RasPis? You use Realtime Java for that sort of stuff. So hardly relevant to the thread, and not relevant to the device.

Cas :)
by princec
Mon Sep 05, 2011 2:39 pm
Forum: General discussion
Topic: Will the Raspberry Pi run Java?
Replies: 62
Views: 12093

Re: Will the Raspberry Pi run Java?

I wouldn't go adding FUD and a general display of ignorance about how Java works, how fast it is, or soft/hard realtime programming, in a thread from people interested in getting Java on the device...

Cas :)
by princec
Sun Sep 04, 2011 10:20 am
Forum: General discussion
Topic: Will the Raspberry Pi run Java?
Replies: 62
Views: 12093

Re: Will the Raspberry Pi run Java?

<r>I wouldn't let CPU or RAM considerations get in the way of whether people want Java or not (which is not what this thread is about); as I have said, I've used the Oracle embedded JRE and it's every bit as fast as the desktop version even in the very constrained environment I tried it on.<br/> <br...
by princec
Sat Sep 03, 2011 9:10 pm
Forum: General discussion
Topic: Will the Raspberry Pi run Java?
Replies: 62
Views: 12093

Re: Will the Raspberry Pi run Java?

<r>There is a fourth choice but it sort of depends on RaspberryPi.org and Oracle being best friends. Stranger things have happened at sea but don't discount it! Their VM is after all mostly sat there doing bugger all as they've failed to convince anyone to license it.<br/> <br/> It's absolutely grea...
by princec
Sat Sep 03, 2011 8:16 pm
Forum: General discussion
Topic: Will the Raspberry Pi run Java?
Replies: 62
Views: 12093

Re: Will the Raspberry Pi run Java?

<r>My reasonably extensive investigations with others currently show me GCJ went nowhere and wasn't exactly producing particularly fast code (notably the GC implementations were very weak).<br/> <br/> All of the open source JVMs out there are barely functional let alone fast.<br/> <br/> And C is of ...
by princec
Fri Sep 02, 2011 9:19 pm
Forum: General discussion
Topic: What have we missed?
Replies: 286
Views: 53975

Re: What have we missed?

<r>That's a shame about the chips you can get hold of - though I've got a Tegra board right here in front of me that's got 512MB RAM and I don't see any DDR socketed RAM. Wonder where they got it from...? Still, it sounds like you've got a bit of a limit there one way or the other which is a bugger....
by princec
Fri Sep 02, 2011 6:58 pm
Forum: General discussion
Topic: What have we missed?
Replies: 286
Views: 53975

Re: What have we missed?

<r>Hey Liz, I'm not being rude just by asking for a little more RAM. I'm a pragmatic programmer, I've been at it for over 30 years, and a very large proportion of that time has been spent doing tedious cost-cutting and feature-trimming and optimisation which has cost me (and every single other progr...

Go to advanced search