![]() | ![]() | ![]() |
| |||||||
| Chit-Chat Relax for a bit and have a general conversation (off topic is allowed!) with other members. Please be polite and respect your fellow members. |
![]() |
| | Tools |
| | #16 |
|
Boncuk, what does that have to do with a table lookup?
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
| | #17 | |
| Quote:
Are you perhaps referring to QuickBasic rather than QBasic?, as QuickBasic is a compiler. As for potential speed differences, I would suggest it depends entirely on how the two programmes were written - particularly if you were doing complicated maths with them. | ||
| |
| | #18 |
| Sceadwian, nothing, it was just a respond to Nigel's post. Nigel, it was QBasic I mentioned. What is the speed difference when executing an interpreter based program and a compiled program with two lousy numbers out of a limited selection? ![]() Hans
__________________ Proper Planning Prevents Piss Poor Performance Last edited by Boncuk; 26th May 2009 at 01:36 AM. | |
| |
| | #19 |
|
Boncuk you're not serious are you? Use a basic stamp interpreted from eeprom (pic based) and the SAME pic with the SAME effective program in flash. The PIC will beat the stamp 4 to one or better, probably much more.
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
| | #20 | |
| Quote:
I once built an air data computer (for air movement purposes) using a Z80 MCU. I burnt the entire Basic software including the interpreter into an EPROM and still had to make delay loops since the results on the display changed too rapidly (dealing with 1/10 Pascals of air pressure). Of course will machine language software run faster than any high language. I used Locomotive Basic (Amstrad) to calculate all possible combinations of parallel resistors for a desired (non standard) value. Even with a dozen of possibilies the results were on screen within a very short time, almost unnoticeable. Also the memory space in MICROCHIPs as well as in ATMELs is very limited and won't allow to use a basic interpreter, which I guess would be appreciated by many people.
__________________ Proper Planning Prevents Piss Poor Performance | ||
| |
| | #21 | ||
| Quote:
Quote:
There have also been two free amateur PIC interpreters based on the Stamp, neither ever reached fruition, but were workable - a bit like the forerunner of the early PICAXE, stored the program in internal data EEPROM. | |||
| |
| | #22 |
| Well, I was on earth, whereas the BASIC STAMP must be from somewhere else in the universe because of its extraorbital price. ![]() BTW, the air data computer I mentioned is 30 years old.
__________________ Proper Planning Prevents Piss Poor Performance | |
| |
| | #23 | |
|
Boncuk, has your mind slipped? Quote:
Your testimonials to the speed of basic are completely irrelevant to the fact that a compiled language is always faster than an interpreted one on the same hardware.
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | ||
| |
| | #24 | |
| Quote:
I suspect it's due to the AVR been such a recent chip, the STAMP long predates it - and free AVR compilers are available. | ||
| |
| | #25 |
|
I think Parllax really shot themselves in the food using a basic interpreter. The basic compilers available for PIC and AVR are way way better in every aspect and no more difficult to use. Since there are already compilers for the AVR there's really no reason to make an interpreter, very few people would outgrow the available code space of a larger AVR and anyone that did wouldn't be using basic. I'm going to guess basic stamps pre-date the free version of the basic compilers for pics that are out there which is the reason for it's existence.
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
| | #26 | ||
| Quote:
Quote:
| |||
| |
| | #27 |
|
I love the fact that I learned PIC programming at a company that was a) phasing out ALL forms of programming for PIC micros other than C, and b) phasing out anything less than an 18F series chip unless small size was required (like an 8 pin 12F or something).
| |
| |
| | #28 |
|
That's why I like AVR's speakerguy. When I found micro controllers even the 8pin bits were better than a fast PIC. The 18 series or so fixed most of the 'problems' with PIC's but I still like AVR best.
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
| | #29 |
|
Unfortunately I have never played with AVR. I think I need to learn Verilog and FPGA's next. Maybe then AVR.
| |
| |
| | #30 |
|
I hope that's a joke. You don't take a step forward like an FPGA and then go back to AVR's =)
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
|
| Tags |
| e24, values, wrong |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Resistor Values | MrDEB | Electronic Projects Design/Ideas/Reviews | 5 | 21st May 2008 03:49 AM |
| A/D Values | Omar.M | Micro Controllers | 0 | 16th April 2007 10:56 PM |
| Resistor values...... | madmikejt12 | General Electronics Chat | 12 | 11th October 2005 04:12 PM |
| need a circuti with values | samratyuvi | General Electronics Chat | 15 | 23rd September 2005 11:06 PM |
| How to compare values? | Lac | Micro Controllers | 7 | 26th January 2005 03:45 PM |