Page 2 of 4 FirstFirst 1234 LastLast
Results 41 to 80 of 149

Thread: twinBASIC programming - Beta releases

  1. #41

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 340 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder

    How to install https://nolongerset.com/how-to-install-twinbasic/

    Changelog

    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • added: intial Data.Validate event support
    • fixed: various Data control issues




  2. #42

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 341 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder

    How to install https://nolongerset.com/how-to-install-twinbasic/

    Changelog

    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: DataField runtime property-let now working
    • fixed: DataSource runtime property-set now working
    • fixed: lots of minor issues involving Data control




  3. #43

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 342 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases



    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder


    How to install https://nolongerset.com/how-to-install-twinbasic/


    Changelog

    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • improved: some performance improvements for compiler parsing/resolving, most notable in larger projects such as tbShellLib




  4. #44

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 343 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases



    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder


    How to install https://nolongerset.com/how-to-install-twinbasic/


    Changelog

    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • improved: further compilation time performance improvements, particularly for compiling large projects




  5. #45

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 344 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder


    How to install https://nolongerset.com/how-to-install-twinbasic/


    Changelog

    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: UserControl GotFocus internal event handling could throw an unhandled error [ Tecman, discord ]
    • added: redirection of MSVBVM60::__vbaObjAddref to internal implementation, for X64 support [ MSVBVM60 DLL redirections Issue #360 twinbasic/twinbasic (github.com) ]




  6. #46

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 345 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder

    How to install https://nolongerset.com/how-to-install-twinbasic/


    Changelog

    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: ListView column Width property not taking into account of container ScaleMode [ AntsAntix, discord ]




  7. #47

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 346 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder


    How to install https://nolongerset.com/how-to-install-twinbasic/


    Changelog

    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: unterminated With-block could cause a compiler restart [ fafalone, discord ]
    • improved: PROBLEMS panel context menu now offers a 'Collapse all' option
    • improved: PROBLEMS panel context menu now offers a 'Expand all' option
    • improved: PROBLEMS panel now has selected total counts in the panel title, for filtering the results [ https://github.com/twinbasic/twinbasic/issues/1594]


  8. #48

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 347 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder


    How to install https://nolongerset.com/how-to-install-twinbasic/


    Changelog

    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: DEBUG CONSOLE output would sometimes overlap the timestamp on the next line
    • improved: significantly more performant Collection class implementation
    • added: Collection.Exists() method
    • added: Collection.RemoveAll() method
    • added: Collection.KeyCompareMode property (vbTextCompare(default), vbBinaryCompare)
    • added: Collection.KeyCountHint property (0(default) for auto)




  9. #49

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 348 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases



    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder


    How to install https://nolongerset.com/how-to-install-twinbasic/


    Changelog

    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: Form.WindowState property behaviour not matching VB6 [ consultancy ]
    • fixed: Form.Activate event not always firing in the first instance when the form is first opened [ consultancy ]
    • improved: Clipboard.GetData()/SetData() now report an Unimplemented warning, rather than a compile error [ consultancy ]
    • added: support for Form.QueryUnload event [ consultancy ]
    • fixed: edge case of For-loop with floating point control variable and a Step value that requires FP conversion, caused FPU runtime errors [ consultancy ]
    • changed: debugger main thread stack reservation size increased to 4MB to aid in running procedures that have high stack requirements, due to non-efficient codegen that will be fixed in a later update [ consultancy ]
    • added: project setting 'Project: Build Stack Reserve Size' to change the built executable stack reserve size in the PE header
    • fixed: accessing a control via bang operator on the form instance (e.g. Form1!controlName) is now working [ consultancy ]
    • fixed: Label.AutoSize property now defaults to False, to match VB6 [ consultancy ]
    • added: support for Label.AutoSize property (runtime only) [ consultancy ]
    • added: support for Label.WordWrap property (runtime only) [ consultancy ]
    • fixed: some edge cases around control Resize events [ consultancy ]
    • improved: (IDE) increased contrast of select text back color in the Light theme [ Krool, discord ]
    • changed: Collection.RemoveAll method renamed to Clear [ Krool, discord ]
    • added: Collection.Keys property for exposing the internal keys as a String-array [ FullValueRider, discord ]
    • added: Collection.Items property for exposing the internal items as a Variant-array [ FullValueRider, discord ]




  10. #50
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,142

    Re: twinBASIC programming - Beta releases

    Who's this consultant you are consulting Wayne?
    PS. At this point in the conversation, Niya would normally appear.

    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

  11. #51

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 349 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases



    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder


    How to install https://nolongerset.com/how-to-install-twinbasic/


    Changelog

    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: App.ThreadID defined incorrectly as a LongPtr in the interface from package 'VB' [ Krool, discord ]
    • fixed: (regression since BETA 343) errors in interface member definitions would not be properly reported in the IDE [ https://github.com//issues/1604 ]
    • fixed: ReDim <Something> statement now validates that Somthing is an array, or a Variant [ https://github.com//issues/1606#issuecomment-1623764886 ]
    • added: warning TB0016 for implicit array variable creation caused by ReDim [ https://github.com//issues/1601 ]


  12. #52

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 350 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder

    How to install https://nolongerset.com/how-to-install-twinbasic/


    Changelog





  13. #53

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 351 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder



    Changelog

    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: (regression since BETA 350) hovering over a symbol that is declared an array without an explicit subtype would restart the compiler [ https://github.com//issues/1610 ]
    • fixed: ParamArray parameters declared without explicit Variant type no longer triggers warning TB0003 [ https://github.com//issues/1610 ]
    • added: support for LenB(Of datatype) and Len(Of datatype) [ https://github.com//issues/596 ]
    • improved: advanced hover information now shows dispatch IDs rather than zero-vtable offsets for dispinterfaces [ fafalone, discord ]


    Last edited by VB6 Programming; Jul 10th, 2023 at 06:34 AM.

  14. #54

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 352 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases

    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder



    Changelog
    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: WinNativeCommonControls ListView/TreeView node keys now use binary compare mode, as per the native versions
    • fixed: WinNativeCommonControls ListView/TreeView node keys are now wrapped with CStr() to avoid Collection keys limitation
    • added: Package publisher features to the IDE (ported from the old VS Code version) [ Krool, discord ]




  15. #55

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 353 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases

    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder

    How to install https://nolongerset.com/how-to-install-twinbasic/


    Changelog
    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: (regression since BETA 352) unable to open multiple instances of the IDE at the same time [ fafalone, discord ]


  16. #56

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 354 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases

    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder



    Changelog

    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: publisher login was failing for accounts that contain # characters [ fafalone, discord ]

  17. #57

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 355 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder



    Changelog
    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: package-publish confirmation message corrected format of version string from 'major.minor.revision.build' to 'major.minor.build.revision'




  18. #58

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 356 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases

    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder


    Changelog
    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: corrections to MousePointer vbDefault handling, in falling back to the window class HCURSOR, when set [ cjck, private ]
    • fixed: Form/PictureBox/UC DrawStyle property of dotted/dashed lines now disables dpi-scaling when pen width is 1, as GDI does not support them [ cjck, private ]
    • added: menu Project > Open Project Folder... [ fafalone, discord ]
    • added: menu Project > Open Build Output Folder... [ fafalone, discord ]
    • fixed: intellisense insertion of enum values that require square brackets [ sokinkeso, discord ]
    • fixed: intellisense insertion adding "$0" when auto-completing a RaiseEvent [ https://github.com//issues/1609 ]
    • fixed: possible misue of hexadecimal literal warning had incorrect value for the LongLong version [ https://github.com//issues/1613 ]




  19. #59

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 357 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases

    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder

    How to install https://nolongerset.com/how-to-install-twinbasic/


    Changelog
    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: (regression) additional PROBLEMS panel toolwindows were not movable
    • improved: IDE copy/paste now tries to indent the newly pasted code appropriately


  20. #60

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 358 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases

    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder


    Changelog
    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: (regression) UserControl event 'ExperimentalLog' had accidentally been renamed 'ExperimentalLogUserControl' in recent builds
    • added: experimental inlined IDE hints (currently for end of procedures, and end of components)
    Last edited by VB6 Programming; Jul 13th, 2023 at 02:17 PM.

  21. #61

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 359 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases

    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder

    How to install https://nolongerset.com/how-to-install-twinbasic/


    Changelog
    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • improved: Select-Case Case statements now offer individual code folding blocks
    • improved: IDE hints now expanded to include all code blocks
    • added: IDE setting to control the visibility of IDE hints 'Show IDE Inline Code Hints' (default = when CTRL is pressed)
    • fixed: newer versions of the IDE no longer block opening of earlier versions (versions prior to BETA 353) [ fafalone, discord ]
    • fixed: Val() edge cases with hexadecimal input
    • fixed: taking reference (ByRef) of control elements could fail [ fafalone, discord ]




  22. #62

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 360 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder


    Changelog
    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: (initial fixes) support for builds that have dependencies on UserControls within packages [ sokinkeso, discord ]




  23. #63

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 361 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases

    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder

    How to install https://nolongerset.com/how-to-install-twinbasic/

    Changelog
    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: IDE hints were interfering with the highlighting of selected code lines [ fafalone, discord ]




  24. #64

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 362 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder


    Changelog
    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: compiler crash when editing a project in x64 that contained an Interface definition with a As Any param [ bclothier, discord ]
    • fixed: some issues with the new paste indentation feature in the IDE [ fafalone, discord ]



  25. #65

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    Wayne is starting work this week on integrating the LLVM optimising compiler into twinBASIC.

    Wayne says: "this coming week I'll be diverging slightly and starting some work on the LLVM integration.
    I appreciate that there are still some big ticket things remaining, such as MDI support, and Printers support, but I hope you'll agree with me when I say that I believe we've been making good progress lately and now feels about the right time to start experimenting with LLVM.
    "

  26. #66
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,408

    Re: twinBASIC programming - Beta releases

    Quote Originally Posted by VB6 Programming View Post
    Wayne is starting work this week on integrating the LLVM optimising compiler into twinBASIC.

    Wayne says: "this coming week I'll be diverging slightly and starting some work on the LLVM integration.
    I appreciate that there are still some big ticket things remaining, such as MDI support, and Printers support, but I hope you'll agree with me when I say that I believe we've been making good progress lately and now feels about the right time to start experimenting with LLVM.
    "
    I don't quite understand the meaning of this passage.
    Last edited by SearchingDataOnly; Jul 18th, 2023 at 10:46 AM.

  27. #67
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    4,966

    Re: twinBASIC programming - Beta releases

    LLVM is apparently what is needed for performance-optimized builds from the compiler. Right now performance lags behind VB6 performance optimized native code (but it's ahead of VB6 P-code), optimizing tB is expected to match and often exceed that.

    Understanding it any more than that... good luck, lol

    It creates intermediate representations, which I understand would be useful if you wanted to make a language then feed it into an existing compiler, but how it fits into where you have your own language and own compiler to optimize performance... I read a bunch of articles about it trying to figure that one out to no avail. I assume it makes sense to people who make languages and compilers, which isn't me.

  28. #68
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,408

    Re: twinBASIC programming - Beta releases

    Quote Originally Posted by fafalone View Post
    LLVM is apparently what is needed for performance-optimized builds from the compiler. Right now performance lags behind VB6 performance optimized native code (but it's ahead of VB6 P-code), optimizing tB is expected to match and often exceed that.

    Understanding it any more than that... good luck, lol

    It creates intermediate representations, which I understand would be useful if you wanted to make a language then feed it into an existing compiler, but how it fits into where you have your own language and own compiler to optimize performance... I read a bunch of articles about it trying to figure that one out to no avail. I assume it makes sense to people who make languages and compilers, which isn't me.
    I don't quite understand the meaning of this passage.

    I still don't understand the relationship between LLVM and Wayne's compiler.

  29. #69
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,142

    Re: twinBASIC programming - Beta releases

    Wayne's compiler must be capable of emitting some interim code that LLVM can compile or recompile to more efficient native code. I am guessing here, someone please confirm.
    PS. At this point in the conversation, Niya would normally appear.

    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

  30. #70
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    4,966

    Re: twinBASIC programming - Beta releases

    Quote Originally Posted by SearchingDataOnly View Post
    I don't quite understand the meaning of this passage.

    I still don't understand the relationship between LLVM and Wayne's compiler.
    tl;dr LLVM make .exe go faster. How? Me not know. 😂

  31. #71
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,408

    Re: twinBASIC programming - Beta releases

    Quote Originally Posted by yereverluvinuncleber View Post
    Wayne's compiler must be capable of emitting some interim code that LLVM can compile or recompile to more efficient native code. I am guessing here, someone please confirm.
    Is it possible to understand that Wayne's compiler compiles twinBasic code into "P-Code"?

  32. #72
    Addicted Member
    Join Date
    Aug 2013
    Posts
    220

    Re: twinBASIC programming - Beta releases

    Quote Originally Posted by fafalone View Post
    tl;dr LLVM make .exe go faster. How? Me not know. 😂
    LL Vroom vroom?

  33. #73
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    4,966

    Re: twinBASIC programming - Beta releases

    Quote Originally Posted by SearchingDataOnly View Post
    Is it possible to understand that Wayne's compiler compiles twinBasic code into "P-Code"?
    No, it compiles to native code. The tB unoptimized native code currently performs much better than VB6 P-Code, but slower than VB6 optimized native code.

    Wayne shared some early benchmarks for LLVM optimized tB, it's very close to VB6 native code in performance, and greatly reduces exe size, with some room for improvement since he hadn't yet enabled support for CPU instruction sets like SSE.

    tB(debug-grade) ~400 per 5 seconds (code size: 1283 bytes)
    tb(llvm) ~1280 per 5 seconds (code size: 276 bytes)
    VB6(fastest) ~1250 per 5 seconds
    for this test:

    Code:
    [ UseLLVM ]
        [ ArrayBoundsChecks (False) ]
        Private Function RunSieve(ByVal lSize As Long) As Long
            Dim Bits()          As Long         ' changed from Byte to Long for now
            Dim lFactor         As Long
            Dim lIdx            As Long
            Dim lCount          As Long
    
            'On Error Resume Next               ' error handling not supported yet in our LLVM backend
            lIdx = 0 'UBound(Bits)
            If lIdx < lSize Then
                ReDim Bits(0 To lSize) As Long
            End If
            lFactor = 3
            Do While lFactor * lFactor <= lSize
                 If Not Bits(lFactor) Then
                    For lIdx = lFactor * lFactor To lSize Step 2 * lFactor
                        Bits(lIdx) = 1
                    Next
                 End If
                lFactor += 2
            Loop
            lCount = -(lSize >= 2)
            For lIdx = 3 To lSize Step 2
                lCount += 1 - Bits(lIdx)
            Next
            Return lCount
        End Function
    
        Public Sub TestSieve()
            Dim dblStart        As Double
            Dim lPasses         As Long
    
            Debug.Assert RunSieve(1000000) = 78498
            dblStart = Timer
            Do While Timer < dblStart + 5
                RunSieve 1000000
                lPasses += 1
            Loop
            Debug.Print "wqweto;" & lPasses & ";" & Format$(Timer - dblStart, "0.000") & ";1;faithful=no,bits=8"
        End Sub

  34. #74

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 363 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases

    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder


    How to install https://nolongerset.com/how-to-install-twinbasic/

    Changelog
    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • improved: [HiddenModule].Int3Breakpoint now injects the breakpoint directly into the generated code, rather than via a call
    • added: very early experimental implementation of LLVM codegen for Professional/Ultimate licence holders [ see discord for info ]




  35. #75

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 364 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder

    How to install https://nolongerset.com/how-to-install-twinbasic/

    Changelog
    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • improved: LLVM backend compiler now supports the Currency data type




  36. #76

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 365 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder

    How to install https://nolongerset.com/how-to-install-twinbasic/

    Changelog
    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • improved: LLVM backend compiler now supports the Boolean data type




  37. #77

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 366 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder

    How to install https://nolongerset.com/how-to-install-twinbasic/

    Changelog

    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: localized strings using IDs above 32767 would cause a crash during building [ fafalone, discord ]
    • fixed: (regression) 'Active Control' project contained an error [ fafalone, discord ]
    • fixed: correction to handling when dot operator is split via a line continuation [ uiwoow, discord ]




  38. #78

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 367 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder


    How to install https://nolongerset.com/how-to-install-twinbasic/

    Changelog
    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • fixed: (regression) errors in API declarations not showing at the definition in the IDE [ https://github.com//issues/1646 and https://github.com//issues/1633 ]
    • fixed: IDE clipboard paste auto-indent incorrect handling of pasting of Else block [ fafalone, discord ]
    • fixed: IDE clipboard paste auto-indent single-line-if handling [ https://github.com//issues/1642 ]
    • fixed: assigning empty byte array to String causes runtime error [ https://github.com//issues/1623 ]
    • improved: added 'Paste As Comment' feature (Ctrl-Alt-V, similar to old VS Code edition) [ krool, discord ]




  39. #79

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2015
    Posts
    900

    Re: twinBASIC programming - Beta releases

    BETA 368 of the twinBASIC programming IDE is now available...

    Download from here... https://github.com/twinbasic/twinbasic/releases


    • Click on "Assets" for the latest release
    • Download and Extract the ZIP file into a local folder
    • Then run the twinBASIC.exe from that local folder


    How to install https://nolongerset.com/how-to-install-twinbasic/

    Changelog

    • WARNING: there are known memory leaks in this version, so memory usage will be higher than normal
    • improved: faster intellisense build times (approx halved)
    • improved: intellisense data is now cached, giving much better response times for packages such as tbShellLib




  40. #80
    PowerPoster
    Join Date
    Jan 2020
    Posts
    3,332

    Re: twinBASIC programming - Beta releases

    When will multiple source files in a project be supported? For example, multiple bas files are saved in the hard disk directory. Facilitate multiple different projects to share the module. With one change, the other projects will become the latest version of the module.

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width