C is a portable assembler with delusions of grandeur
Rick Murray (539) 13806 posts |
Topic title to irk some, amuse others. ;-)
For stuff that made a lot of use of the Windows API, the benefits are minimal. For stuff that does a lot of calculations, the benefits are staggering. [edit: and if you compile to native code, you still need all those bloody big DLLs as they hold the VB parts…]
Yes, I am well aware of that. You said that you believed that it would be Of stdlib, there are – as far as I can see – only three places where assembler will be required. Note – it won’t be optimal, obviously, but that wasn’t the discussion.
Here’s where you’ll need assembler:
Alternatively, one could implement the entire Clib in assembler. Whoo! ;-) Why were we discussing this anyway? I forget…
Yup, which is why this is now making itself at home in Aldershot. |
John K. (1549) 27 posts |
Who on earth wrote that VB was reworked to create .NET? .NET (the CLR and so on) is not even remotely like VB, and to claim that it is is woefully misinformed. Sure, there’s a VB.NET language, but completely different to manky old VB. Still as clunky as anything (we use it at work). The CLR is massive compared to legacy VB/VBA and makes it a whole lot easier to do things. It has a proper, up-to-date UI library in WPF and modern frameworks like WCF that let you do things that VB couldn’t even think of doing. “Bloody big DLLs” – really? A quick check on my Windows 7 install shows that MSVBVM60.dll is 1.4MB in length. Is that “huge”? Perhaps that would be an issue if we were still using PCs with 20MB hard drives and 4MB of RAM. It beggars belief that, in 2013, people are still writing things in VB (6, let alone 5). Do you use tape drives and 8" floppies as well? How about Hercules video and ISA expansion cards? |
Rick Murray (539) 13806 posts |
And the other stuff VB expects to run with? While stuff is part of the Windows, VB likes to have OCXs.
When a 350k program wants to come along with >3Mb resources, yeah, it is big. Remember, I grew up with RISC OS so the size of stuff under Windows horrifies me.
VB5/6 works for me. I see no point learning something new just because what I am using is “old”… |