Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: Experimenting with an EZGUI Module for ThinBasic

  1. #11
    Sorry to hijack this Topic, but is there any other SDK on the same Level as the PowerBasic one?

  2. #12
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    Not now.

    I experimented with FreeBasic and was quite OK but problem is always related to String handling.
    thinBasic uses OLE32 BSTR strings. Other language uses other kind of strings. Making conversions in/out is very inefficient.

    I made also some experiment using FreePascal than has WideString that are identical to BSTR strings except for functions returning strings.
    Here are some explanation of the problem: http://stackoverflow.com/questions/9...ue-for-interop
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #13
    Member
    Join Date
    Nov 2012
    Location
    Missouri, USA
    Posts
    113
    Rep Power
    29
    Eros,

    If you praise Power Basic so much and you even use it to write thinBasic, why do you do thinBasic? I know it's freeware and Power Basic is shareware (I think almost $100 USD.)

    Eros, if I may, I have wanted to mention several times before. Petr is Czech, Rene is German, and you are Italian. You three must be highly educated. The English of you three is some of the best I have seen, and I am speaking of Americans and British. Speaking the language in one thing, but the thought process you three display in it is as though it is your native language, not a second (or for all I know, a third or more), plus, highly educated.

    Bill

  4. #14
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10


    Regarding Power Basic and thinBasic: the only fact that one is a compiler (Power Basic) and the other is an interpreter (thinBasic) put them into complete different categories.
    You cannot compare a compiled language able to execute billions of instructions in few milliseconds with an interpreted language that is at least hundred of times slower (sometimes thousands). Who needs speed must always go to compiled languages.
    thinBasic try to recover from this speed gain having many compiled native commands (thinBasic keywords/commands/modules) able to perform more operations with a single command. This reduce the number of instructions you need to write earning some of the time lost in interpretation of the source code.

    The only thing that is really in common is syntax: we love BASIC like syntax.
    Power Basic has a lot more capabilities that I still have to find a way to do in thinBasic: native COM component interface and a powerful OOP just to mention few.
    But thinBasic was not only inspired by Power Basic: I get some inspiration from PHP and other languages like AutoIt and even from languages I hate like C, C++ and C#

    Why thinBasic: well, difficult to say. All started without a precise project but as a tool for personal use ...
    Then, day by day, it become what it is now: a mix of passion, challenge, needs at work, joy to have and idea and being able to solve using programming.
    During this journey I had the lucky to meet great people, like the one you mentioned, and others with similar passions. What's best?
    We all do other things and work in real life but this project and this community were (at least for me) something important.

    Regarding personal education ... every people has its trip in life. Sometimes missing education can be recovered with great passion and dedication to a target you absolutely want to get.
    Many of us love to study new things as a personal attitude: there is always something new and interesting things to feed the brain. This is enough for many situations.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  5. #15
    Member
    Join Date
    Nov 2012
    Location
    Missouri, USA
    Posts
    113
    Rep Power
    29
    Eros,

    Thanks for the detailed explanation. Yes, speed and billions of instruction in a few milliseconds do count.

    there is always something new and interesting things to feed the brain.
    I consider it a wasted day if I do not learn something new.

    Thanks, again,

    Bill

  6. #16
    i don't use powerbasic, but i am watching its forum.
    the return of the company members and forum members also the reviving of its forum and the notes from here and there, makes me optimistic that they work on a x64 version of the product, since it is the x64 is the very near future . and i wish to powerbasic a good future like the old time.
    Last edited by primo; 17-03-2016 at 17:13.

  7. #17
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732
    Regarding education - I think it was the communication with Eros which motivated me to find better ways to express in English. And as for the programming, again, I learned more by working (although remotely) with Eros than on the University lessons (although there were some nice ones)

    I think the Star Wars model of sith lord and its apprentice has some true to it. Mass education is important, but personal approach is always the king!


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  8. #18
    Member
    Join Date
    Nov 2012
    Location
    Missouri, USA
    Posts
    113
    Rep Power
    29
    I preciate the replies. I think that when I get some thing paid off, I purchase Power Basic. To tell you the truth, I have not heard anything bad about it.

    Bill

  9. #19
    Quote Originally Posted by ErosOlmi View Post
    Not now.

    I experimented with FreeBasic and was quite OK but problem is always related to String handling.
    thinBasic uses OLE32 BSTR strings. Other language uses other kind of strings. Making conversions in/out is very inefficient.

    I made also some experiment using FreePascal than has WideString that are identical to BSTR strings except for functions returning strings.
    Here are some explanation of the problem: http://stackoverflow.com/questions/9...ue-for-interop

    Which PowerBasic version is need at the minimum these days? Is 9 enough?

  10. #20
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    PB 10 as a huge number of new features compared to 9 but for what is concerning to develop thinBasic modules, PB 9 is OK.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Would there be an interest in a free EZGUI runtime for ThinBasic ?
    By Chris Boss in forum Suggestions/Ideas discussions
    Replies: 1
    Last Post: 16-01-2015, 01:32
  2. EZGUI - getting nosy...
    By ReneMiner in forum Software discussion
    Replies: 37
    Last Post: 12-09-2013, 16:58
  3. 2D module in/for thinBasic
    By misthema in forum Experimental modules or library interface
    Replies: 6
    Last Post: 23-10-2008, 17:29
  4. thinBasic as a CGI Module?
    By tekrat in forum Shout Box Area
    Replies: 5
    Last Post: 08-01-2008, 02:06
  5. TBGL module and ThinBASIC 1.0.6.4
    By Petr Schreiber in forum TBGL General
    Replies: 0
    Last Post: 06-11-2005, 22:08

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •