[Linux Lobby] AFLobby Beta 3.9.7 - Page 22

[Linux Lobby] AFLobby Beta 3.9.7

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

Don't worry AF, I love you too. Yes, yes I do
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Good going there AF! Now hurry and get us a proper release with lots of goodies, hehe :)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Right now I'm waiting for a working java unitsync for linux
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

WOOT!!! Works!!! I'll post it up in a sec

EDIT: http://www.mediafire.com/?c4ygmjx2gkc
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

Is unitsync.so for x86 the same as for x64 architecture?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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.
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post 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.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

32bit linux +64 bit library == truncated pointers == horendous crashbugs.
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post 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.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post 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?
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post 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!
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post 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.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post 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.
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

OMG!! Yay it works, good job Lippy! So does this mean Beta 1 is going public now?
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post 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
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post 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.
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post 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)
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Ah well i'm sure i will figure out something, haha, thanks for the info guys!
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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.
Post Reply

Return to “Linux”