Acorn Arcade forums: Programming: Acorn C/C++ libs vs OSLib
|
Acorn C/C++ libs vs OSLib |
|
(20:05 28/12/2001) johnstlr (16:19 29/12/2001)
|
|
AndrewEllis |
Message #4901, posted at 20:05, 28/12/2001 |
Unregistered user
|
I'm using Acorn C/C++, and the libraries that Acorn supplied with it. They seem to be fine, but if I need graphics functions, or I need to access hardware I need to use the kernel.h and swis.h libraries. I'm aware that OSLib provides C functions for most (if not all RISC OS swis). Would I be better off migrating to OSLib or should I stick with my current methods. I've been told that larger and slower programs can be compiled as a result of using OSLib, I haven't varified this. I would appreciate your views on this matter. Andrew |
|
[ Log in to reply ] |
|
johnstlr |
Message #4902, posted at 16:19, 29/12/2001, in reply to message #4901 |
Unregistered user
|
I was under the impression that programs which used OSLib could be faster because each SWI call is made through a specific veneer as opposed to a generic function. I guess programs may be bigger because you have to link all those specific veneers to your code. Whether it makes much difference I don't know because I don't use it. I do know that a lot of people think it's great and it does provide type-checked SWI calls. |
|
[ Log in to reply ] |
|
|
Acorn Arcade forums: Programming: Acorn C/C++ libs vs OSLib |