log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- R-Comp reveals N.Ex.T Boxes - the successor to the i.MX6 (News:)
- RISCOSbits at Wakefield Show 2024 (News:)
- R-Comp releases Genealogy v2 (News:)
- Will we see 5.30 released at Wakefield show? (News:1)
- Sine Nomine updates RiscOSM and Impact (News:)
- Netfetch version 5.55 released (News:)
- Prizes for Wakefield Show announced (News:)
- Heretic update from R-Comp (News:)
- Wakefield Show 2024 is next Saturday (News:)
- Git client updated to 0.07 (News:2)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
The Icon Bar: 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 ]
 

The Icon Bar: Programming: Acorn C/C++ libs vs OSLib