BBC BASIC
« Comparison between BB4W and BBCSDL »

Welcome Guest. Please Login or Register.
Jan 20th, 2018, 4:17pm


Cross-platform BBC BASIC (Win32, Linux x86, Android, Mac OS-X, Raspberry Pi)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Comparison between BB4W and BBCSDL  (Read 351 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 689
xx Comparison between BB4W and BBCSDL
« Thread started on: Jun 1st, 2017, 4:01pm »

In response to a query on another forum, I've published a comparison between BBC BASIC for Windows (BB4W) and BBC BASIC for SDL 2.0 (BBCSDL) here.

Richard.
User IP Logged

michael
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 141
xx Re: Comparison between BB4W and BBCSDL
« Reply #1 on: Jun 10th, 2017, 2:06pm »

How much memory does BBCSDL provide for a program? I didn't see that information in your comparison. Nor could I find it on the IDE.
« Last Edit: Jun 10th, 2017, 2:40pm by michael » User IP Logged

I like reinventing the wheel, but for now I will work on tools for D3D
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 689
xx Re: Comparison between BB4W and BBCSDL
« Reply #2 on: Jun 10th, 2017, 4:04pm »

on Jun 10th, 2017, 2:06pm, michael wrote:
How much memory does BBCSDL provide for a program? I didn't see that information in your comparison. Nor could I find it on the IDE.

As with BB4W 'it depends' (on factors such as how fragmented the memory space is). Why do you want to know? It would be highly undesirable to claim all the available memory, just because you can, because it could damage performance with no benefit.

I have never yet written a program with memory needs anywhere near approaching the limits of either BB4W (full version) or BBCSDL, so in practice what those limits are has been irrelevant to me.

For the record, the maximum possible amount of memory (heap+stack) that can be made available is currently (just under) 512 Mbytes for BB4W and 256 Mbytes for BBCSDL. But as I've said it is not guaranteed that these maximum amounts will actually be available in practice because of issues such as fragmentation.

The vast majority of programs, in my experience, need no more than a few tens of megabytes at the most, and that should reliably be available in both BB4W and BBCSDL.

Richard.
User IP Logged

michael
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 141
xx Re: Comparison between BB4W and BBCSDL
« Reply #3 on: Jun 10th, 2017, 11:10pm »

Well, that is more than sufficient. I have created a sprite type tool and am planning on using its ultra efficient design and speed to plot layered images.
Once it is cleaned up a bit, I will present it as a package.
User IP Logged

I like reinventing the wheel, but for now I will work on tools for D3D
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!


This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls