Results 1 to 6 of 6

Thread: Boosting calculation speed using compilers DLLs (such as FreeBasic)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Boosting calculation speed using compilers DLLs (such as FreeBasic)

    look at http://www.thinbasic.com/community/s...-GBuffer-tests , i have used big equations to display the simpsons figure, the calculation time is about 10 seconds so Peter have provided an animation to track the progress while you are waiting
    i was toying with freebasic dlls to see how much we can boost thinbasic speed, i have used this tutorial (Creating your own DLL for Rapid-Q using FreeBasic ) http://rapidq.phatcode.net/tutorial/..._tutorial.html ,the good think it is easier to use thinbasic to declare and use functions in other dlls
    the time of running this simpson code 1 second, compare to the previous 10 seconds. so we can use the Brain of thinbasic (with all its functions and Graphics capabilities) while when needed we seek help from the muscles of other compilers for math repetitive tasks like this one.

    notes if you want to compile the freebasic code yourself use this:
    fbc -dll dll_udt_VertexArrays.bas
    don't forget to add to the freebasic path in environment variable: (in windows xp):
    C:\FreeBASIC;C:\FreeBASIC\bin\win32

    the big size of dll_udt_VertexArrays.bas and its compiled form dll_udt_VertexArrays.dll (inside the attached rar file) is because it contains the X, Y data for the simpson shape which are too big
    Attached Files Attached Files

Similar Threads

  1. Replies: 4
    Last Post: 04-03-2014, 16:05
  2. Fun with Riemann, problems with Freebasic DLLs
    By RobbeK in forum TBGL General
    Replies: 14
    Last Post: 25-12-2013, 21:52
  3. Basic Compilers
    By John Spikowski in forum Shout Box Area
    Replies: 25
    Last Post: 17-09-2013, 19:45
  4. Monte Carlo calculation of volumes of n-balls
    By dcromley in forum Math: all about
    Replies: 2
    Last Post: 11-12-2011, 17:55
  5. calculation failure?
    By largo_winch in forum thinBasic General
    Replies: 1
    Last Post: 19-07-2011, 13:46

Members who have read this thread: 1

Posting Permissions

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