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
- Elsear brings super-fast Networking to Risc PC/A7000/A7000+ (News:)
- Latest hardware upgrade from RISCOSbits (News:)
- Announcing the TIB 2024 Advent Calendar (News:1)
- Code GCC produces that makes you cry #12684 (Prog:39)
- RISCOSbits releases a new laptop solution (News:)
- Rougol November 2024 meeting on monday (News:)
- Drag'n'Drop 14i1 edition reviewed (News:)
- WROCC November 2024 talk o...ay - Andrew Rawnsley (ROD) (News:2)
- October 2024 News Summary (News:3)
- RISC OS London Show Report 2024 (News:1)
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
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