Re: [computer-go] Re: linux and windows

2008-07-17 Thread Christoph Birk

On Thu, 17 Jul 2008, Dave Dyer wrote:

If your program has ANY gui at all though, you're pretty much screwed.
Mac Windows and Linux GUIs are about as far apart as any three platforms
can be.  There are lots of "compatibility" solutions, including your
choice of platform independent languages; but they all create essentially
a fourth platform that you have to target, and once again, you're screwed
unless you started that way.


Not quite true anymore; Macs support X-windows, so you can use the
same GUI for Mac+(L)inux.

Christoph

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


[computer-go] Re: linux and windows

2008-07-17 Thread Dave Dyer

>
>Of course C can be more or less platform independent if you take some care.

Purely for engine code, that's true.  Standard windows has APIs
that are nearly compatible with xxux for command line initialization
and ordinary file and network operations.  

If your program has ANY gui at all though, you're pretty much screwed.
Mac Windows and Linux GUIs are about as far apart as any three platforms
can be.  There are lots of "compatibility" solutions, including your
choice of platform independent languages; but they all create essentially
a fourth platform that you have to target, and once again, you're screwed
unless you started that way.


___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Re: linux and windows

2008-07-17 Thread Don Dailey
What is the best way to compile for 64 Windows if you don't have a 64 
bit windows OS?   

I want to compile my chess program for 64 bit windows (it uses 64 bit 
data structures and is actually 2X faster on 64 bit linux over 32 bit 
linux.)


I have seen mingw64 but have heard that it is very buggy.   Does anyone 
have any experience with this?


Jim's email reminded me of something I wanted to look into.Can these 
virtual boxes emulate a 64 bit machine?  


- Don




Jim O'Flaherty, Jr. wrote:

All,

Another option is to use a VM, MS's Virtual PC (free), VMWare's offering (free 
for non-commercial use) or any of the flavors of the open source Xen. 
Basically, you can set up an install of whatever target environment you use as 
a client OS. And then install and configure all you need and want natively 
within the Client OS without having to worry that the host OS is Windows.

And for those of you who will say this is inefficient - I would just reply 
with, not participating at all is less efficient than at least participating 
with something inside a VM. There is no need for perfection, as in having every 
little tiny bit of performance eeked out of a box/processor/memory. If you can 
get +90% (which is what all the above VM creators claim for each of theirs), 
then you can participate and gain more experience for your particular 
computer_go player.


Jim




- Original Message 
From: Don Dailey <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; computer-go 
Sent: Thursday, July 17, 2008 1:31:21 PM
Subject: Re: [computer-go] Re: linux and windows



terry mcintyre wrote:
  

A cygwin port can't really be considered a "windows application" since it 
requires that the windows user install cygwin. This is not for the faint of heart.

There are many good reasons why some people develop on Linux. Porting between Linux and Windows is not trivial. 


A better way to run linux programs on borrowed Windows machines might be to 
burn a LiveCD with one's program -- something akin to the Hikarunix CD, which 
tournament organizers could then pop into a computer, boot, and start the 
program.
 

But you can compile using mingw32 to build native applications.I 
recently compiled my chess program and it runs fine, at least on recent 
windows OS versions - of course it is a UCI program which means the GUI 
is a separate windows program.


- Don


  


 
___

computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

 


___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

  



___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Re: linux and windows

2008-07-17 Thread Jim O'Flaherty, Jr.
All,

Another option is to use a VM, MS's Virtual PC (free), VMWare's offering (free 
for non-commercial use) or any of the flavors of the open source Xen. 
Basically, you can set up an install of whatever target environment you use as 
a client OS. And then install and configure all you need and want natively 
within the Client OS without having to worry that the host OS is Windows.

And for those of you who will say this is inefficient - I would just reply 
with, not participating at all is less efficient than at least participating 
with something inside a VM. There is no need for perfection, as in having every 
little tiny bit of performance eeked out of a box/processor/memory. If you can 
get +90% (which is what all the above VM creators claim for each of theirs), 
then you can participate and gain more experience for your particular 
computer_go player.


Jim




- Original Message 
From: Don Dailey <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; computer-go 
Sent: Thursday, July 17, 2008 1:31:21 PM
Subject: Re: [computer-go] Re: linux and windows



terry mcintyre wrote:
> A cygwin port can't really be considered a "windows application" since it 
> requires that the windows user install cygwin. This is not for the faint of 
> heart.
>
> There are many good reasons why some people develop on Linux. Porting between 
> Linux and Windows is not trivial. 
>
> A better way to run linux programs on borrowed Windows machines might be to 
> burn a LiveCD with one's program -- something akin to the Hikarunix CD, which 
> tournament organizers could then pop into a computer, boot, and start the 
> program.
>  
But you can compile using mingw32 to build native applications.I 
recently compiled my chess program and it runs fine, at least on recent 
windows OS versions - of course it is a UCI program which means the GUI 
is a separate windows program.

- Don


>
>
>
>  
> ___
> computer-go mailing list
> computer-go@computer-go.org
> http://www.computer-go.org/mailman/listinfo/computer-go/
>
>  
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

Re: [computer-go] Re: linux and windows

2008-07-17 Thread Don Dailey



terry mcintyre wrote:

A cygwin port can't really be considered a "windows application" since it 
requires that the windows user install cygwin. This is not for the faint of heart.

There are many good reasons why some people develop on Linux. Porting between Linux and Windows is not trivial. 


A better way to run linux programs on borrowed Windows machines might be to 
burn a LiveCD with one's program -- something akin to the Hikarunix CD, which 
tournament organizers could then pop into a computer, boot, and start the 
program.
  
But you can compile using mingw32 to build native applications.I 
recently compiled my chess program and it runs fine, at least on recent 
windows OS versions - of course it is a UCI program which means the GUI 
is a separate windows program.


- Don






  
___

computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

  

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Re: linux and windows

2008-07-17 Thread Don Dailey



Dave Dyer wrote:

At 09:29 AM 7/17/2008, David Fotland wrote:
  

It irks me a little that Linux people refuse to consider porting their
programs to Windows :)  With cygwin, it's pretty easy to port Linux
programs.  



Isn't it the case that Cygwin is no help if the program has a GUI. 
  
Yes,  if you have a GUI that is not built around a cross-platform 
library.  

Even though I hate windows and don't use it,  I still always try to 
accommodate Windows users and of course I like the Mac platform (it is 
Unix based) and try to support it too.  

There are cross-platform ways to accommodate GUI's,  but that's not much 
help if your program has already been developed. For the same basic 
reason I avoid ASP or any proprietary solution to anything if I can 
avoid it.   One of my clients uses ASP and I convinced them to move to 
PHP in their web stuff - we are trying to converge to open standards and 
want the flexibility to be able to run on ANYTHING, especially not being 
tied down to things that require expensive proprietary solutions.


- don



  


___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

  

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Re: linux and windows

2008-07-17 Thread terry mcintyre
A cygwin port can't really be considered a "windows application" since it 
requires that the windows user install cygwin. This is not for the faint of 
heart.

There are many good reasons why some people develop on Linux. Porting between 
Linux and Windows is not trivial. 

A better way to run linux programs on borrowed Windows machines might be to 
burn a LiveCD with one's program -- something akin to the Hikarunix CD, which 
tournament organizers could then pop into a computer, boot, and start the 
program.




  
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


[computer-go] Re: linux and windows

2008-07-17 Thread Dave Dyer
At 09:29 AM 7/17/2008, David Fotland wrote:
>It irks me a little that Linux people refuse to consider porting their
>programs to Windows :)  With cygwin, it's pretty easy to port Linux
>programs.  

Isn't it the case that Cygwin is no help if the program has a GUI. 
  

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


[computer-go] Re: linux and windows

2008-07-17 Thread Dave Dyer
At 09:29 AM 7/17/2008, David Fotland wrote:
>It irks me a little that Linux people refuse to consider porting their
>programs to Windows :)  With cygwin, it's pretty easy to port Linux
>programs.  

Isn't it the case that Cygwin is no help if the program has a GUI. 
  

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/