Idle speculation... java

Just a slight bit of idle speculation, now do people think SDL would
perform with Java language binding? I’m asking because Borla… err
Inprise today released the demo of JBuilder for Linux. This move puts
their Java IDE on Windows, Solaris, and Linux Actually is should run on
any system with Java 2 (jdk1.2.2) because it’s written in Java.
I doubt it would be usefull for high performance games, but for simpler
games it would probably work fine.
As I said, idle specualtion (while the software downloads)…

Well, it would probably perform as fast as Java goes for direct pixel
manipulation (writing to a pixel buffer), but sprite blitting and game
logic should be relatively fast.

It would be an interesting experiment. I don’t know anything about
JNI, but if you go with the SDL 1.0 API, you should get a fairly
complete set of functionality.

Interested?

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Just a slight bit of idle speculation, now do people think SDL would
perform with Java language binding? I’m asking because Borla… err
Inprise today released the demo of JBuilder for Linux. This move puts
their Java IDE on Windows, Solaris, and Linux Actually is should run on
any system with Java 2 (jdk1.2.2) because it’s written in Java.
I doubt it would be usefull for high performance games, but for simpler
games it would probably work fine.
As I said, idle specualtion (while the software downloads)…

		-fjr

Why would you want to access SDL graphics routines from within Java.
Doesn’t it already implement the same functionality? You have access to
abstract graphics device, just like SDL. And it is cross-platform, just
like SDL.

Is this just an attempt to speedup java by not making use of it’s own
graphics libraries?–
Brian

On Wed, 8 Dec 1999, Frank J. Ramsay wrote:

Just a slight bit of idle speculation, now do people think SDL would
perform with Java language binding? I’m asking because Borla… err
Inprise today released the demo of JBuilder for Linux. This move puts
their Java IDE on Windows, Solaris, and Linux Actually is should run on
any system with Java 2 (jdk1.2.2) because it’s written in Java.
I doubt it would be usefull for high performance games, but for simpler
games it would probably work fine.
As I said, idle specualtion (while the software downloads)…

It was just idle speculation while I was waiting for the trial version
to download (I don’t know much about java, but I want to get into it…
job mobility and all that)

		-fjr

hayward at slothmud.org wrote:>

Why would you want to access SDL graphics routines from within Java.
Doesn’t it already implement the same functionality? You have access to
abstract graphics device, just like SDL. And it is cross-platform, just
like SDL.

Is this just an attempt to speedup java by not making use of it’s own
graphics libraries?

Brian

On Wed, 8 Dec 1999, Frank J. Ramsay wrote:

Just a slight bit of idle speculation, now do people think SDL would
perform with Java language binding? I’m asking because Borla… err
Inprise today released the demo of JBuilder for Linux. This move puts
their Java IDE on Windows, Solaris, and Linux Actually is should run on
any system with Java 2 (jdk1.2.2) because it’s written in Java.
I doubt it would be usefull for high performance games, but for simpler
games it would probably work fine.
As I said, idle specualtion (while the software downloads)…

Not that saying this is a bad idea, but…

Java v1.2 (Java2) has bundled with it Java2D. Java2D is fully buz word
compliant, and for the most part it works. It works with Win/Unix/Mac
and it runs fairly well.

That aside, java bindings for SDL would not be all that hard, and you
could take advantage of the OO features to do some neat tricks ( auto
locking / OO wrapping surfaces… ).

Anyone undertaking this task should get some good reading. I have a
copy of “essential JNI” by Rob Gordon 1998 Prentice Hall Press. It did
a good job of laying out how native binding works it covers 1.1, but may
a little out of date by now.

-Eric

“Frank J. Ramsay” wrote:>

It was just idle speculation while I was waiting for the trial version
to download (I don’t know much about java, but I want to get into it…
job mobility and all that)

                    -fjr

I was only curious… I was wondering if there were other advantages I
wasn’t thinking of.

Uhmm… ok, I’ll stop wasting everyones bandwidth with babble now… :)–
Brian

On Wed, 8 Dec 1999, Frank J. Ramsay wrote:

It was just idle speculation while I was waiting for the trial version
to download (I don’t know much about java, but I want to get into it…
job mobility and all that)

  	-fjr

@hayward_at_slothmud wrote:

Why would you want to access SDL graphics routines from within Java.
Doesn’t it already implement the same functionality? You have access to
abstract graphics device, just like SDL. And it is cross-platform, just
like SDL.

Is this just an attempt to speedup java by not making use of it’s own
graphics libraries?

Brian

On Wed, 8 Dec 1999, Frank J. Ramsay wrote:

Just a slight bit of idle speculation, now do people think SDL would
perform with Java language binding? I’m asking because Borla… err
Inprise today released the demo of JBuilder for Linux. This move puts
their Java IDE on Windows, Solaris, and Linux Actually is should run on
any system with Java 2 (jdk1.2.2) because it’s written in Java.
I doubt it would be usefull for high performance games, but for simpler
games it would probably work fine.
As I said, idle specualtion (while the software downloads)…

Slight correction here, JBuilder 3 Foundation is free, not a trial
version.

		-fjr

“Frank J. Ramsay” wrote:>

It was just idle speculation while I was waiting for the trial version
to download (I don’t know much about java, but I want to get into it…
job mobility and all that)

                    -fjr

hayward at slothmud.org wrote:

Why would you want to access SDL graphics routines from within Java.
Doesn’t it already implement the same functionality? You have access to
abstract graphics device, just like SDL. And it is cross-platform, just
like SDL.

Is this just an attempt to speedup java by not making use of it’s own
graphics libraries?

Brian

On Wed, 8 Dec 1999, Frank J. Ramsay wrote:

Just a slight bit of idle speculation, now do people think SDL would
perform with Java language binding? I’m asking because Borla… err
Inprise today released the demo of JBuilder for Linux. This move puts
their Java IDE on Windows, Solaris, and Linux Actually is should run on
any system with Java 2 (jdk1.2.2) because it’s written in Java.
I doubt it would be usefull for high performance games, but for simpler
games it would probably work fine.
As I said, idle specualtion (while the software downloads)…

Hi all,

Sorry if this has been discussed recently.

I’m getting several errors when compiling smpeg:

./.libs/libsmpeg.so: undefined reference to ‘__rtti_user’
./.libs/libsmpeg.so: undefined reference to ‘__rtti_si’
./.libs/libsmpeg.so: undefined reference to ‘__throw’
./.libs/libsmpeg.so: undefined reference to ‘terminate(void)’
./.libs/libsmpeg.so: undefined reference to ‘__eh_pc’
./.libs/libsmpeg.so: undefined reference to ‘__rtti_class’

(I get the same errors on two different machines running
each with a different version of SDL; one is 1.0.0)

Anyone recognize any of these?

Thanks for any suggestions,

Steve Madsen
H2Eye Ltd
24-28 Hatton Wall
London EC1N 8JH
Tel: +44-171-404-9600
Fax: +44-171-404-9490
Email: @Steve_Madsen

Hi all,

Sorry if this has been discussed recently.

I’m getting several errors when compiling smpeg:

./.libs/libsmpeg.so: undefined reference to ‘__rtti_user’
./.libs/libsmpeg.so: undefined reference to ‘__rtti_si’
./.libs/libsmpeg.so: undefined reference to ‘__throw’
./.libs/libsmpeg.so: undefined reference to ‘terminate(void)’
./.libs/libsmpeg.so: undefined reference to ‘__eh_pc’
./.libs/libsmpeg.so: undefined reference to ‘__rtti_class’

Do “make CC=g++”

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Hi Sam

Thanks for the info; it worked.

Cheers

Steve Madsen

At 09:03 09/12/99 -0800, you wrote:>> Hi all,

Sorry if this has been discussed recently.

I’m getting several errors when compiling smpeg:

./.libs/libsmpeg.so: undefined reference to ‘__rtti_user’
./.libs/libsmpeg.so: undefined reference to ‘__rtti_si’
./.libs/libsmpeg.so: undefined reference to ‘__throw’
./.libs/libsmpeg.so: undefined reference to ‘terminate(void)’
./.libs/libsmpeg.so: undefined reference to ‘__eh_pc’
./.libs/libsmpeg.so: undefined reference to ‘__rtti_class’

Do “make CC=g++”

-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec