Rebel to be reacquired by Ed

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Sean Evans
Posts: 1777
Joined: Thu Jun 05, 2008 10:58 pm
Location: Canada

Rebel to be reacquired by Ed

Post by Sean Evans »

Hi, It would nice to see Rebel reacquired and turned into a UCI, Android and iOS compatible program. The ELO does not have to be improved, just allow people to download and add it to their collection.

Thank you,

Sean
User avatar
hgm
Posts: 27811
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Rebel to be reacquired by Ed

Post by hgm »

The whole concept of an engine is incompatible with iOS, isn't it?
User avatar
AdminX
Posts: 6340
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Rebel to be reacquired by Ed

Post by AdminX »

hgm wrote:The whole concept of an engine is incompatible with iOS, isn't it?
Seems so. :?
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
Sean Evans
Posts: 1777
Joined: Thu Jun 05, 2008 10:58 pm
Location: Canada

Re: Rebel to be reacquired by Ed

Post by Sean Evans »

hgm wrote:The whole concept of an engine is incompatible with iOS, isn't it?

Why?
User avatar
hgm
Posts: 27811
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Rebel to be reacquired by Ed

Post by hgm »

iOS does not allow one process to launch another process. So it is impossible for a GUI to fire up an engine. Both the GUI and the engine would have to be the same executable. And if you want to play engine A against engine B then A, B and the GUI would all have to be in a single executable.
rabbits23
Posts: 144
Joined: Fri Sep 12, 2014 4:57 am
Location: Randwick Australia

Re: Rebel to be reacquired by Ed

Post by rabbits23 »

royb
Posts: 536
Joined: Thu Mar 09, 2006 12:53 am

Re: Rebel to be reacquired by Ed

Post by royb »

hgm wrote:iOS does not allow one process to launch another process. So it is impossible for a GUI to fire up an engine. Both the GUI and the engine would have to be the same executable. And if you want to play engine A against engine B then A, B and the GUI would all have to be in a single executable.
That makes me wonder why IOS has this restriction. Is it simply a matter of policy that they don't allow this? In which case, rooting the device might allow it? Or is it matter of design that Apple deliberately chose? If that is the case, it begs the question of why they designed it that way?
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Rebel to be reacquired by Ed

Post by bob »

royb wrote:
hgm wrote:iOS does not allow one process to launch another process. So it is impossible for a GUI to fire up an engine. Both the GUI and the engine would have to be the same executable. And if you want to play engine A against engine B then A, B and the GUI would all have to be in a single executable.
That makes me wonder why IOS has this restriction. Is it simply a matter of policy that they don't allow this? In which case, rooting the device might allow it? Or is it matter of design that Apple deliberately chose? If that is the case, it begs the question of why they designed it that way?
Main reason, it keeps their thumb on everything. It is incredibly useful to be able to spawn a process, send it input, receive output from it, etc... And it has only been available in Unix since the 1970 time frame. :)
kinderchocolate
Posts: 454
Joined: Mon Nov 01, 2010 6:55 am
Full name: Ted Wong

Re: Rebel to be reacquired by Ed

Post by kinderchocolate »

royb wrote:
hgm wrote:iOS does not allow one process to launch another process. So it is impossible for a GUI to fire up an engine. Both the GUI and the engine would have to be the same executable. And if you want to play engine A against engine B then A, B and the GUI would all have to be in a single executable.
That makes me wonder why IOS has this restriction. Is it simply a matter of policy that they don't allow this? In which case, rooting the device might allow it? Or is it matter of design that Apple deliberately chose? If that is the case, it begs the question of why they designed it that way?
Roy, that's because there's no reason to spawn multiple processes in a mobile application. It's doggy and insecure. The kernel would need more resources to track the processes. Multi-threading works well. Rooting the device won't help because all the functions for spawning a process in the SDK have empty implementation. We can still call those functions, but they will return immediately and do nothing.

Therefore, all the unix functions able to spawn a process gets implemented in iOS like this:

void fork()
{
#ifdef IOS
// Empty implementation
#else // Eg: Mac OS-X
.... implementation code ...
#endif
}

Windows Phone is the same.
User avatar
AdminX
Posts: 6340
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Rebel to be reacquired by Ed

Post by AdminX »

kinderchocolate wrote:
royb wrote:
hgm wrote:iOS does not allow one process to launch another process. So it is impossible for a GUI to fire up an engine. Both the GUI and the engine would have to be the same executable. And if you want to play engine A against engine B then A, B and the GUI would all have to be in a single executable.
That makes me wonder why IOS has this restriction. Is it simply a matter of policy that they don't allow this? In which case, rooting the device might allow it? Or is it matter of design that Apple deliberately chose? If that is the case, it begs the question of why they designed it that way?

Windows Phone is the same.
Now that I did not know. Been many years ago when I last used one.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers