other OS ...

For everything that's not in any way related to PureBasic. General chat etc...
marc_256
Addict
Addict
Posts: 842
Joined: Thu May 06, 2010 10:16 am
Location: Belgium
Contact:

other OS ...

Post by marc_256 »

Hello,

I started a very ambitious project,
the problem is windows,
even on a x64, 3.2 GHz computer, the program is very slow.
So, for my real time robot handling, i think using Menuet OS, or Kolibri OS,
together with Fasm.

Is there someone who haves some experiences with these OS ?
Is this a good choice or are there other alternatives ?

Edit:
I just found React OS also as a solution.


thanks,
marc
Last edited by marc_256 on Sun Aug 23, 2015 7:43 am, edited 1 time in total.
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: other OS ...

Post by Trond »

That wouldn't help much. The solutions are:

* Make it multi-threaded.
* Use a better algorithm.
* Use vector instructions (SSE) with inline fasm, or use a C compiler that does it.
* Use a C compiler (optimizes better than PB) or hand optimize critical parts.
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: other OS ...

Post by Tenaja »

Trond is right; without a major change in the structure of the program, simply changing OS's will have negligible difference.

Use PB's Profiler (in Debugger menu). It will show you which procedures are called the most, so you can focus on optimizing those.
marc_256
Addict
Addict
Posts: 842
Joined: Thu May 06, 2010 10:16 am
Location: Belgium
Contact:

Re: other OS ...

Post by marc_256 »

Hi Trond and Tenaja,

what i'm looking for is a OS with very low overhead.
seems that ReactOS is win compatible ...
maybe PB is running on it ?

I need bios access, PCI cards hardware access ...

marc
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: other OS ...

Post by Trond »

Are you sure it is your I/O that is taking time, and not the computations themselves? Obviously MenuetOS and KolibriOS will have low I/O overhead, but maybe that's not where the bottleneck is.
Post Reply