my other job is a System.gc();
Printable View
my other job is a System.gc();
Forcing GC eh? It's not weather ti is called, its how much it actually cleans. To be quite honest I have not used much java since 1.4 (I avoid it honestley. Cept for ME) Garbage collection was a problem, but one of the smaller probs with the language.
lol @ teh pearl :p :p
Bipper
when it's called it's only a 'suggestion' to the jvm, it doesn't actually have to happen
which is why you sometime see code with 5 lines that consist of entirely system.gc(); repeating some 14 times
System.gc() does not enforce a garbage collection, it only notifies the VM that one has been requested. This can cause an early GC but not necessarily cause one to happen immediately. This makes your code slower and even more of a processing hog that what java already is.
On top of that the securitey sucks, as you have minimal control over it. Soem object model. It actually gets in your way at times.
Java does have its good points i must say. As its architecture and approach towards OOP. Applets are an Awsome feature for people of all walks of code. Running JSP (granted getting out there) isn't a crime, its a preatty sweet Server side programming language. Java ME is just the coolest.
That is my narrow overview of JAVA ;)
If you want power, use c/c++; if you want to write a quick and dirty program, use Java. If you like pushing buttons, use vb (or any .net pl will work ;)). If you have an eternity, assembly.
Bipper
Assembly!?!?! PFFFT! 0s and 1s baby :laugh:
.model small
.stack
.data
message db "Hello world, I GOE!!!", "$"
.code
main proc
mov ax,seg message
mov ds,ax
mov ah,09
lea dx,message
int 21h
mov ax,4c00h
int 21h
main endp
end main
assembly..... yawn - and oh so dangerous :( I fried my fav monitor once using this black magic :cry: I.. miss you sony.. :cry:
Bipper
STOP! It has been a while since I have had to do anything with ancient language. It hurts my eyes...but 0 and 1 machine code you can see pictures in the patterns so it is awesome to look at.
KK NEO :cool:
I use asembly all the time. It's a good way to optimize a lot of my graphix.
bipper
It is great for being efficent and all of that but it still hurts my eyes. If I am not mistaken I believe Team Ninja at Tecmo use A LOT of assembly on their games.
c++:
#include
#include
int main()
{
cout << "BIPPER GOES!! \n";
system("PAUSE");
return 0;
}
vs
ASM assembly:
.see post above - (The code is wrong I belive - if you try to compile it you should get some spaces in the ouput or junk at the end of the line) it was an example :)
I fail to see much of a difference... I actually like the astetic look of asm better than cpp as I hate operands :) Programming ain't about looks though :cry:
As far as I know, most higher caliber video games use some assembly... /shrug I wouldn't know for sure though...
Bipper GOES
I am pretty sure most games that push that grafix envelop use quite a bit of assembly. MGS, RE 4, Team Ninja anything.
I know it isn't about looks but assembly has always just bugged me for some reason. Might be me though ;_;