Search:
Type: Posts; User: Niya
Search:
Search took 0.47 seconds.
-
This is the biggest selling point for a JIT over static compilation in my opinion.
It's unlikely in this case and I'll explain why. The best possible case is that some future CPU implements a...
-
Unfortunately Microsoft is a quite lax in this area. Microsoft's .Net JIT still does things the old fashion way. It's not as advanced as that JIT showcased in that video. As a test, I wrote the exact...
-
Oh yea lol. The Pentium Pro is a dinosaur and I don't think anybody in 2020 cares about optimizing for small code.
-
Not so fast. You guys are looking at it the wrong way. You have to think in terms of the right tool for the job. The Currency type is extremely bloated, true. The Decimal type might be even more...
-
Good God this is slow as hell.
-
A Currency is basically a more primitive version of .Net's Decimal type. Like the Decimal type, it also uses some kind of fixed point math internally.
EDIT:
The Decimal type actually uses...
-
Wait, are you saying that modern versions of Visual Studio still ships VB6's p-code compiler?
-
Well I guess that answer is acceptable since we've pretty much eliminated any other possibility.
This was fun and very interesting. Hope to do it again some time.
Cheers:)
-
Whoa....I didn't see that one coming. The compiler really is very simple. Elroy was correct. I guess this settles the question of how marshalling works in VB6. It marshals at the callsite of every...
-
I just stumbled on another valid reason beside having to maintain old VB6 code that one could want to use VB6, obfuscation. I trying to find some information on the internals of VB6 as I was recently...
-
No, we settled joaquim's question. We went on this tangent for our own sakes.
-
You're complicating it. The rule is very simple. Any String passed by value is converted to a null terminated ANSI string and a pointer to the ANSI string's buffer is passed. The only things that...
-
This is actually a very insightful suggestion. There is no reason there can't be standard stubs or thunks that can be statically linked. That can't be ruled out 100%.
However, there is one huge...
-
I imagine what happens is that the compiler looks at the entire source code and look at all the calls to CopyMemory and generates a thunk for each unique call signature. And when the calls are...
-
Actually, I think he asking what would happen if you try to pass a String through a parameter that is declared as ByVal Any.
The answer to that is that it will behave as if the parameter...
-
I actually came across this several times during my research into it. I think most assemblers do this, not just the VB6 compiler.
I have a another explanation I complete forgot to take into...
-
Ok, after hours of experimenting with this, I've discovered that there are a lot of tiny nuances that only someone with extensive assembly language experience would know. I'm still very much an...
-
Learning C/C++ is ALWAYS a good bet. Despite all the different stuff we have out here now to create applications, the world still runs on C.
I wouldn't use it to write Windows desktop applications...
-
I sure hope you're right. But we have to be careful we don't under estimate the percentage.
-
This is where all the confusion is. I'm not entirely sure that this PUSH instruction does zero/sign extension. According to this document, the op code 6A is a PUSH imm8 which means it directly pushes...
-
-
Why does this read like something copy-pasted from Google Translate?
-
If your real focus is Windows Desktop applications, C# with .Net Core is the bleeding edge right now. You can still opt to use VB.Net with .Net Core but VB is in maintenance mode. MS is no longer...
-
I'm just gonna out and say it. Don't. VB6's main thing is developing desktop applications for Windows. If that is what you want to learn VB6 for, I suggest you learn VB.Net instead. And if you're...
-
What is that data.mdb file. What created that file in the first place?
-
Actually you may have just solved the mystery. That article says that all arguments are widened to 32 bits, it didn't say they are sign extended and I don't think there would be any sign extension....
-
lol...
They don't have to be the majority but that fact that Trump won an election off them showed me there are way more of these nutcases out there that I ever imagined. There are enough to...
-
Hmmm that is interesting. If it was zero extended then it should have interpreted -1 as 65535, not -2321345. The binary representation of -1 in a 16 bit Integer is 1111111111111111. If that value is...
-
I think it's more like most republicans don't go on Stormfront, 4Chan or the YouTube comment section making long rants about "race traitors" but they did allow a President who's views and behaviors...
-
I will take a guess and say is it BECAUSE it is zero extended. In your case, you're dealing with negative numbers so if it was sign extended instead of just zero extended, your code could have worked...
-
I too once believed they were fringe but then Trump won the election. That opened my eyes. Those "fringe" groups had enough numbers to turn an entire election.
-
Well lets hope so. A civil war in the US is not good for Americans or the rest of us around the world.
-
In less than a minute I was able to find this thread on Stormfront. Pay carefully attention to the rhetoric. These people are just waiting for someone to fire them up. They have been aching for a...
-
I think a civil war is inevitable or at least some level of sustained domestic terrorism. However, it doesn't have to happen today. Trump tapped into something. It's something that has existed for a...
-
That's not entirely accurate.
Any is actually a kind of alias for the Long type. This is clear when you try using Any ByVal parameters to pass anything beside Longs. It won't compile:-
'
Option...
-
I think your problem is coming into focus now. I had a very similar problem when I was designing a TCP/IP protocol for one of my programs. The protocol was a message protocol and I used classes to...
-
Well I will concede the particulars of American politics to you as I'm not a very politically savvy person. What I'm seeing is a little more visceral and raw. I see a man who's followers will burn...
-
To be clear it's not semantically the same. Using Variants invokes a conversion, using Any does not in many cases.
To understand the difference, think about what happens when you use CStr on an...
-
VB is a strongly typed language. Allowing the general use of Any would violate this. It is allowed in Declare statements because imported functions may not hold themselves to the same restrictions. C...
-
I don't think there was one in Rwanda either. Didn't stop them from slaughtering each other.
|
Click Here to Expand Forum to Full Width
|