Go to advanced search

by Heater
Fri Apr 19, 2019 3:57 pm
Forum: Other programming languages
Topic: Liberty BASIC v5.0 alpha testing milestone!
Replies: 6
Views: 74

Re: Liberty BASIC v5.0 alpha testing milestone!

I thought I was asking a reasonable question. Ah well.
by Heater
Fri Apr 19, 2019 3:45 pm
Forum: Other programming languages
Topic: Liberty BASIC v5.0 alpha testing milestone!
Replies: 6
Views: 74

Re: Liberty BASIC v5.0 alpha testing milestone!

Did my post here just get deleted?
by Heater
Fri Apr 19, 2019 2:17 pm
Forum: Off topic discussion
Topic: Microsoft buys Express Logic
Replies: 2
Views: 57

Re: Microsoft buys Express Logic

All part of the plan to gain ownership of the IoT market and have all the worlds devices dependent on MS Azure cloud services. Perhaps soon you won't be able to buy an IoT thing without it using this OS and being tied to Azure. Rather like buying a PC and getting tied to Windows. Getting youngsters ...
by Heater
Fri Apr 19, 2019 9:41 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

jahboater, Its 8 cores and "up to" 5GHz with 16MB L2 cache. Exactly. 8 cores is far short of the 32 it would need to be on the Moore's Law curve. "Up to" 5GHz is far short of the predicted 30GHz. R.I.P. Moore's Law. Intel gave up increasing clock speeds long ago, They had to. The limits of Denard sc...
by Heater
Fri Apr 19, 2019 8:03 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

jahboater, Try a coffee-lake chip to see moores law still working ... https://www.intel.com/content/www/us/en ... 9900k.html On the contrary, it looks like that coffee-lake demonstrates that Moore's Law, as people normally think of it, is dead. Moore's Law is said to predict a doubling of transistor...
by Heater
Fri Apr 19, 2019 6:59 am
Forum: General programming discussion
Topic: Which is the best way to start working on a c project?
Replies: 2
Views: 66

Re: Which is the best way to start working on a c project?

I'm no great contributor to open source projects but... If you have some bug fixes or documentation etc then start by forking the github repository. Develop and test your changes then make a pull request to the upstream repository. Be sure to make changes to only one thing at a time. Nobody wants to...
by Heater
Fri Apr 19, 2019 6:48 am
Forum: General discussion
Topic: OS read-only and data read-write SD partitioning
Replies: 9
Views: 140

Re: OS read-only and data read-write SD partitioning

miky94, ...as far as I know a read-only partition shouldn't be damaged right? about the read-write partition I don't know so I ask you,... Personally I would not trust that the other partition is safe if it is on the same SD card. Thing is that the SD card knows nothing about your Linux file system ...
by Heater
Fri Apr 19, 2019 6:27 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

Yeah, I know what is a Ryzen it's just that there seems to be a huge variety of them. If I picked one up locally it would be more like 300 dollars. Of course then I'd need a mother board etc. This is amazing. This i7 is almost 10 years old. Today's Ryzen is only about 7% faster in single core perfor...
by Heater
Fri Apr 19, 2019 2:07 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

What is a Ryzen 7?

Is that one of those new fangled AMDs at 300 dollars a pop?

On my ancient i7 2600K salvaged from office throw outs it takes 36 seconds:

Code: Select all

$ time ./fibo.bc | tail -c32
4856539211500699706378405156269

real    0m36.363s
user    0m36.156s
sys     0m0.203s
by Heater
Thu Apr 18, 2019 3:31 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

Tim, Not having much luck running your bigFib.sc on Windows 10 here: In order to ease the pain you obviously suffer from with those nasty windows, try this simple commandline incantation, which requires that you actually have a) a squeak VM that will be found in your path or whatever mechanism is us...
by Heater
Thu Apr 18, 2019 3:05 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

Hippy, I think.... You are right, this thread has gotten far too long and diverged from the original question. Which was answered in the first few pages. I should have broken out a new thread for the fibo(4784969) challenge ages ago. It's a bit late for that now. My bad. Of course you could say that...
by Heater
Thu Apr 18, 2019 11:42 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

hippy, Yeah, it's all a bit of a mess here. I won't be promoting any parser, game or any other challenge soon. Don't have the will or the time for it. As for the intent here... The original opening question was "Why avoid BASIC...". If one is going to advise avoiding BASIC it's probably good idea to...
by Heater
Thu Apr 18, 2019 3:56 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

Tim, Oh, yuck. We really have to get this removed from Debian or make them actually include it properly. They completely and utterly failed to .. .oh, never mind. It's rubbish. Don't use that route. Download from squeak.org. OK, noted. So I downloaded from squeak.org. It's a bit worrying that their ...
by Heater
Thu Apr 18, 2019 3:43 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

Well spotted, recompiled, re-timed and corrected above to 4.248 and 1.587 seconds respectively.
by Heater
Thu Apr 18, 2019 12:21 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

Do I have to update the README's in the github repo? I get much better timing fibo(4784969) in C and C++ on a Pi 3. Between 1.1 and 3.6 seconds. Note that we all do karatsuba using arrays of decimal numbers to save the bother of writing code to convert binary big integers to decimal for display. Thi...
by Heater
Wed Apr 17, 2019 6:41 pm
Forum: General discussion
Topic: My "simple" project keeps getting more complex. Help!
Replies: 5
Views: 192

Re: My "simple" project keeps getting more complex. Help!

You don't need a negative supply. As this is just a transformer neither of the two output leads needs to be connected to ground. What you can do is create a voltage level that is slightly positive, say 1.5 to 2 volts. This can be done with just two resistors in series or make something more stable i...
by Heater
Wed Apr 17, 2019 6:27 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

ejolson, After 40 pages we have returned to a simpler version of this original counter challenge: Wow, so we did. Didn't think about it much at the time as I though a whole compiler would be a bit too much. If actually carried out, such a challenge would result in an ARMful of new Basic languages. A...
by Heater
Wed Apr 17, 2019 6:24 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

EdDavis, Sorry, missed your post. That's a neat parser. I gave up the expression parser idea as being too messy to do in BASIC. Mind you back in 1975 BASIC was BASIC. It had line numbers FOR..NEXT, GOSUB and GOTOs, none of this structured functions, DO..WHILE, SELECT and so on of modern languages th...
by Heater
Wed Apr 17, 2019 5:15 pm
Forum: Other programming languages
Topic: FreeBasic serial port access
Replies: 12
Views: 3007

Re: FreeBasic serial port access

Actually I agree with you. Many here complain when people reply to old threads but I argue that it's OK if the new information is relevant and still useful.

I was just making a jest from your user name and the timeliness of the reply :)
by Heater
Wed Apr 17, 2019 12:05 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

Even more cool. We might have to tighten up the spec a bit for a challenge. Single character variable names. Number types/sizes. Operator precedence. Some built in functions, sin(), cos(), sqrt() etc. Nothing that will make it overly long code wise. Hmmm... perhaps it should use big integers.... :) ...
by Heater
Wed Apr 17, 2019 9:08 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

jahboater,

O oh, here we go...

That is cool but yeah, having code generators write the code for you is would be cheating.
by Heater
Wed Apr 17, 2019 7:44 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

jahboater, ...something is surely wrong when "the best feature of any Windows OS ever" is the ability to run another OS. Ha! Yes. The Linux Subsystem for Windows is badly named. It does not actually have a Linux kernel in it. It's a loader and kernel adapter for Linux application binaries. This all ...
by Heater
Wed Apr 17, 2019 7:26 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

ejolson, One of the themes of this thread, aside from not adding the Visual Basic and BBC Basic Fibonacci codes to the GitHub repository, has been to compare how expressive each language might be for efficiently conveying complicated algorithms to a digital computer. Yes. But not even a very complic...
by Heater
Wed Apr 17, 2019 7:00 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1771
Views: 69562

Re: Why Avoid BASIC on RPi?

timrowledge, Okay, this makes it trivial. I'm glad to here that because just now nothing works, seems it's not trivial enough to explain in a forum post. Here is what I have tried: 1) So I installed squeak to Debian. The LSW on my Win 10 PC that should make no odds. $ apt-cache search squeak squeak-...
by Heater
Tue Apr 16, 2019 9:40 pm
Forum: Other programming languages
Topic: FreeBasic serial port access
Replies: 12
Views: 3007

Re: FreeBasic serial port access

speedfixer, you are only 6 years late with that fix !

Go to advanced search