Go to advanced search

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: 212
Views: 4960

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: 456
Views: 17961

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: 1271
Views: 41762

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: 212
Views: 4960

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: 1271
Views: 41762

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: 1271
Views: 41762

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: 1271
Views: 41762

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: 735
Views: 28420

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: 456
Views: 17961

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: 735
Views: 28420

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: 477

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: 456
Views: 17961

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: 341

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: 567

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: 456
Views: 17961

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: 85273

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: 212
Views: 4960

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: 456
Views: 17961

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: 456
Views: 17961

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...
by ejolson
Fri Jul 19, 2019 2:44 pm
Forum: General programming discussion
Topic: Comparing Interpreted Language Speed.
Replies: 53
Views: 1370

Re: Comparing Interpreted Language Speed.

Interesting results. Have you tried any of the well known graphics benchmarks (well known on BBC BASIC for RISC OS). I am curious of the results. No, I don't know of those benchmarks, and I'm not sure if I can run them unchanged in Matrix Brandy. … there are some differences in a good setup versus ...
by ejolson
Fri Jul 19, 2019 2:51 am
Forum: Windows 10 for IoT
Topic: Clock cpu always 600mhz
Replies: 3
Views: 463

Re: Clock cpu always 600mhz

Welcome to the Raspberry Pi forums. Dear Concern I have install windows 10 IOT on Raspberry pi 3 B+. I am getting Cpu clock speed 600Mhz. Please anybody help me. Since you are running a Microsoft Operating System on your RPi you might get more knowledgeable advice from a forum specialising in that ...
by ejolson
Thu Jul 18, 2019 10:36 pm
Forum: General discussion
Topic: Performance Buster on Pi 2
Replies: 10
Views: 341

Re: Performance Buster on Pi 2

bullen wrote:
Thu Jul 18, 2019 10:20 pm
Has anyone noticed how laggy it feels in the ssh session. Many commands block for several seconds.
Procede with caution: It may be possible that your SD card is about to die.

I'll be trying the buster image in a few days on a Pi 2B and will report back of anything seems out of the ordinary.
by ejolson
Thu Jul 18, 2019 10:15 pm
Forum: Beginners
Topic: i have a tight buget. is the pi 3 worth buying or should i just buy the 4
Replies: 29
Views: 790

Re: i have a tight buget. is the pi 3 worth buying or should i just buy the 4

:D :) ;) Welcome to the forum! The official price of the Pi 4B with 1GB RAM is the same as the 3B+. Unless you are getting a 50 percent discount for a closeout or used 3B+, there is little reason to prefer it from a cost point of view. For many, even the additional $20 for the models with larger me...
by ejolson
Thu Jul 18, 2019 9:18 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1271
Views: 41762

Re: ScriptBasic

Let me know when you get ScriptBasic going on your RPi. I will push the Brandy extension module source to the sandbox. David, Before we kick this off I want to be up front and say this is your baby going forward. I will setup a project in the sandbox and make you the maintainer. If you're good with...
by ejolson
Thu Jul 18, 2019 6:38 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: 212
Views: 4960

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

Yes, I will... I have watched online videos of lectures of under graduate courses in introductory CS from MIT and Berkeley. The oldest, and best, by Prof. Brian Harvey from Berkeley over 10 years ago. These course covered introductory CS material including learning a programming language and moving...

Go to advanced search