[Legend of VB's native code]

Source: Internet
Author: User

Next I will share an unknown legend: One day I dreamed that I became a Microsoft
Programmers are surrounded by masters. I seem to have never done real programs, but I
I have witnessed some unknown things. Although the memory is vague, it seems like this.
Of:

[Legend of VB's native code]

Many people have been using VB Software since vb1.0, and VB has been able to compile,
Some people complain that VB compilation is too slow (p-code is at the cost of sacrificing speed ),
So after a long and intense discussion, the VB development team decided that people must believe it.
The ability of our VB development team to prove to the world that we have the ability to develop
A compiler that is not slow in code speed. It's time to launch an amazing product.
Their decision was finally reported to the top leadership of Microsoft. The leaders thought this was the proportion of VB.
Taking an important step in the market, we invited experts from the VC compiler team for the VB development team.
After looking at the implementation details of the VB compiler, most of the experts thought that the VB interpreter was doing very well.
Great, but most people think that it is almost necessary to rewrite VB in a real compiler.
After in-depth analysis, these experts unanimously passed the following comments:
You must start a new project. The construction period of this project must be at least two years. We will try our best
Ensure that it is compatible with VB and VBA, but it is not possible in some places. These experts can
Ensure that they can develop a brand new VB in terms of code efficiency for only two years.
Not inferior to VC, can let the market abandon Delphi completely, and even many VC programmers will
Use VB. Everyone is very excited to see the market prospects. However, the VB development team believes that it is compatible
Yes, because VB already has a large user, gun, and many codes are written in VB, and
The market cannot wait for so long as two years. These ideas are like cold water, so that everyone can calm down.
As a result, we had a heated discussion (the heated program of this discussion is no less than that of the VB. NET project.
Pre-release of the Plan). Of course there is no result in the discussion, and the matter goes to the leadership.
The leader said: "compatibility is required, and native code is even more required. You can give it at most.
Half a year, you can't do it. ".
Now, the VC and VB development teams are all scared, but they have become a ship's grasshopper.
Solution: Everyone began to blame the first person who proposed this idea.
At this time, there was a well-known small programmer in the VB development team who stood up and gave birth to it.
To put it bluntly, "We don't need to rewrite it. We can add a module to convert things of VBA
Isn't native code enough? "
VC experts laughed: "You think it is as easy as you write the VB example code.
A year and a half may be completed, and it is not enough to write another VBA function library for half a year ".
This small programmer is more timid, but he has the courage to say: "Yes, we don't need it.
Rewrite all. We only need to rewrite some of them. The part of the explain execution can not be moved"
A vc expert Ken cut said: "I can understand your mood, Comrade Xiao, but in that case,
Isn't what we make no surprise? How can this happen? Sorry, maybe ...... "
Another VC expert also stood up: "Comrade Tom, I think your solution is feasible. Yes, indeed.
Yes, we can indeed rewrite some slow functions, so that time is too late. "
Another VC expert also stood up: "Comrade Xiao, your ideas have inspired me a lot. I
We do not need to rewrite them even if they are more rooted. We can use our ready-made VC backend optimizer for the most
Final code optimization, this part can also not be rewritten"
We suddenly saw hope that another expert from the VB development team said: "Yes, we have p-code technology.
The research is very deep. With the help of the VC team, we need to turn it into a VC backend optimizer.
Other intermediate code, I think it should be difficult. "
Everyone applauded the small programmer. The little programmer listened to the experts' comments
A little float.
I woke up with a smile and thought several masters praised me just now ?!

One day later, I dreamed of the VB development team.
We have already made things in our group for half a year, and everyone is full of products.
With confidence, everyone agreed that they could show it to the leaders.
The manager frowned and said, "How does it feel no different from the original one?
What have you done in the past six months? What have I done for all your money? "
The VB development team leader, Leng Han, said with respect to each other: "Bill Zong Zai, this is what our product
Features, although there is no difference in use, but the speed is much faster, you see, this ABS function can
More than 4 times faster than the original one! "
The leaders are unhappy: "Do you think I don't know this? When I was working on basic, you were connected to a computer.
I don't know anything! In any case, let's make some difference for me, so we need to make our users feel
They bought us something worth it. They knew it was a new version when they needed it. Modify it now. We have received
To a large number of orders. Give you a week. "
The VB development team lead had no way. He immediately convened an emergency meeting to reflect the new
The problem was that everyone looked at me and someone said, "Comrade Bear, you have come up with these ideas,
What should we do now! You need to know that, at the beginning, you should stick to multiple key points to make a completely different version"
I couldn't come up with a good idea at the moment and said, "We certainly cannot make major changes.
What changes can satisfy the boss? For example, can we change the IDE? The boss will know it at first glance? "
"How can we change it? Can I change the toolbox to red? The boss should scold you and let the boss know
We changed our core stuff! "
I remember for a moment: "By the way, we will change the syntax check program to let the boss know that ABS is currently
It's a keyword. Ha, my idea will certainly work. "
My dream woke up again and I really wanted to know the final result.

One day recently, I dreamed of the team lead of the VB development team. He told me happily. Last
Thanks to me, the leaders were very happy. At the end of that year, every one of them scored a big share of Microsoft,
However, this has happened several years ago. In the past few years, the VB team has never seen any better days, but it has only been a good experience.
No, this is not VB development. The spring breeze of. Net has carried out another major reform. The last few VC experts have come,
It is said that VC has no future, and many experts have gone to C #. Here we have several more experts, just engaged in
After C #, they all said they had to finish the work they had not done a few years ago, because this is simple, the. NET platform
The group members are elites, some of which are operating system groups.
C # in BASIC language.
Native code? Explain execution? Go to hell! Now the market is on the Internet and on the web.
But now there are fewer and fewer people in the VB team, especially when you leave
Today, VB. NET was mobilized, and many people with ideas were transferred to the marketing department to write advertisements.
Words, experts are also busy speaking everywhere, not the passion we had when we started native code.
......
......
......
It's another dream.

The above legends are purely fictitious.

-Microsoft's unofficial technical research is free, and VB's unofficial Technical Support

This post is for reference only. I do not provide database or vB documents that have already been described and any unthinking Technology
Problem support. If you have any questions, please send me a short message.
I have recently published the following posts:
Http://www.csdn.net/expert/topic/533/533904.xml
Http://www.csdn.net/expert/topic/528/528657.xml
Http://www.csdn.net/expert/topic/516/516072.xml

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.