Go to advanced search

by ejolson
Sun Jul 21, 2019 11:01 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1306
Views: 42420

Re: ScriptBasic

ScriptBasic is never going to run under RISC OS. However, if you must try, I imagine there are options you can select when building it that remove the dependency on most of those libraries. That is to say the ones that are not required for the core language run time itself, sql, ssl, zlib etc. I ca...
by ejolson
Sun Jul 21, 2019 9:39 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 474
Views: 18350

Re: Introduction to BBC BASIC

Try viewing the BasAlt documentation with StrongHelp (it is a StrongHelp manual). Just an idea. Is there a StrongHelp reader for Windows? I certainly don't have one. All documentation should be available in a standard format that everybody can read, and you can't get more standard than HTML or PDF ...
by ejolson
Sun Jul 21, 2019 7:38 pm
Forum: General programming discussion
Topic: Project Digital Apocalypse Not Now
Replies: 742
Views: 28701

Re: Project Digital Apocalypse Not Now

while I'm touched that this has been taken up as a challenge, installing wbritish-insane is considered harmful. It's chock full of typos, so if you use it as your system spelling dictionary, expect troulbe Note that $ grep troulbe british-english-insane shows your troulbe came from someplace else. ...
by ejolson
Sun Jul 21, 2019 7:33 pm
Forum: General programming discussion
Topic: Project Digital Apocalypse Not Now
Replies: 742
Views: 28701

Re: Project Digital Apocalypse Not Now

… Since no example code was given in Basic, I've been wondering whether the onset of the digital apocalypse might be related to bananagrams and the inability of Basic to help with them. If only the BASIC interpreters I use (and want to keep using) had hash tables, this would be right easy. But they...
by ejolson
Sun Jul 21, 2019 6:57 pm
Forum: General programming discussion
Topic: Project Digital Apocalypse Not Now
Replies: 742
Views: 28701

Re: Project Digital Apocalypse Not Now

ScriptBasic has a hash extension module but I use associative arrays for the same purpose. Associative arrays make Script Basic a natural choice for the Insane British Anagram Challenge. This challenge is based on the problem originally proposed here . From my point of view, the anagram challenge i...
by ejolson
Sun Jul 21, 2019 3:11 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: 251
Views: 5568

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

Thirdly, we have just suffered large performance hits on account of mitigations for Spectre and Meltdown. We should be willing to sacrifice a few percent performance for correctness. I just noticed the lead programmer of FidoBasic has a fur coat which is looking a little grey. Fido barked get back ...
by ejolson
Sun Jul 21, 2019 7:05 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: 251
Views: 5568

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

Just for the funzies from another keg: 18 % USA people knows how to ride with manual box. The other statistic is that 7% know how with automatic. The question I have is how many can program the Raspberry Pi in C with pointers and whether there is any correlation between the type of automobile trans...
by ejolson
Sun Jul 21, 2019 2:19 am
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 474
Views: 18350

Re: Introduction to BBC BASIC

In which Basic should the conversion tool be written and could it convert itself? Don't you need two conversion tools, one for each direction?! In all seriousness an 'integrated' BasAlt would probably need to have significantly greater functionality than Steve's existing bolt-on extensions do to su...
by ejolson
Sun Jul 21, 2019 2:04 am
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1306
Views: 42420

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. Linus said almost the same thing about his Linux kernel when it first came out, except it was 32-bit x86. It turned out the GNU lic...
by ejolson
Sat Jul 20, 2019 8:49 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: 251
Views: 5568

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 ejolson
Sat Jul 20, 2019 8:04 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1306
Views: 42420

Re: ScriptBasic

Wow, what? I once designed a board with an 8086 and 8087 on it. Had a whole tube of 8087s. No idea what happened to them. There was also space for an 8089 IO coprocessor. That is so rare we never actually got hold of one when they were current! If any those 8087's show up, I would be very interested!
by ejolson
Sat Jul 20, 2019 7:42 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1306
Views: 42420

Re: ScriptBasic

John Spikowski wrote:
Sat Jul 20, 2019 7:33 pm
@Moderators,

Thanks for setting me up with my own identity here on the forum.
Welcome!
by ejolson
Sat Jul 20, 2019 6:55 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1306
Views: 42420

Re: ScriptBasic

ScriptBasic, I know little about what was going on across the pond during the PC revolution Much the same as your side of the Pond. Only better. Then the retarded monster that was the IBM PC came along and killed it all. Two unforgettable sounds: the real bell on a teletype and the 200 word-per-min...
by ejolson
Sat Jul 20, 2019 6:20 pm
Forum: General programming discussion
Topic: Project Digital Apocalypse Not Now
Replies: 742
Views: 28701

Re: Project Digital Apocalypse Not Now

It is interesting that some languages with support for big integer calculation have turned in quite reasonable results for their actual calculation time but fallen down so badly when it comes to actually printing the result. I suspect the software engineers designing those big number libraries were...
by ejolson
Sat Jul 20, 2019 4:29 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 474
Views: 18350

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 ejolson
Sat Jul 20, 2019 3:51 pm
Forum: General programming discussion
Topic: Project Digital Apocalypse Not Now
Replies: 742
Views: 28701

Re: Project Digital Apocalypse Not Now

I just took advantage of the nice tweak gkriedel spotted and was pleased to see that it improved the calculation time for the big fib from circa 6secs to circa 4.8. Printing time, obviously, wasn’t changed. Your 30 second experience was not when using Squeak on an intel machine unless it is a 486 e...
by ejolson
Sat Jul 20, 2019 2:58 pm
Forum: General discussion
Topic: Raspberry pi for coding on machine level?
Replies: 18
Views: 542

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 ejolson
Sat Jul 20, 2019 11:04 am
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 474
Views: 18350

Re: Introduction to BBC BASIC

Given the tiny amounts of memory the machines C was developed on, and the desire for strings of any length it makes sense to do what C did, don't store the length and put a null on the end. Which takes one byte regardless of the length. Also the strings value in an expression is the address of the ...
by ejolson
Sat Jul 20, 2019 12:18 am
Forum: General discussion
Topic: Performance Buster on Pi 2
Replies: 10
Views: 362

Re: Performance Buster on Pi 2

bullen wrote:
Fri Jul 19, 2019 11:17 pm
Ok, I think my router is starting to give way... or something else on the network but I don't know yet... will post back when I replace it.
Maybe it's network cable. Have you tried turning the switch or router off and on again?
by ejolson
Fri Jul 19, 2019 6:19 pm
Forum: General discussion
Topic: Complete description of vcgencmd anywhere?
Replies: 10
Views: 577

Re: Complete description of vcgencmd anywhere?

Here's some documentation that James created that has not yet made its way into the official documentation: https://github.com/raspberrypi/documentation/blob/0e2b6afed4dd6d7d0fa2560256c57cc2f2d08d3c/raspbian/applications/vcgencmd.md It's not complete, but it does document the options that are likel...
by ejolson
Fri Jul 19, 2019 5:31 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 474
Views: 18350

Re: Introduction to BBC BASIC

did Acorn's Basics default to single or double precision floating point? Did you miss this comment in which I enquired whether your test for precision in the classic BASIC Fibo might be confused because BBC BASIC uses neither 32-bit ('single') nor 64-bit ('double') precision but 40-bits? It's a nic...
by ejolson
Fri Jul 19, 2019 5:16 pm
Forum: General programming discussion
Topic: Raspberry Pi Benchmarks
Replies: 140
Views: 85358

Re: Raspberry Pi Benchmarks

High Performance Linpack (HPL) In 1993, it was found that a precompiled version of High Performance Linpack (HPL) could produce the wrong and inconsistent numeric calculations, also system crashes. For more information see this PDF file at ResearchGate: https://www.researchgate.net/publication/3319...
by ejolson
Fri Jul 19, 2019 4:35 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: 251
Views: 5568

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

People miss BASIC like we miss the majesty of steam engines and I miss sitting by the heat and glow of a coal hearth. But it's just not acceptable at scale. Basic was never meant to be majestic but rather as simple as possible while at the same time being all purpose. Note that in addition to being...
by ejolson
Fri Jul 19, 2019 3:58 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 474
Views: 18350

Re: Introduction to BBC BASIC

Pardon my ignorance, but did Acorn's Basics default to single or double precision floating point? I believe that all of them, with the exception of BASIC VI on RISC OS (softloaded on Archimedes and RiscPC machines) they're all single precision 40-bit. BASIC VI offered 64-bit floating point (instead...
by ejolson
Fri Jul 19, 2019 2:55 pm
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 474
Views: 18350

Re: Introduction to BBC BASIC

I've been having more thoughts about this. And, while it deviates from RISC OS (and BBC Micro) BBC BASIC, I've added a run-time switch to Matrix Brandy to enable this behaviour of allowing INT() to process a number that can't be stored in a standard 32-bit integer variable. Thanks. Naturally I thin...

Go to advanced search