Welcome, Guest. Please login or register.

Author Topic: First serious question....  (Read 4687 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
First serious question....
« on: September 14, 2003, 08:35:28 PM »
Hi dudes :-)

In my long term goal to take over the world and create an cross platform OOP framework in C++, where would I find the developer info for AROS?

Im interested primarily in its low level API's for sound, graphics and IO.

I understand much of this is source compatible with amigaOS 3.1 but what 'AROS only' performance enhancements might my code be able to take advantage of? My aim is to ensure that each platforms class implementations are as efficient as possible.

Please bear in mind that I don't know a great deal about AROS at the moment but intend to investigate it thoroughly later...
int p; // A
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: First serious question....
« Reply #1 on: September 15, 2003, 11:11:55 AM »
I'm sure vxwindows is just fine. As for the why, well this project is a pet of myself and some like minded friends who only ever wanted to write games :-)

Actually, what were is aiming for is to create a low overhead C++ interface to common OS features. It isn't aimed at providing high level interfaces (ie encapsulating the OS GU), rather it is designed for performance. In other words, gaming and multimedia :-) Similar in intent to SDL but aimed soley at C++.

There are several libraries, in different stages of completion:

systemlib (memory, threading, locking, timers etc.)

gfxlib (pixels, surfaces, displays, blits, 3D rasterizer, drawing classes etc.)

iolib (file io, input devices, event filtering etc.)

guilib (abstract gui control framework, experimental)

soundlib (not started yet)
netlib (not started yet)

The code is split into 2 parts - system independent code and system dependent code. Only truly OS independent code is allowed in the former section for cleanliness. One of the design aims is that no system defined behaviour or data is present in the user APIs. Code using only the provided classes (and derived from them)  should ideally compile 'out of the box'.

The latter section of the code has an OS tree and the implementation level classes are free to utilize as much of a given OS's functionality as they can to provide performance as long as the overall expected behaviour is maintained.

Naturally, the amigaos tree is the most developed, but there is a guy working on the winblows2k part of the OS tree and another who hopefully will start the macosx part in the not too distant :-)

This brings me to my current problem. Currently all the work has been done in storm but it is being moved to gcc 2.95.3 as a minimum compiler spec largely because storm lacks some features (reliable templates, namespaces, thread safe exceptions etc) that caused me to make some awkward design descisions a while back.

By moving to gcc I aim to clean up some of the encapsulation (using namespaces) and also to make the code more accessible on other platforms.

Once the whole project is at an acceptable state of completion no doubt it will go open source ;-)
int p; // A
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: First serious question....
« Reply #2 on: September 15, 2003, 10:48:06 PM »
Thanks.

I should sign up on your dev list at some point I guess :-)
int p; // A
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: First serious question....
« Reply #3 on: October 10, 2003, 12:53:04 AM »
Quote

Kronos wrote:
@Karlos

AROS-gcc (actually Linux-gcc started with a small script) does not
support C++  :-x  Has something to do with missing link-libs and I ran
into that the hard way ~1 year ago (yeah finally I had everything compiled
only to let the linker show me it's finger  :-o ).


Bummer :-( Still, the rate ,y project is running at the moment, aros gcc c++ support may be fixed by the time it's ready to port :-(
int p; // A