Go to advanced search

by DavidS
Sat Jul 20, 2019 7:55 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83531

Re: ScriptBasic

John Spikowski wrote:
Sat Jul 20, 2019 7:44 pm
Heater wrote:
Sat Jul 20, 2019 7:36 pm
Hello John, welcome to the forum.
🐣

Hello World!
:) LOL :)
Should that be:
PRINT "Hello World!"

:)
by DavidS
Sat Jul 20, 2019 7:51 pm
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 15490

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

I find it amazing. We have "safe" or at least safer languages for a long, long time. Pascal is arguably a safer language by design and offers range checking and so on. Ada goes all out for safety features. And what happened? Developers did not like them. Developers said "Learn your language" C/C++ ...
by DavidS
Sat Jul 20, 2019 7:43 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83531

Re: ScriptBasic

David, If you get ScriptBasic running on RISC OS it will confirm Peter's decision to go ANSI C with his object magic was the right choice. I can already tell you it was the correct choice. A little more to go before it is running, though it will be. The biggest issue is path names in the source tre...
by DavidS
Sat Jul 20, 2019 7:38 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83531

Re: ScriptBasic

I forgot to say in my last post:
RISC OS is 32-bit, and the OS archetecture is so closely tied to the 32-Bit ARM ISA it is unlikely to ever be anything but 32-Bit ARM.
by DavidS
Sat Jul 20, 2019 7:33 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83531

Re: ScriptBasic

Thanks for the update! Is RISC OS 64 bit? Dose RISC OS follow a Linux path or try's to be more like old Winows? ScriptBasic run well on REACT OS which is Windows workalike. RISC OS is nothing like Linux or Windows, no where close. Windows and Linux are nearly twins when you are accustomed to RISC O...
by DavidS
Sat Jul 20, 2019 3:44 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83531

Re: ScriptBasic

ScriptBasic wrote:
Sat Jul 20, 2019 3:23 pm
DavidS wrote:
Sat Jul 20, 2019 12:43 pm
Well I have almost gotten ScriptBASIC itself to compile. So hopefully soon we will be playing with this on RISC OS.
🥳

What is not woking?
Just the normal issues porting things to RISC OS.
by DavidS
Sat Jul 20, 2019 3:43 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83531

Re: ScriptBasic

Should I assume you have no interest in getting the Brandy extension module running on Raspbian? First let me see about getting it running on RISC OS. Then I will know it well enough to hopefully look at seeing what I can do on Raspbian. I do not know Linux nearly as well as I know RISC OS, so if I...
by DavidS
Sat Jul 20, 2019 3:28 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 605
Views: 58967

Re: Introduction to BBC BASIC

I would still like to see the Basalt extensions become part of BASIC V and VI. If that were ever to happen it would make the rift between the Wilson and Russell strands of BBC BASIC unbreachable, because whatever the merits of Steve's extensions, and of mine, they are fundamentally incompatible (no...
by DavidS
Sat Jul 20, 2019 3:24 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83531

Re: ScriptBasic

ScriptBasic wrote:
Sat Jul 20, 2019 3:23 pm
DavidS wrote:
Sat Jul 20, 2019 12:43 pm
Well I have almost gotten ScriptBASIC itself to compile. So hopefully soon we will be playing with this on RISC OS.
🥳
Not sure what that means?
by DavidS
Sat Jul 20, 2019 1:49 pm
Forum: RISCOS
Topic: Your Pi Zero config
Replies: 6
Views: 4155

Re: Your Pi Zero config

Thx, so GPU size could be just 16? If you mean "gpu_mem=16" in /boot/config.txt, then yes - if you are using Raspbian Lite - that's fine. As DavidS says, for graphics, 64 or more is needed. Wrong OS. While it takes some paying attention (at what sub forum we are in), the OP is talking about RISC OS...
by DavidS
Sat Jul 20, 2019 1:46 pm
Forum: General discussion
Topic: Raspberry pi for coding on machine level?
Replies: 30
Views: 2103

Re: Raspberry pi for coding on machine level?

Would you recommend coding for the Raspberry Pi, on a machine code level? I realize that machine code is very device specific. And since the Pi has been created in the millions (probably sold more than any PC, phone, or even Mac), the highest chance to learn how to work with machine code, is to do ...
by DavidS
Sat Jul 20, 2019 1:37 pm
Forum: RISCOS
Topic: Your Pi Zero config
Replies: 6
Views: 4155

Re: Your Pi Zero config

Musketeer wrote:
Sat Jul 20, 2019 5:56 am
Thx, so GPU size could be just 16?
It should be 64, like it is by default in the config/txt that comes with the RISC OS Pi distrobution.
by DavidS
Sat Jul 20, 2019 1:33 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 605
Views: 58967

Re: Introduction to BBC BASIC

While there are definitely advantages of having native long strings without using indirection, as well as structured datatypes, and inderection of PROC/FN calls in interpreted, we can thank Steve Drain for Basalt which gives us these things and more. I had not mentioned Basalt before Steve Drain cam...
by DavidS
Sat Jul 20, 2019 12:43 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83531

Re: ScriptBasic

Well I have almost gotten ScriptBASIC itself to compile. So hopefully soon we will be playing with this on RISC OS.
by DavidS
Sat Jul 20, 2019 2:22 am
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 605
Views: 58967

Re: Introduction to BBC BASIC

ScriptBasic wrote:
Sat Jul 20, 2019 12:11 am
Are there any array size or indecie limitations with BBC BASIC / Brandy?

I wouldn't use a BASIC that had a 64KB string length limitation.
No limits for BBC BASIC V/VI. Only limitted by available memory. I guess technically you could not exceed 2GB arrays, though that is not much of a limit.
by DavidS
Sat Jul 20, 2019 2:18 am
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 15490

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

Then allow for extra optimizations to be applied only to portions of the code that it makes good since to so do with, as specified by the programmer. GCC can do that now. The programmer may specify that a function is either "hot" or "cold". The branch prediction stuff for cold is interesting. Not q...
by DavidS
Fri Jul 19, 2019 10:16 pm
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 15490

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

For saving electricity we could do a better balancing act than current compilers. Selective optimization, based on what is going to make the most difference. And have a means for the programmer to specify where extra optimizations should be used. For the rest of the code just do some simple optimiza...
by DavidS
Fri Jul 19, 2019 10:08 pm
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 15490

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

For majesty one should look to C++ and Java. After the digital apocalypse when all programs are written using deep-learning convolutional neural networks, the C++ and Java programming languages will replace the museum exhibits of ornate silver and porcelain tea sets which are presently used to demo...
by DavidS
Fri Jul 19, 2019 9:57 pm
Forum: RISCOS
Topic: Your Pi Zero config
Replies: 6
Views: 4155

Re: Your Pi Zero config

Is GPU size important for something? How do you watch YT videos? Convert them to MPEG 2 + It can do 720p max with no acceleration anywhere or it goes more? What is your recommended config.txt? Is there CZ QWERTY keyboard? Not Czech just (QWERTZ)? For the keyboard look in configure under keyboard . ...
by DavidS
Fri Jul 19, 2019 9:47 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83531

Re: ScriptBasic

@ScriptBasic:
Could I get that git url for the main ScriptBasic source?

Or am I going to have to load up a JS browser to extract the url?
by DavidS
Fri Jul 19, 2019 9:44 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 605
Views: 58967

Re: Introduction to BBC BASIC

I couldn't write programs without structures, private variables, indirect function calls, long strings and all the other language enhancements that my versions have. I think both Richard and David are aware of my Basalt (BASIC Alternative keywords) module with all those extensions and more for ARM ...
by DavidS
Fri Jul 19, 2019 4:12 am
Forum: General programming discussion
Topic: Comparing Interpreted Language Speed.
Replies: 57
Views: 7341

Re: Comparing Interpreted Language Speed.

What, no screen shot of this momentous occasion ? You can, frankly, away an' run up ma humph. Even if I did know how to take screenshots on RISC OS, I was just running in the full-screen console thing. There's no GUI to do anything to, and no other tasks around to grab a picture. You have to even c...
by DavidS
Fri Jul 19, 2019 3:48 am
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83531

Re: ScriptBasic

2. Must support POSIX standards That may take some extra work. UnixLib on RISC OS is not exactly complete (it is only designed to aid in porting software). Though I have decided it is worthwhile to get going on the RISC OS target. I have already got the SDL dev libraries installed, as well as the t...
by DavidS
Thu Jul 18, 2019 10:20 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 605
Views: 58967

Re: Introduction to BBC BASIC

Very nice Richard. I agree with much of what you say. I have been pushing for Structures in BBC BASIC V/VI for a long time. I have also been pushing for an OpenGL module for RISC OS that exports an SWI interface so we can use it from the likes of BBC BASIC. Indirection of procedures has long been in...
by DavidS
Thu Jul 18, 2019 10:10 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1398
Views: 83531

Re: ScriptBasic

Is there by any chance an archive of the current source? If not that is ok.

Also should I join the allbasic forums if I decide to take this up?

Go to advanced search