Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Java2d

Name: Anonymous 2008-07-05 16:01

Im trying to use java2d but it seems too slow. I need to render 50 squares about 50pixels wide each. The thing is I need to do it really fast, like 5-10 times a second. anyone have any ideas?

Name: Anonymous 2008-07-05 16:02

shit sorry, 50x50 squares so 2500

Name: Anonymous 2008-07-05 16:08

Only rerender the parts that have actually changed since last frame.

It will be slow as fuck, whatever you do, though. That's Java2D for you.

Name: Anonymous 2008-07-05 16:16

Use Haskell OpenGL.

Name: Anonymous 2008-07-06 4:32

Too bad Java is slow as fuck.

Name: Anonymous 2008-07-06 11:44

>>1
java
fast

Name: Anonymous 2008-07-06 17:39

Java is fast, it's current problem is its memory usage.

Name: Anonymous 2008-07-06 17:46

>>5
the language is actually about as fast as c++.
the problem is that all the graphics libraries for java are slow as fuck.

Name: Anonymous 2008-07-06 22:22

Java is fast, the problem is that it is slow.

Name: Anonymous 2008-07-07 0:44

>>7
i like the way you troll

Name: Anonymous 2008-07-07 2:54

>>10
AH LIEK THE WAY YOU MOOOOVE

Name: Anonymous 2008-07-07 4:47

>>8
Actually true. Once the JVM is properly loaded, the Java bytecode interpreter isn't exceptionally slow.

Name: Anonymous 2008-07-07 5:32

>>12
You mean "once the Java bytecode is JIT compiled into native assembly." Running through an interpreter is slow as fuck, regardless of the implementation.

Name: Anonymous 2008-07-07 5:41

>>13
No, he means "disregarding startup time".

Name: Anonymous 2008-07-07 8:13

>>13
Not if you spend most of your time waiting for the user/disk/network/etc.

Name: Anonymous 2008-07-07 8:21

>>15
Many people say that, but they forget background processes. Even if your torrrent app / messenger / etc in THE SLOW AS FUCK LANGUAGE JAVA spends most of its time waiting for the disk, if it's eating up CPU cycles like an idiot, it's still pissing me off when I'm trying to play my game at the same time.

HELLO, YOU'RE NOT ALONE ON THE COMPUTER, RETARDED APP

Name: Anonymous 2008-07-07 8:48

>>15
If you're going to argue that, you might as well use a more expressive language which has support for useful constructs like closures, and has bindings to C graphics libraries which aren't absolute shit.

Name: Anonymous 2008-07-07 9:25

>>16
if it's eating up CPU cycles like an idiot,
It's not, though. Azureus uses 0-2% CPU on my ancient computer. That won't impact games.

>>17
I was making a generic comment about interpreters.

Name: Anonymous 2008-07-07 9:32

>>18
In my experience it is the I/O extensive programs that only use 1-2 percent of the CPU that give me more problems in games than programs that would take 100% of the CPU and are CPU bound. 

It seems that two programs of the same priority that would each take 100% of the CPU if alone tend to take 50% a piece and just run half speed.

If two programs are I/O bound this does not seem to happen.  Neither runs smoothly even if only taking minuscule CPU.  I/O seems to be much less fine grain.

Name: Anonymous 2008-07-07 9:44

>>19
That's a problem with your operating system.

Name: Anonymous 2008-07-07 10:30

>>20
MY OS is written in Java. :)

Name: Anonymous 2008-07-07 10:34

>>21
Now you have four problems

Name: Anonymous 2008-07-07 10:50

>>1

JOGL

Name: Anonymous 2008-07-07 10:53

>>22
And I write solutions for those problems in Java. :)

Name: Anonymous 2008-07-07 11:13

>>19
Buy more and/or better hard drives (or arrange your data more thoughtfully around several hard drives) such that an application hammering data on one drive won't affect the performance of the rest of the system.

>>24
Now you have eight problems.

Name: Anonymous 2008-07-07 11:46

Now you have issues.

Name: Anonymous 2008-07-07 19:56

>>26
That makes nine problems. Shit ain't going well, and I doubt any amount of Enterprise-Grade Design Pattern will fix it.

Name: Anonymous 2008-07-07 20:07

>>1-26
SPA our problems have increased exponentially

Name: Anonymous 2008-07-08 12:49

>>27
Java solves even world hunger and AIDS!

Name: Anonymous 2008-07-08 12:53

>>29
Only after creating them, so that doesn't count.

Name: Anonymous 2009-03-06 11:57


Game was actually Narbacular.

Name: Anonymous 2009-03-06 12:48


Is killing the tripfags you mess with   the tripfags you   mess with Mr.

Name: Anonymous 2009-03-06 13:25

The only languages on Java and here   are their display   name Anonymous OP.

Name: Anonymous 2010-11-27 21:51

Name: Sgt.Kabukiman镫샼 2012-05-24 10:05

All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy

Name: bampu pantsu 2012-05-29 4:04

bampu pantsu

Name: Anonymous 2013-09-01 13:21




          \      |     /
          \  ,.. -- .,  /
       `゙     '´o    :.ヽ   ''"´
            { ()    :::: }
      __   -   、  m :: ノ - ...,, _
             `l┴┴l'´
          /  {-‐ = }  \
         /     .}-‐ = {    \  「l___◎
             └t__r┘      | r─┘ r‐─┐     「ヽ r、
                        .|└─┐  ̄`l | r──┐ `´ _ノ }
          } ̄`ヽ,-──-.、.,       ̄ ̄  r─┘l  ̄ ̄  l ̄ _ノ
     /\ ,.::'"7   }::::::::::::::::::::::`ヽ        ̄ ̄        ̄
     '  `ヽr//_,,..:::'' "´ ̄ ̄ ̄ ̄`゙'':::..、
     ヽ.  ̄>'";: - '' "´ ̄ ̄ ̄`゙' ーァ:::::::::ヽ
      },.:'´;: '´ /  ハ‐-/{    ハ-  ヽ:::::::::;'    ,. -────── 、
     ,.:':::::/ {  } /ァテtミハ  ノrtレ'   }:::/     |
    /:::::::::; 八  レ'イ{ lhl}  レ'´ {l} l ;! イ  ヽ  <    失礼剣!
    '、::::::::{'  )イ\} xx`´     `x∨ム)  -|-   |
   /  `'' ー} / l  l!   i´ ̄`!  ム{    メ    ` ー──────'
  l!     ノ ,'  ハ ノ ヽ  `   _,.イ ,ハ
  '、   (r'(  ( イ ノイヘ、`゙Tて、 リレ' ノ
   \       /´ ̄\ \-{/`ヽ          /´ ̄`ヽ
     `'ー-===ミヽ \ \/r__Y ヽ}r==ー- 、,_  {l    └- 、
          { `'ー==/{{/ ミ}Ξ}l      `ヽ}|      ノ
           、  /   }}  r八、_!{        / `''===''"
           _∨    ヽ-イ}l{-り|      /
        /´ 八      \/∨ .ノ`' =='"´
    【ひらめくこいし】

Name: Anonymous 2013-09-01 14:52




   ヽ、 _,;:.ゝ|、____|___;;;:::-─ヽン‐r┐      | |)
   くーヽ、:;___;;::-:::::::─::::'':::"´:[l:::|.       |_|-、
    ';:::::::::::::i:::::::l]:::::l]::;:=、___;;:::::」、     i´:::::::::|_
   /`"' ー-'--─ ''"7::::::ヽ.   i `ヽ.  r!__;;::-''|'
   ,'     /  ハ,__ i:::::::::i -!、ハ  ',  `i::::::::::::|_______________
  .i  ./  ,'   /'´| ハ::::::ハ__ハ | i |   !、__:/
  |.  i  イ  /,ア;ニ;ヽ V .オ`i`i | ,ハノ   /
  |.  ',  i  ,〈 .ト |    トノ.ノ レ'!    | それでは最初のお便り
  .|  ヽ、ヘレ|  ゝ'    ,  ,,|:::| |   < 某神社にお住まいのミコミコさん
   | i  |ヽ|:::|"   ,. -‐ァ  ,.イ:::| |    |
   | |    |:::|ヽ.、, i _ノ / |;:::!-'‐' 7  .| 「キュウリに蜂蜜をかけて食べると
  .| |   |::::ト、, `,7T"i´ヽ!/´   /   |  メロンっぽい味になるのよ」
  |  |  ,.ヘ!:::::|:::::`ヽ」ヽ、! /    ./   ',
  |  !/  ヽ、|へノ::ヽム::_/     /     ヽ、.,_________________
  | ./      Yヽ、/:::/´└'"´`i /ヽ
  |〈       〉:::::::7     ノ'  ノ、
  ',くゝ、 、 イゝ:::::/   ァ''"イ_r'´ヽ〉

Don't change these.
Name: Email:
Entire Thread Thread List