Author Topic: Why FreeBASIC rocks your socks.  (Read 20378 times)

0 Members and 4 Guests are viewing this topic.

Offline miotatsu

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 332
  • Rating: +11/-1
    • View Profile
Re: Why FreeBASIC rocks your socks.
« Reply #15 on: September 02, 2010, 07:10:30 pm »
right now it is at 0% because it was lost when my hard drive was wiped and I havent worked on it since. My plan has been to start it back up again after I finish piworld, but if I get a strong enough urge to work on it before then I might

you can see what it was like before the wipe happened though: http://i534.photobucket.com/albums/ee348/Miotatsu/Untitled-50.png

also sorry for the offtopicness, FreeBASIC looks cool
« Last Edit: September 02, 2010, 07:16:25 pm by miotatsu »

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Why FreeBASIC rocks your socks.
« Reply #16 on: September 02, 2010, 07:21:47 pm »
Ah ok, well that sucks about the hard drive wipe :( But good luck with Piworld in the meantime :)

It looked cool though.

@Deep Thought
Thanks :)
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Why FreeBASIC rocks your socks.
« Reply #17 on: September 02, 2010, 08:52:25 pm »
Well I think one of the big reasons TI-BASIC is so slow is because it parses as it runs. So if there was a good way to parse it first then execute or something it would not be as big of an issue.
It would still be almost as slow, because of all the floating-point arithmetic. It would also be significantly bigger.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Why FreeBASIC rocks your socks.
« Reply #18 on: September 02, 2010, 09:55:44 pm »
@meishe
Hmm....isn't that pretty much what axe does? (well kinda) :P

I know, it converts it to asm, not preparsing per se, but it's a similar idea.

BTW, the concept of parsing before running a program is called compiling :P

Floating point arithmetic.....is there any way around it in TI-Basic?

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Why FreeBASIC rocks your socks.
« Reply #19 on: September 02, 2010, 10:05:23 pm »
Well I think one of the big reasons TI-BASIC is so slow is because it parses as it runs. So if there was a good way to parse it first then execute or something it would not be as big of an issue.
It would still be almost as slow, because of all the floating-point arithmetic. It would also be significantly bigger.

Ah ok, gotcha. I just read that somewhere or something like that. Probably just misinterpreted or something. What does the floating point do though? Like why does that slow it down?

@meishe
Hmm....isn't that pretty much what axe does? (well kinda) :P

I know, it converts it to asm, not preparsing per se, but it's a similar idea.

BTW, the concept of parsing before running a program is called compiling :P

Floating point arithmetic.....is there any way around it in TI-Basic?

What exactly are you referencing? As for as I know Axe is a language in itself and then you run it through AxeParser which then compiles it into assembly which is just a step up from computer language (binary, correct?) so it parses it very little when it's executed. But with TI-BASIC it runs directly as it is and as it runs the calculator compiles it as it goes, at least that is what I've gotten from reading some things.

Ya, I know. Just couldn't think of the word :P
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Why FreeBASIC rocks your socks.
« Reply #20 on: September 02, 2010, 10:11:15 pm »
well, kind of. Interpreting means basically what you said.

if you've ever heard of RPG maker 2000 or Game Maker, they are both Interpreted languages, which, like you say, means basically compiling as you go, and forgetting the compiled stuff after it's run.

And yes, but I was just saying axe was a fairly viable super-fast replacement for Ti-basic, and to the first-time user it appears to be doing something similar.

I think the 86 pre-parsed its code, because it  would take a while to run after being edited, and take a while to be edited after run. Still only about 84+ speed though (which is amazing considering how much worse of a cpu it has, and the actual parsing it has to do. TI-84 basic only has to read the tokens, while 86 basic has to read real text.)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Why FreeBASIC rocks your socks.
« Reply #21 on: September 03, 2010, 12:58:31 am »
Keep in mind this project is not for calcs, though, it's for the computer. I'll move the topic in the BasiC++ sub-fora to avoid confusion. It's a PC language that is pretty much the same as TI-BASIC. It does games similar to on a calc, but later I think he was planning to add some more stuff so people can do old-skool PC games with the ease of TI-BASIC (and maybe Axe?)

I am glad this is not dead, btw :)
« Last Edit: September 03, 2010, 12:59:41 am by DJ Omnimaga »

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Why FreeBASIC rocks your socks.
« Reply #22 on: September 03, 2010, 01:10:28 am »
Wait, why are you moving this to BasiC++? Miotatsu was just talking about it for a second, FreeBASIC is something completely different. So I think this should really be in Non-Calc-Related Computer Projects And Ideas or something similar.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Why FreeBASIC rocks your socks.
« Reply #23 on: September 03, 2010, 01:16:47 am »
Oh wow, sorry, my bad. When I opened this topic, for some reasons, it went straight to page 2, even thought I did not read the topic at all before. I saw Miotatsu's first post and thought it was a new topic by him about his old BasiC++ project, renamed to FreeBASIC.

I'll need to check harder next time, I didn't know about that forum glitch until now x.x

My apologies again. Gonna move this back to calc section.

Awesome btw, Coolsnake. :)
« Last Edit: September 03, 2010, 01:17:10 am by DJ Omnimaga »

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Why FreeBASIC rocks your socks.
« Reply #24 on: September 03, 2010, 01:19:22 am »
Ah ok, that's what I kinda thought you had done :P What forum glitch?
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Why FreeBASIC rocks your socks.
« Reply #25 on: September 03, 2010, 01:22:08 am »
Normally, on the new posts page, when you click a topic name, it takes you to the first post made since the last time you read the topic. However, this time, it took me on page 2 instead of 1, even if I never saw page 1 before. I think that happened before, too, but I'm unsure anymore.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Why FreeBASIC rocks your socks.
« Reply #26 on: September 03, 2010, 01:25:12 am »
Ah ok. Gotcha.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline coolsnake

  • LV2 Member (Next: 40)
  • **
  • Posts: 36
  • Rating: +2/-0
    • View Profile
Re: Why FreeBASIC rocks your socks.
« Reply #27 on: September 03, 2010, 10:53:17 am »
I'm glad you all like FreeBASIC.  :)
The syntax is kinda the same. Just different words for the same thing  :P
The thing I like so much about it is that it handles the command prompt screen almost exactly the same way TI-basic handles the calculator screen.
E.g Output(5,1,"blablabla") becomes

Code: [Select]
LOCATE 5,1 'places the cursor at that spot
print "blablabla"
Unpretty Integrals
This program gives you a graphical representation of the "fnint(" function, which allows you to calculate definite integrals. It is extremely similar to the functionality MathPrint provides, minus the extreme bloat that slows your calculator down to a crawl.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Why FreeBASIC rocks your socks.
« Reply #28 on: September 03, 2010, 06:04:41 pm »
Hmm, some of it reminds me Casio calculators...

If it's similar to TI-BASIC and Casio BASIC, maybe I could learn it easily :)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Why FreeBASIC rocks your socks.
« Reply #29 on: September 03, 2010, 06:05:27 pm »
Hey, it's standalone! Good, I can have it on my thumb drive :)