Page 3 of 5 FirstFirst 12345 LastLast
Results 81 to 120 of 174

Thread: Why developing a VB6 compiler is a difficult thing to do?

  1. #81
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,481

    Re: Why developing a VB6 compiler is a difficult thing to do?

    On August 28, 2024, Microsoft officially announced that it would hand over the management of the open source project Mono to the WineHQ team, which attracted wide attention from the technology industry. Mono is an open source platform that implements the.NET Framework, allowing developers to run.NET applications on non-Windows operating systems, including Linux, macOS, etc. With this move, Microsoft not only demonstrates its support for the open source community, but also opens up new possibilities for the development of cross-platform applications


    Maybe one day Microsoft will open up the source code of VBS, and it will become a cross-platform product.

    In the past, Delphi has surpassed VB6 and VC + + 6. Although it can cross platforms, it has never embraced open source. So no one uses it at all.

    Python is the most widely used programming language in the world because it is open source.

  2. #82
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,481

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Microsoft has spoken highly of the Mono project, especially for its pioneering role in cross-platform development. Mono is the first implementation of.NET technology on non-Windows platforms, and its accumulation in the past few years has helped the.NET ecosystem dominated by Microsoft move towards more operating systems and devices, achieving the goal of today's mainstream development platform.

    The development of a VB6-based code into a VB. Net, freebasic, this aspect is very meaningful. Because they all have cross-platform compilers. The compiler is also open source.

  3. #83

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,542

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by techgnome View Post
    Drop the 6... it's only going to hold things back (pre-conceptions and all that, we're trying to move forward, right?).
    OpenVBCompiler (or OpenVBC for short, or OVBC for short short)

    -tg
    Under Microsoft's heavy publicity, VB refers to VB.Net by default.

  4. #84

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,542

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by wqweto View Post
    I find Classic VB Reborn or something in that vein appropriate.

    Will probably just use generic VBForumsCompiler for repo name once I have something. . . anything to commit :-))

    I was thinking of a tool, a methodology to prevent procrastination on this compiler effort: How about we just implement everything in the fastest way possible to code, with as few lines of code as possible?

    Not the most performant, not the most correct, not the textbook approach but just using as few lines as possible. . . Hey, this is VB6, not carbon-lang we are reimplementing here! :-))

    The "Just write anything already" approach to mob development!

    cheers,
    </wqw>

    p.s. Will give anyone full access to the repo, just contact me on github.
    Totally agree.

    Quote Originally Posted by wqweto View Post
    I suppose we'll aim at self-hosting so first version has to be in a subset of VB6 but for any bytecode emulator/VM will probably need tight C implementation.
    </wqw>
    Yes, self-hosting is our goal. Initially, the bytecode simulator/VM could also be implemented in VB6, and in the future it could be considered with C implementation.
    Last edited by SearchingDataOnly; Oct 11th, 2024 at 11:13 AM.

  5. #85

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,542

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by wqweto View Post
    I'm thinking about first implementing a p-code interpreter i.e. emitting bytecode to be interpreted/debugged in an IDE and later emitting C/C++ code to be compiled using gcc toolchain.

    Bytecode can be compiled to executable too by embedding the interpreter and apending the bytecode as a resource or similar.

    This is what VB6 is capable of too and this stems from its evolution. Starting with simple AST interpreter that later turned to a p-code interpreter. Last step they implemented was using VC backend for OBJ file generation and link.exe for final binary linking.

    We don't have C/C++ backend available so for each BAS/CLS file just generate a C/C++ source file to be compiled along with a humongous static runtime (headers and a LIB file written again in C/C++) and compile these with gcc with -O3 optimization level or whatever.

    cheers,
    </wqw>
    You are the right person to lead VBForumCompiler, and we look forward to you leading us to our ultimate goal.

  6. #86

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,542

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by fafalone View Post
    I'd prefer open source too but you have a *far* better chance of tB succeeding enough that open source becomes viable as a business model, which Wayne is absolutely open to, than you do any other compiler with substantial compatibility being built now.

    And your post sums up the main reason... You're willing to let perfect be the enemy of good and aren't willing to compromise your vision.

    That's why there's a 20 year history of these cooperative "let's build a VB6 successor" crashing and burning or just being abandoned.

    You might as well not waste your time and just start learning whatever existing popular language best suits your needs There's *one* viable compiler with backwards compatibility... It's a miracle we got that and another one that checks every single box is just a fantasy at this point.

    You've got maybe 5 community members left even capable of writing a sophisticated compiler... None of whom are likely to make it their full time job so it's done in 5 years instead of 10-30.

    Don't let the pipe dream of the perfect open source compiler prevent supporting the only actual project to make progress towards modernizing the language.
    We are committed to developing an open-source VBForums-VB6Compiler which does not conflict with our continued support for tB.

    Whether tB survives depends not only on itself, but also on the entire VB6 ecosystem.
    Last edited by SearchingDataOnly; Oct 11th, 2024 at 11:36 AM.

  7. #87

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,542

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by gaouser View Post
    If needed Cross-compatibility. For Linux you can use Wine to emulate ActiveX. but ActiveX is too needed for VB6. So you NEED to sadly stay at Windows or Linux+Wine if you want to make your VB6 truly VB6
    Quote Originally Posted by xiaoyao View Post
    Com ActiveX technology is very convenient, and it is easy to implement com technology on Linux.Just like the net reflection principle. Can be late bound, can the dynamic program include a method name. callbyname

    The Java principle actually uses reflection as well.At the same time, it can list all classes, all methods, parameters and data types.
    Effectively equivalent to a TLB file. It's just that on cross-platform systems, we need one. More open and transparent method of element enumerationFor example, convert the TLB file to the JSON file format
    Yes, emulating ActiveX on other platforms is also a viable solution.

  8. #88
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    World:\Turkey\User32.DLL
    Posts
    430

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by SearchingDataOnly View Post
    It is very valuable for tB to provide a VB6 compatible form engine, otherwise people would just think of it as another FreeBasic. But it's very strange when tB offers Report-Designer at an early stage when time is of the essence, because there are so many things that are higher priority than Report-Designer.

    Open & open-source is the only way for a new programming language to survive and thrive. Anything that is closed source is not promising, including RC6.

    The original version of JS was very rough, but it was open, so programmers from all over the world came together to raise this original ugly duckling into a white swan.

    As Olaf said, the best alternative to VB6 on Windows is VB6, so another huge potential value of tB should be cross-platform. That's why I spent 16 months completely replacing my first version of the Windows component-based scripting IDE with an RC6 component-based IDE.

    Initially, I was very excited about tB, and I wanted to use tB to develop a compiler for my scripting language. But when I needed a cross-platform, open-source compiler, I knew that I couldn't rely on anyone, I had to rely on myself.
    I'm working on a cursed VBA7.DLL wrapper. I think Classic VB7 will come
    I'M GAOUSEEEERRRRRRR

    Experimental Software and stuff made by me with some being efforts of up to 3 months of endless VB6 IDE

    VBForums is made with VBulletin4, Fun Fact their first 2 letters are same.

    Gaouser is a weird name choice
    I love VB6 and NX 8.5 and CorelDRAW and C++ and HTML4.01 and obsolote stuff and retrocomputing!
    I custom ROM my phones
    Using Win32 API is easier in VB6 than VB.NET

  9. #89
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    World:\Turkey\User32.DLL
    Posts
    430

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by SearchingDataOnly View Post
    Yes, emulating ActiveX on other platforms is also a viable solution.
    Wine, based on WinXP. can handle ActiveX. so Linux is OK. I dont know about Mac though, but best solution is to forget MacOS. who even buys a Mac?
    I'M GAOUSEEEERRRRRRR

    Experimental Software and stuff made by me with some being efforts of up to 3 months of endless VB6 IDE

    VBForums is made with VBulletin4, Fun Fact their first 2 letters are same.

    Gaouser is a weird name choice
    I love VB6 and NX 8.5 and CorelDRAW and C++ and HTML4.01 and obsolote stuff and retrocomputing!
    I custom ROM my phones
    Using Win32 API is easier in VB6 than VB.NET

  10. #90
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    World:\Turkey\User32.DLL
    Posts
    430

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by SearchingDataOnly View Post
    You are the right person to lead VBForumCompiler, and we look forward to you leading us to our ultimate goal.
    Yeah. He should lead this project.

    Also my opinions in that idea, VB6 likely uses VC++6 as backend. and its written much diffrently than regular Win32 C++, so yeah. we need a convenient interpreter.

    I may contribute in interpreter but I need to know lang first. like what will the IDE be maded in
    I'M GAOUSEEEERRRRRRR

    Experimental Software and stuff made by me with some being efforts of up to 3 months of endless VB6 IDE

    VBForums is made with VBulletin4, Fun Fact their first 2 letters are same.

    Gaouser is a weird name choice
    I love VB6 and NX 8.5 and CorelDRAW and C++ and HTML4.01 and obsolote stuff and retrocomputing!
    I custom ROM my phones
    Using Win32 API is easier in VB6 than VB.NET

  11. #91

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,542

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by gaouser View Post
    I'm working on a cursed VBA7.DLL wrapper. I think Classic VB7 will come
    Looking forward to it.

  12. #92
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    World:\Turkey\User32.DLL
    Posts
    430

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by xiaoyao View Post
    On August 28, 2024, Microsoft officially announced that it would hand over the management of the open source project Mono to the WineHQ team, which attracted wide attention from the technology industry. Mono is an open source platform that implements the.NET Framework, allowing developers to run.NET applications on non-Windows operating systems, including Linux, macOS, etc. With this move, Microsoft not only demonstrates its support for the open source community, but also opens up new possibilities for the development of cross-platform applications


    Maybe one day Microsoft will open up the source code of VBS, and it will become a cross-platform product.

    In the past, Delphi has surpassed VB6 and VC + + 6. Although it can cross platforms, it has never embraced open source. So no one uses it at all.

    Python is the most widely used programming language in the world because it is open source.

    When did Delphi surpassed VB6? at 2010's Delphi died too quickly and VB6 kinda did a weird comeback
    I'M GAOUSEEEERRRRRRR

    Experimental Software and stuff made by me with some being efforts of up to 3 months of endless VB6 IDE

    VBForums is made with VBulletin4, Fun Fact their first 2 letters are same.

    Gaouser is a weird name choice
    I love VB6 and NX 8.5 and CorelDRAW and C++ and HTML4.01 and obsolote stuff and retrocomputing!
    I custom ROM my phones
    Using Win32 API is easier in VB6 than VB.NET

  13. #93
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    World:\Turkey\User32.DLL
    Posts
    430

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by SearchingDataOnly View Post
    Looking forward to it.
    Well to think of it. MS did make Classic VB7. its just not a product. but single DLL
    I'M GAOUSEEEERRRRRRR

    Experimental Software and stuff made by me with some being efforts of up to 3 months of endless VB6 IDE

    VBForums is made with VBulletin4, Fun Fact their first 2 letters are same.

    Gaouser is a weird name choice
    I love VB6 and NX 8.5 and CorelDRAW and C++ and HTML4.01 and obsolote stuff and retrocomputing!
    I custom ROM my phones
    Using Win32 API is easier in VB6 than VB.NET

  14. #94

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,542

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by gaouser View Post
    Yeah. He should lead this project.

    Also my opinions in that idea, VB6 likely uses VC++6 as backend. and its written much diffrently than regular Win32 C++, so yeah. we need a convenient interpreter.

    I may contribute in interpreter but I need to know lang first. like what will the IDE be maded in
    We're glad you're willing to participate. I'm sure The trick and Olaf will contribute some of their wisdom as well.

  15. #95
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,481

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by gaouser View Post
    Well to think of it. MS did make Classic VB7. its just not a product. but single DLL
    vba7.dll,Perhaps parsing execution is simpler. It doesn't need to be compiled, and I can actually convert the code into a DLL generated by the BB computer to perform this process.You can even use callbyname? To simulate a call.
    Of course, you need to decompile it to see how it parses and executes the VB code.
    If the previous four-dimensional code were to be parsed, it would cost only $10 million to fix.
    What I want to implement is the 64-bit Vb6 compiler that it needs. $300 million.Microsoft is not willing to continue to invest in this area even if it uses very little cost.

    Just like the VB. Net that stopped updating in 2020, but after two or three years, C # can compile AOT to create standard DLL, but VB. Net can only compile AOT to create exe.
    There was a difference of about two years, and Microsoft just didn't renew his life.
    In 1999, Delphi 5.0 was introduced. Version 5.0 simplifies Internet development with enhanced IDE and debugger and database support. Many students began to contact Delphi from this version. At that time, there were many students who owned computers in China.

    This version should surpass Vb6. Delphi 7.0, released in 2002, is a mature product.
    It would also be good if vb6.0 was continuously enhanced against Delphi for the time being.

    What Microsoft is doing now is VB. Net, which is no longer developed as a programming language.
    In fact, Microsoft has failed miserably in scripting languages.At the beginning of ie6, no one used VBS at all on the web page. They all used JavaScript. In fact, if the CB six CB car is used as a script, the language development is also good.
    Imagine you're typing in VB. Net code in a cross-platform system? You can create forms and perform various system settings. Parse the zip to create the zip. Of course, if it can be achieved around 2005, that would be the best.
    Because Microsoft completely abandoned this market, Python became the number one scripting language in the world.
    He may have invested tens of billions of dollars in his mobile operating system, but he lost all his money.
    Visual foxpro, these are the products that enterprises need. It was also stopped by Microsoft and lost a lot of profits.
    In fact, just like office, there are few improvements every year. In fact, it's just a change to the whole interface.Only a small amount of optimization is needed to continue to sell and earn high profits.
    F , which Microsoft wants to beat python withIt's like using ie6 to beat Google Chrome. It's really a dream.
    Last edited by xiaoyao; Oct 11th, 2024 at 05:21 PM.

  16. #96
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,481

    Re: Why developing a VB6 compiler is a difficult thing to do?

    .NET/JIT just-in-time compilation has a greater impact on performance. When the same code is executed after compilation, the execution efficiency of.NET/AOT code is not necessarily better than that of.NET/JIT just-in-time compilation. .NET/AOT Static Compilation Don't be too superstitious about the performance improvements it may bring. The strongest native compilers in the world are assembly compilers, such as MASM, followed by intermediate BASIC compilers (1982), followed by C/C + +. Some functions compiled dynamically by.NET/JIT are the same as those written in C/C + + language, and there are many cases in which the performance of executable code exceeds a lot.

    Maybe another three to five years. Python, a visual form designer that comes with its own platform. It can be compiled independently into a separate PE file. With exe, DLL, and JIT compilation optimizations, there was really no market for the VB language at that time.

    It has already happened that MySQL, the free database beat ms, sqlserver, oracle.

    VB.NET is the most intelligent programming language tool with the highest efficiency (real-time compilation is more efficient than C # in writing code, 30% of the code comes out intelligently, it also supports COM, does not distinguish between upper and lower case, and people still use the same letters in this era. Is the case different as a variable or method or object name? VB has no symbol, and C language is tired of using symbols.) Apart from the main uses of JAVA, C, and C + +, Dephi, PHP, Python, C , and so on, in all fairness, none of them is better than VB.net.
    Last edited by xiaoyao; Oct 11th, 2024 at 06:38 PM.

  17. #97
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,481

    Re: Why developing a VB6 compiler is a difficult thing to do?

    2011 16.0 Official name: Embarcadero RAD Studio XE2. Support for compiling 64-bit Windows applications. Cross-platform support. This technology, called FireMonkey, supports full hardware acceleration. Use FireMonkey to create native applications for Windows, Mac, and iOS that take full advantage of the CPU and GPU. And FireMonkey also brings a new 2D/3D UI framework.
    It was very difficult for VB6 to support 64 bits within 5 years at that time.
    It also took 13 years for Delphi to materialize.

  18. #98
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,481

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Excel 1.0 \n The first version of Excel, released in 1985, was originally developed by Microsoft for MAC users to replace Multiplan.
    Version 2.0 supports color reports, and the whole program is only 180kb.
    Excel 5. 0 first began using VBA in 1994.
    As a result, VB6 was abandoned in a short period of four years, which is a pity.
    Microsoft didn't implement a 64-bit version of office 2010 until 2010.
    Attached Images Attached Images  
    Last edited by xiaoyao; Oct 11th, 2024 at 06:28 PM.

  19. #99
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,481

    Re: Why developing a VB6 compiler is a difficult thing to do?

    I envisioned a product where third-party vendors could write their own gizmo DLLs and users could add them to the product in the field without needing to recompile. We defined an interface whereby Ruby would interrogate nearby executable files with a query message. If the file responded appropriately, Ruby knew that it was a cooperating gizmo and proceeded to request its icon to display in the tool palette.

    Whatever the cause,visual basic Inventor Ruby was now orphaned inside of Microsoft less than a year after it was delivered. Frustrated, Cooper flew to Redmond, met with Bill Gates, and offered to buy the software back. “I said, ‘I'll release it myself, as a shell construction set for Windows'.”


    Maybe Microsoft's goal is just to make Vb6, Vba, a little built-in feature of office.
    If Cooper is going to invent his own programming IDE, or if his goal is to make a scripting tool and interface designer as powerful as py.
    So Bill Gates's wrong decisions are sometimes an opportunity for other companies to grow.Since then, Python has had a strong vitality.

  20. #100
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,481

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Visual Basic's initial release in 1991 was followed by five major versions (not including an ill-fated version for DOS). By the time Visual Basic 6.0 was released in 1998, its dominance was absolute: two-thirds of all business application programming on Windows PCs was done in Visual Basic. At its peak, Visual Basic had nearly 3.5 million developers worldwide, more than ten times the number of C++ programmers.

    From the number one programming language in the world to almost the last one,

  21. #101
    Addicted Member
    Join Date
    Jan 2008
    Posts
    153

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by yereverluvinuncleber View Post
    Vb6+4 = vb64
    Good idea, in my opinion!!! On a marketing level I think it would be the ideal name!!!

    That name is very catchy, and it is simple and clear!!!

    Although I don't know if Microsoft would denounce that name... They might be, it looks too similar...

    Although some people say that VB6 is like the last one, I don't see it that way, another very good thing about VB6 is that there is an immense amount of code made by people, not by companies, for example in this forum, and that gives a lot of play.

    And VB6 is the language that has lasted the longest and still has many followers, there must be a reason!!!

    And combined with Flash, it was, in my opinion, impossible to beat... A disgrace and a bad move to eliminate Flash... It was too good, as VB6...
    Last edited by James Reynolds; Oct 11th, 2024 at 07:31 PM.

  22. #102

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2020
    Posts
    1,542

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by xiaoyao View Post
    So Bill Gates's wrong decisions are sometimes an opportunity for other companies to grow.Since then, Python has had a strong vitality.
    So, in terms of the free programming world, maybe MS' decision to abandon VB6 is a good thing, and the free programming world can get a chance to give VB6 a new lease of life. Perhaps in 10 years, when the new VB6 becomes popular worldwide again, MS will say with frustration that it's just a product we've thrown away.

  23. #103
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    World:\Turkey\User32.DLL
    Posts
    430

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by SearchingDataOnly View Post
    So, in terms of the free programming world, maybe MS' decision to abandon VB6 is a good thing, and the free programming world can get a chance to give VB6 a new lease of life. Perhaps in 10 years, when the new VB6 becomes popular worldwide again, MS will say with frustration that it's just a product we've thrown away.
    This is what happens when MS obsolotes a software lol.
    I'M GAOUSEEEERRRRRRR

    Experimental Software and stuff made by me with some being efforts of up to 3 months of endless VB6 IDE

    VBForums is made with VBulletin4, Fun Fact their first 2 letters are same.

    Gaouser is a weird name choice
    I love VB6 and NX 8.5 and CorelDRAW and C++ and HTML4.01 and obsolote stuff and retrocomputing!
    I custom ROM my phones
    Using Win32 API is easier in VB6 than VB.NET

  24. #104
    Lively Member
    Join Date
    Aug 2023
    Posts
    101

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by Eduardo- View Post
    How tB breaks (backward) compatibility?
    None (zero) of my VB6 projects can run in TB as is.

    And if I need to rewrite/analize most of the code probably I would go directly to VB.Net, so, under my mind, TB is not compatible with VB6, is similar (like Gambas) but not fully compatible. For me fully compatibility means that a VB6 project can be loaded and executed in the new environment (or transformed by any kind of assistant), that would be a very good reason to move to that new environment specially if you can get new features, but that's not the case.

    Probably preserve that kind of compatibility is too much work so TB has more sense in the way it is, sometimes you need to break something if you want to create a better thing. I mean, for me TB is another player in the game, not the player who's going to replace VB6 (once again, like Gambas in the Linux environment).

  25. #105
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    World:\Turkey\User32.DLL
    Posts
    430

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by zx81sp View Post
    None (zero) of my VB6 projects can run in TB as is.

    And if I need to rewrite/analize most of the code probably I would go directly to VB.Net, so, under my mind, TB is not compatible with VB6, is similar (like Gambas) but not fully compatible. For me fully compatibility means that a VB6 project can be loaded and executed in the new environment (or transformed by any kind of assistant), that would be a very good reason to move to that new environment specially if you can get new features, but that's not the case.

    Probably preserve that kind of compatibility is too much work so TB has more sense in the way it is, sometimes you need to break something if you want to create a better thing. I mean, for me TB is another player in the game, not the player who's going to replace VB6 (once again, like Gambas in the Linux environment).
    Yeah. TB isnt even identical to VB6. We need to make our VBForumCompiler..
    I'M GAOUSEEEERRRRRRR

    Experimental Software and stuff made by me with some being efforts of up to 3 months of endless VB6 IDE

    VBForums is made with VBulletin4, Fun Fact their first 2 letters are same.

    Gaouser is a weird name choice
    I love VB6 and NX 8.5 and CorelDRAW and C++ and HTML4.01 and obsolote stuff and retrocomputing!
    I custom ROM my phones
    Using Win32 API is easier in VB6 than VB.NET

  26. #106
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,481

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by SearchingDataOnly View Post
    So, in terms of the free programming world, maybe MS' decision to abandon VB6 is a good thing, and the free programming world can get a chance to give VB6 a new lease of life. Perhaps in 10 years, when the new VB6 becomes popular worldwide again, MS will say with frustration that it's just a product we've thrown away.
    Masayoshi Son of Japan's Softbank Group. has invested in a Chinese shopping site similar to Amazon. Revenue is more than $100 billion.
    He made more than $100 billion investing in chip companies.

    But he also invested in hundreds of other companies, and basically none of them made any money, and some of them lost more than $10 billion.
    Microsoft and Bill Gates are the same, a lot of investment is a failure, some of the success of the investment has been his early end.

  27. #107
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    World:\Turkey\User32.DLL
    Posts
    430

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by xiaoyao View Post
    Will Microsoft sue twbasic for implementing 80% of the interfaces in the VB6 IDE?
    Maybe it's been 20 years, so this is totally fine, even if you decompile it to get the final source code.

    Is it an infringement to use Wine under Linux? In the past, it was a gray area, and Microsoft only banned some components, such as WMP, from being installed on wine. But since oracle won its case against Google, wine has faced a real legal risk, because the implementation of the other party's API requires authorization. But with Microsoft's current mantra of embracing open source and wsl integration on Windows, wine is less of a problem.

    Previously, Microsoft felt that Lindows (wine) infringed the trademark of Windows, so in December 2001, it sued Lindows in the United States, Canada, Sweden, France, Belgium and other places. The European victory came very smoothly, but the lawsuit filed in the Washington court in the United States did not advance smoothly. In the meantime, Lindows did not give up the fight with the first software giant. They first allowed users to buy a lifetime license for Lindows for $100, and then spent all the money on the legal fight with Microsoft. Later, he changed his company name and domain name to lin--s, thus ensuring that he survived in Europe. Lindows's lawyers also resisted the jurisdiction of the Washington court on the grounds that it was registered in California.
    nah they forgot vb6's existence
    I'M GAOUSEEEERRRRRRR

    Experimental Software and stuff made by me with some being efforts of up to 3 months of endless VB6 IDE

    VBForums is made with VBulletin4, Fun Fact their first 2 letters are same.

    Gaouser is a weird name choice
    I love VB6 and NX 8.5 and CorelDRAW and C++ and HTML4.01 and obsolote stuff and retrocomputing!
    I custom ROM my phones
    Using Win32 API is easier in VB6 than VB.NET

  28. #108
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,481

    Re: Why developing a VB6 compiler is a difficult thing to do?

    visual fox pro,It is like a rapid development of ERP or enterprise management system MIS development tool?
    It can also be used to develop similar software. The operation efficiency is very low. It is very convenient to make some simple management systems.
    Microsoft has been doing it for many years, and he has not done it in depth for many tools used by enterprises.
    SIEMENS companies have acquired the software source code of many mes vendors. We thought it was just a hardware or PLC company, but it was a powerful software company.

    Microsoft has absolutely no interest in developing the VB language without finding a, ah, right use for these development tools.
    In any case, what language has the largest number of users in the world? Microsoft has to take these things into account.
    Just like py and JS. Ah, no need for a script that defines data types. Become the world's most popular language.
    As a result, Microsoft's score in this respect is 0. First from the bottom. The only thing he kept was the VBA's ability to use these features.

    The bat windows command line. The power shell, the scripts written by these codes are very difficult to read. So Microsoft's failure is inevitable.

    If we are on mobile phones, apple computers, Linux systems support VBA system management functions.wmi is very powerful and lacks a full online tutorial
    Many of the windows settings are manual, and some are more convenient. Many of us need to modify the registry or open the settings, and we need to click many steps.

    How to make the software we develop use XP SP3 mode? And with administrator privileges, zooming is disabled.

    Such a simple function, we all need to modify the registry, ordinary people simply do not know.
    So even if you take these basic configurations and turn them into py scripts. Microsoft needs to expose the interface. We can even set it up quickly on Linux.

    These basic operations of Microsoft and windows? He seldom provides us with an interface. So it is impossible for him to invent the same product as py.
    They don't even bother to fight them.
    Microsoft is so arrogant that it despises its rivals and makes them successful.

  29. #109
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    World:\Turkey\User32.DLL
    Posts
    430

    Re: Why developing a VB6 compiler is a difficult thing to do?

    who used fox pro...... lets just work on VBForumCompiler. I'll make a basic interpreter
    I'M GAOUSEEEERRRRRRR

    Experimental Software and stuff made by me with some being efforts of up to 3 months of endless VB6 IDE

    VBForums is made with VBulletin4, Fun Fact their first 2 letters are same.

    Gaouser is a weird name choice
    I love VB6 and NX 8.5 and CorelDRAW and C++ and HTML4.01 and obsolote stuff and retrocomputing!
    I custom ROM my phones
    Using Win32 API is easier in VB6 than VB.NET

  30. #110
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    World:\Turkey\User32.DLL
    Posts
    430

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by xiaoyao View Post
    Excel 1.0 \n The first version of Excel, released in 1985, was originally developed by Microsoft for MAC users to replace Multiplan.
    Version 2.0 supports color reports, and the whole program is only 180kb.
    Excel 5. 0 first began using VBA in 1994.
    As a result, VB6 was abandoned in a short period of four years, which is a pity.
    Microsoft didn't implement a 64-bit version of office 2010 until 2010.
    vb6 WASNT abandoned. VBA needed Classic VB...
    I'M GAOUSEEEERRRRRRR

    Experimental Software and stuff made by me with some being efforts of up to 3 months of endless VB6 IDE

    VBForums is made with VBulletin4, Fun Fact their first 2 letters are same.

    Gaouser is a weird name choice
    I love VB6 and NX 8.5 and CorelDRAW and C++ and HTML4.01 and obsolote stuff and retrocomputing!
    I custom ROM my phones
    Using Win32 API is easier in VB6 than VB.NET

  31. #111
    Fanatic Member BenJones's Avatar
    Join Date
    Mar 2010
    Location
    Wales UK
    Posts
    754

    Re: Why developing a VB6 compiler is a difficult thing to do?

    I hope this new compiler will offer inline asm like in C

  32. #112
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,481

    Thumbs up Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by BenJones View Post
    I hope this new compiler will offer inline asm like in C
    https://github.com/freebasic/fbc

    FreeBASIC is a completely free, open-source, multi-platform BASIC compiler, with syntax similar to MS-QuickBASIC, that adds new features such as pointers, object orientation, unsigned data types, inline assembly, and many others.

    This function has been implemented. And many C language libraries can be used directly.It is important to be able to use those modules or DLLs or static libraries directly, regardless of how they are bound to other languages.VB6 + VB. Net + C language + Java + node. JS, all kinds of functions are combined together. It can increase the function by 10 times and 100 times.

  33. #113
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,481

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Ie Browser is also a product abandoned by Microsoft. If the price is not good at the beginning, it is useless to upgrade. Every employee has his own ideas, he has his own style, and finally the product is all patched and ragged.If a car has been repaired hundreds of times, there will be all kinds of potential safety hazards, and it is best to scrap it.

    Discard the source code of the previously perfect VB6 IDE. Redevelop f , VB. Net, and ultimately fail.
    The number of people in VB6 is 10 times that of VC + +.

    Now those users are being lost to Python, node. JS.
    In any case, there is a market for lightweight development tools.Like vscode.
    It's really not realistic for everyone to install a 5g-20gb vs development tool.
    Vb6, can complete the compilation of the core files, The package is only four megabytes.a total of 10 to decompress after 10 MB hard disk occupation
    Including the regular enterprise version of these problems, it is only 10 megabytes. The decompression is only 30 megabytes.

    This is true Python, with a small hard disk footprint and hundreds or thousands of different libraries that can be downloaded from the web.

  34. #114
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    World:\Turkey\User32.DLL
    Posts
    430

    Re: Why developing a VB6 compiler is a difficult thing to do?

    guys. can I get access for github repo? I will write a VB6 Interpreter in C++
    I'M GAOUSEEEERRRRRRR

    Experimental Software and stuff made by me with some being efforts of up to 3 months of endless VB6 IDE

    VBForums is made with VBulletin4, Fun Fact their first 2 letters are same.

    Gaouser is a weird name choice
    I love VB6 and NX 8.5 and CorelDRAW and C++ and HTML4.01 and obsolote stuff and retrocomputing!
    I custom ROM my phones
    Using Win32 API is easier in VB6 than VB.NET

  35. #115
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    5,545

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by gaouser View Post
    guys. can I get access for github repo? I will write a VB6 Interpreter in C++
    I already told you how anyone can get mod rights.

    Hurry up, the repo is already created!

    cheers,
    </wqw>

  36. #116
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    World:\Turkey\User32.DLL
    Posts
    430

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Quote Originally Posted by wqweto View Post
    I already told you how anyone can get mod rights.

    Hurry up, the repo is already created!

    cheers,
    </wqw>
    ..only way to contact over Github is email and issues?
    I'M GAOUSEEEERRRRRRR

    Experimental Software and stuff made by me with some being efforts of up to 3 months of endless VB6 IDE

    VBForums is made with VBulletin4, Fun Fact their first 2 letters are same.

    Gaouser is a weird name choice
    I love VB6 and NX 8.5 and CorelDRAW and C++ and HTML4.01 and obsolote stuff and retrocomputing!
    I custom ROM my phones
    Using Win32 API is easier in VB6 than VB.NET

  37. #117
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,481

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Six years ago, I got a computer. Cpu I5-8600 K 6 box 2000 Motherboard 2000 Monitor 4K 27 Memory 2000 Memory 32gb 2000 now 64g only 750 Hard disk 1tb m2 800 plus a 4tb hard disk adds up to 2000 Such a small computer cost more than 10,000 yuan. With an integrated graphics card, plus one, 4000 yuan of graphics card is 15,000.

    According to the price of China and the United States, it is equivalent to a personal computer of $10,000.

    The world is changing so fast. My computer is now open vs2022, and I feel the speed is relatively slow.
    If you assemble a 128gb memory, 24 core CPU. I don't know how much it costs in the United States.
    Personal computers are getting more powerful, so compilers don't really need to be that lean.100mb of twinbasic is still memory, but it may not be enough.
    An IDE whose main core file takes up 1GB is not a big deal.

  38. #118
    PowerPoster
    Join Date
    Nov 2017
    Posts
    3,370

    Re: Why developing a VB6 compiler is a difficult thing to do?

    Is it done yet?

  39. #119
    Fanatic Member
    Join Date
    Feb 2019
    Posts
    849

    Re: Why developing a VB6 compiler is a difficult thing to do?

    There is no need to make open source VB6 to C++ translator that is written in C++, because one was already done years ago. It's called "B++ Builder", and you can download it from here:

    https://sourceforge.net/projects/b-plus-plus/files/

    Well, not exactly VB6, but very very close. The writer used operator overloading to define an operator that does case insensitive matching using "^", which confused me initially. It's defined in util.cpp:

    Code:
    bool operator^ (const string& a, const string& b)
    {
    	return stricmp(a.c_str(), b.c_str()) == 0;
    }
    stricmp() compares 2 strings while ignoring the case. It's used in the code like this(in parser.cpp):

    Code:
    	else if (lex.token ^ "IF")
    		parse_if();
    	else if (lex.token ^ "WHILE")
    		parse_while();
    	else if (lex.token ^ "DO")
    		parse_do();
    	else if (lex.token ^ "FOR")
    		parse_for();
    	else if (lex.token ^ "REDIM")
    		parse_redim();

  40. #120
    Hyperactive Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    World:\Turkey\User32.DLL
    Posts
    430

    Re: Why developing a VB6 compiler is a difficult thing to do?

    ...Guys I made my interpreter able to parse subs and functions. check it out at the github. A new Intepreter will be a better idea. Most open source ones dont mimic VB/QB
    I'M GAOUSEEEERRRRRRR

    Experimental Software and stuff made by me with some being efforts of up to 3 months of endless VB6 IDE

    VBForums is made with VBulletin4, Fun Fact their first 2 letters are same.

    Gaouser is a weird name choice
    I love VB6 and NX 8.5 and CorelDRAW and C++ and HTML4.01 and obsolote stuff and retrocomputing!
    I custom ROM my phones
    Using Win32 API is easier in VB6 than VB.NET

Page 3 of 5 FirstFirst 12345 LastLast

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