Author Topic: Kazan Vs Java  (Read 11171 times)

0 Members and 1 Guest are viewing this topic.

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
java makes the baby jesus cry
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
You know baby Jesus? What's he like? I am honored to know someone who knew him.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
he's like any other baby - eats, sleeps, ****s, pisses, cries... and was born from a woman who got screwed




(PS: if you didn't know most of "jesus's" ideas come from the Rabbi Hillel who was intentionally blending judaism with buddhism)
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Fascinating fairy tale :D
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
yes, jesus is a fascinating fairy tail
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Flipside

  • əp!sd!l£
  • 212
Jesus is for General Discussion ;) But Kaz still has that monkey thing :(

Don't really know what to suggest here.... Well, I do, but it's an Admin decision.

Either way, let's please not let this thread drift off topic :)
« Last Edit: June 06, 2007, 02:06:07 pm by Flipside »

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
but but... they started it!  :lol:


remove the monkey already :P
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
Well the monkey helps me find your post. It's either you or... That... other guy. :shaking:

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
if they want to give me a special avatar it can be a PCS2 avatar... i don't eed a ****ing insulting monkey under my name due to their inability to see how stiff necked and unreasonable they were being in their moderation
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Flipside

  • əp!sd!l£
  • 212
LOL Well, love it or loathe it, chances are that in the future, Java will be a useful language to be moderately fluent in. Personally, I'd rather learn C++ but it doesn't look like I get a choice next year at Uni :(

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
just keep in mind many of the things java does are VERRRRRY bad coding practices in C++

like.... java leaks objects because it has a garbage collector... never mind that when the garbage collector does trigger to clean up these leaked objects your program freezes waiting for it to complete.... i've known enterprise apps that they wanted to write in java have to be written in C++ because of this - the freezup would make the propgram take longer to process a request than the maximum allowed time.. (not to mention that the C++ version of the app was much faster on average as well - meaning more requests could be served within te service time requirements on the same hardware)
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
And I've known C++ programs THAT HAVE MEMORY LEAKS!!!11111

Garbage collection is not responsible for the problem you describe. ****ty programming is possible in any language.

Oh and the fact that you derail topics to go off on rants about Java isn't really helping your demonkeying cause.
« Last Edit: June 07, 2007, 11:19:59 am by karajorma »
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
if they want to give me a special avatar it can be a PCS2 avatar... i don't eed a ****ing insulting monkey under my name due to their inability to see how stiff necked and unreasonable they were being in their moderation

ERm..if you want a avatar or a stupid nickname removed generally pissnig off the admins is not the way you go..you know..sucking up and all that jazz..
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Sucking up won't have much effect either I suspect. To get it removed he has to prove that he won't simply earn it again 5 minutes after it's removed.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 
Or donate...

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
A topic called "Kazan vs. Java" would inevitably be funnier if the first post was not by Kazan.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Garbage collection is not responsible for the problem you describe. ****ty programming is possible in any language.

yes it is.  You have no mechanism in java to explicitly deallocate a resource (in java those are all objects) at the time at which you need to discard it - your reference to that object just goes out of scope so an orphaned object hangs out there.  When you attempt to perform an allocation the garbage collector ticks and says "do I need to cleanup?" if no... you continue, if yes it has to go through and make an educated guess at which objects are orphaned (obviously always being cautious so it doesn't remove a resource in memory.. so there will be orphaned objects not removed).  this process of determining orphaned allocations is costly causing execution of the main program to pause.

another program had a smiliar problem -
garbage collection is exactly responsible for the problem because the way the coders involved in that program overcame the problem was by creating a ringbuffer of reusable objects, allocated at start, so they never have to deallocate or reallocate objects - so the garbage collector was never hit.  the application performed within specified time parameters once the ringbuffer was created
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

  

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
So in other words the problem was solved by good programming. Which is exactly my point. The problem is not a fault in the language so much as the inability of the coders to recognise and code for the languages strengths and weaknesses.


Bear in mind that the same ****ty code would have caused a hell of a slowdown in C++ too. The only difference there is that without garbage collection the entire program would run slowly all the time and the cause would not be apparent without profiling.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Sucking up won't have much effect either I suspect. To get it removed he has to prove that he won't simply earn it again 5 minutes after it's removed.

You sure sucking up won't work? Damn... I can't cancel the order of 3 tons of danish muffins now...

hm...will threats concerning shortening their life expectency (or that of their family) have any effect?
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Depends one whether you consider taking the leash off Carl and pointing him in your direction an effect. :p
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]