Page 22 of 49

Posted: 10 Jun 2007, 14:01
by Lippy
Don't worry AF, I love you too. Yes, yes I do

Posted: 10 Jun 2007, 14:27
by clericvash
Good going there AF! Now hurry and get us a proper release with lots of goodies, hehe :)

Posted: 10 Jun 2007, 14:33
by AF
Right now I'm waiting for a working java unitsync for linux

Posted: 10 Jun 2007, 14:37
by Lippy
WOOT!!! Works!!! I'll post it up in a sec

EDIT: http://www.mediafire.com/?c4ygmjx2gkc

Posted: 10 Jun 2007, 14:46
by Agon
Is unitsync.so for x86 the same as for x64 architecture?

Posted: 10 Jun 2007, 14:51
by AF
x86 != x64 how could you even ask such a question?!?!?!?!?

You cant mix 32bit and 64bit binary executables. A 32bit lib cant load anything 64bit and vice versa. a 64bit java unitsync would only be usable on 64bit linux, whereas a 32bit would work for all.

Posted: 10 Jun 2007, 14:54
by Lippy
AF wrote:x86 != x64 how could you even ask such a question?!?!?!?!?

You cant mix 32bit and 64bit binary executables. A 32bit lib cant load anything 64bit and vice versa. a 64bit java unitsync would only be usable on 64bit linux, whereas a 32bit would work for all.
Yeah, but he could be running a 32bit linux, and then it should be fine (right?)

If you are running a 64bit linux, seriously try and compile it once more; use your distributions package manager and install sun-java6-jdk (not free-java-sdk like i said before) It should work perfectly then.

Posted: 10 Jun 2007, 14:57
by AF
32bit linux +64 bit library == truncated pointers == horendous crashbugs.

Posted: 10 Jun 2007, 15:08
by Lippy
AF wrote:32bit linux +64 bit library == truncated pointers == horendous crashbugs.
Ye but who said he had a 64 bit library? He could have 32bit os + 32bit library on 64-bit hardware (e.g. like most windows xp users who've bought a comp in the past ~2 years)

But ye, I agree, he probably wouldn't be asking if he didn't have a 64bit version of linux.

Posted: 10 Jun 2007, 15:19
by Agon
I have a x64. I only ask because I don´t know if it´s the same with Java.
And my question was not the best :oops: .
Now I know its the same.
AF: Will you give us two versions? One for x86 and one for x64?

Posted: 10 Jun 2007, 15:42
by clericvash
What can 64bit users do?
I am on 32bit but am this year probably going to get a 64bit computer or something better than this sucky laptop!

Posted: 10 Jun 2007, 15:52
by Agon
Using more ram, more than 4gb I think. Bigger variables: int64 (18446744073709551616) and int32 (4294967296). And faster ram using. Hope this right.
64Bit is the feature with more than one cpu.

Sry, not realy topic matched.

Posted: 10 Jun 2007, 15:56
by clericvash
I so 64bit is using more than 1cpu.
But then arn't cpus with more cores better than using more than 1 cpu?

Lol computers are getting too complex for me these days, haha.

Posted: 10 Jun 2007, 16:04
by Relative
OMG!! Yay it works, good job Lippy! So does this mean Beta 1 is going public now?

Posted: 10 Jun 2007, 16:57
by Lippy
Relative wrote:OMG!! Yay it works, good job Lippy! So does this mean Beta 1 is going public now?
You mean good job Tobi and AF!

Code: Select all

svn checkout https://spring.clan-sy.com/svn/spring/trunk/
cd trunk
scons configure
scons
Isn't exactly the hardest thing to do :P

Posted: 10 Jun 2007, 17:08
by AF
Java isnt 32 bit ro 64bit or any bit. Java is compiled bytecode, it doesnt ahve any machine specific instructions.

UnitSync is C++. C++ does have architecture specific instructions. 64bit unitsync wont work on 32 bit linux/windows, and I asume the 64bit java runtime wont like the 32bit java unitsync.

AFLobby itself wont need 64bit and 32 bit versions, only untisync does.

also

multicore != 64bit

I could have a dual core cpu thats 32bit and a monocore cpu thats 64bit.

In 32bit architecture a number is a chain of 32bits. aka if a number is 33 bits long it wont be valid and it overflows. This is what limits memory, e.g. if you take the largest memory address thatll fit into 32 bits and icnrement it by 1 you cant access that location. aka 4GB+

So the biggest whole number available with a 32bit unsigned integer is 4294967295 and for 64bit 18446744073709551615.

Some programs need the bigger numbers on 32bit so they piece togetehr 2 32bit integers to make a 64bit one which requires extra calculations and processing to emulate 64bit math.

Posted: 10 Jun 2007, 17:57
by clericvash
Thanks for clearing that up, i will deffinatly pick milticore over 64bit probably :).

I will probably test AF lobby sometime soon as well.

Posted: 10 Jun 2007, 18:23
by Lippy
clericvash wrote:Thanks for clearing that up, i will deffinatly pick milticore over 64bit probably :).

I will probably test AF lobby sometime soon as well.
lol, you don't really get a choice, seeing as all current-gen consumer desktop cpus now are 64bit and most are multicore (dual core mainly moving towards quadcore)

Posted: 10 Jun 2007, 19:20
by clericvash
Ah well i'm sure i will figure out something, haha, thanks for the info guys!

Posted: 10 Jun 2007, 19:45
by AF
64bit windows/linux is faster than the 32bit versions. i'd advise to use 64bit versions of vista or linux when possible. 64bit is worth having, if only for the ability to address more than 4GB of ram, aswell as the greater efficiency it gives to some operations.

You dont have much of a choice 64bit quad and dual cores are standard equipment nowadays, and have been for at least a year where dual cores concerned, and its been long overdue.