Hammer of Technology
Page 236
"Meow... I participated in the design. I studied 642 computer languages around the world, compared their advantages and disadvantages, made optimizations and trade-offs between execution and compilation, and made a balance between security and ease of use. Optimization and trade-offs, optimization and trade-offs have been made in various specifications and versatility. Let’s put it this way, Cangjie is a full-scenario development language like Java and C++, but its performance stability is higher than that of Java. However, in order to ensure safety and stability, There are certain requirements for scalability. In addition, Cangjie language also supports low-level operations. Of course, this is slightly more difficult to learn than Java, and requires a certain understanding of the underlying logic of computers. Of course, for programmers who understand C and C++ That being said, it's pretty easy to get started."
Ning Wei felt that although the kitten on the screen wanted to express modesty, it was showing a sense of pride. Obviously, the kitten was very satisfied with this set of Cangjie language.
"Meow... the most important thing is that Cangjie's compiler is very powerful. I have contributed a lot to this compiler. Not only Cangjie, it can also support more than [-] computer languages in the world. The text editing function that Chinese people are used to has accurate real-time error reporting capabilities. In addition, I have added many mature code lists to the content library to ensure that Cangjie has many optional structures at the beginning of its birth. I call it A programmer's friend forever."
"Oh!" Ning Wei replied, then glanced at Cangjie's compiler, and then directly uninstalled the programming language.
It is versatile, easy to learn and powerful, which means that this is for programmers who are oriented to the general public, and it is not available to him for the time being.The power of habit is powerful, and Ning Wei thinks it is good to use C and C++ before they can be used.
More importantly, he doesn't have time to find out whether the Cangjie language is easy to use or not, but it seems that the comment section has received a good response, so that's fine.Now he still has something busy at hand - researching the instruction set.
The working principle of the CPU is to convert the input information into 10101 digital signals. These signals are converted into high level and low level by the CPU module that can apply Fourier transform. These analog electrical signals pass through different modules as specified. The tiny transistors will produce "close" and "open" actions, and finally get the calculation result.
Now his task is to let the CPU produced by the future three-dimensional silicon through tube technology know how to work.But if you think about it that way, it’s really boring, so Ning Wei feels that his task now is to make Intel, AMD, Qualcomm and other world-renowned companies nervous, and realize that the field of large-scale general-purpose chips can be rolled up like crazy...
"Meow, don't you think Cangjie's language doesn't deserve your attention?"
"No, March, it's just that I have more important things to do now, as you know, we have to work together to design an instruction set for the [-]D-Silicon-Through-Through-Tube CPU, and Cangjie can't do this. Why don't we start with something simple , you find an open source and simpler instruction set, let's study it first."
"Meow... ok."
The next moment, Ning Wei looked at the screen full of 0s and 1s and fell into deep thought.After all, the thinking patterns of machines and humans are different, and the focus is on these 0s and 1s, but what Ning Wei thought of at this time was a joke he saw on the Internet when he was very young.
The story is about a little brother whose computer is broken, so the old iron of the little brother introduced him to a good man to fix it. After the good man came, he probably checked the computer and asked him if he had a win98 CD at home. The little brother said no, the master didn't say anything, just asked him for a landline phone, and then made a cable to connect it to the computer, and then started typing 0 and 1 non-stop.
Then the little brother went to sleep, and when he woke up, he found that the genius was still sitting in front of the computer and kept typing 0 and 1, but he just told him that it would be fine soon.Sure enough, without waiting for a while, the computer at home was repaired, specifically a win98 was reinstalled.At that time, the little brother who didn't understand computers didn't think it was a big deal. He just sent this great man away with great gratitude, and he didn't realize until many years later that a good man is really a good man...
At that time, Ning Wei really believed this joke, and felt that the master who knows computers is so good that he can use a landline phone to open an operating system!But now he is sure that it is really a joke. If anyone can really knock out a system based on binary machine code in the future, it will probably only be March after evolution. Even if he looks at the screen full of 0 and 1 Can only catch blind.
"San Yue, how can I understand the machine code when you put it in?"
"Meow, isn't this very simple? For example, this one means that the CPU's operation word length is 32 bits, and it processes 4 bytes at a time; this paragraph means that it is allowed to have a segment beyond the prefix, you can use es, ds, cs, ss, fs, gs; this section stipulates that the first operand is a memory address, and the second is an immediate value; this section is time control..."
Accompanied by the sound of March, 0 and 1 are constantly underlined in different colors and fonts, and they will also be thoughtful in using words to express what these 0 and 1 mean.At this moment, Ning Wei really felt that March wanted to teach him how to read binary machine language...
"March... Excuse me..."
"Meow..." Sanyue yelled in dissatisfaction, flicked her tail by the way, and looked at Ning Wei with a temper, as if the teacher was speaking passionately in class, but the disobedient students suddenly stood up The kind of temper that is like fighting.
"Don't put the machine language directly, I still have a little understanding of assembly language, can't you just assemble it for me?" Ning Wei said helplessly.
“喵……,movwordptres:[eax+ecx*32+0x11223344],0x12345678……”
Although very angry, the kitten still compromised. Although the things on the screen were still complicated, at least Ning Wei could understand them without Sanyue explaining them one by one.
This is the difference between assembly language and 01 code. Simply put, assembly at least belongs to the category of human language. As for the binary recognized inside the machine, it is probably no different from bird language in the eyes of humans.
For Ningwei, this link is very important. By learning how others define the working mode of the CPU, and then discussing with March how to make the CPU work more perfectly in line with human requirements.
The excellent instruction set allows various data instructions to be calculated in the CPU like a smooth pipeline, the fastest execution of various data and instructions, and no various BUGs, and it is best to expand and support as many levels as possible. Such as 3D rendering, various multimedia tasks...
It is a very complicated but necessary work.
Ning Wei, who was immersed in the code, once again forgot the passage of time, and just asked and answered Sanyue from time to time, until the phone ringing woke him up from the sinking state again.
The call was from Senior Brother Zhou, and he subconsciously prepared to hang up and mute it just now, but Ning Wei suddenly realized that Senior Brother Zhou was no longer a simple senior brother, but the counselor of Ning’s class. Called Zhou Yanping.
"Hey, Brother Zhou, what's the matter?"
"Ning, a parent of a student in Ning's class called me just now and asked me if the school has set up a Ning club, and I have to pay 7 for the club fee. I was dumbfounded at the time..."
"What? Ningshe charges?" Not only Zhou Yanping on the other side of the phone was dumbfounded, but Ning Wei was also dumbfounded after hearing this.
Especially the fee of 7.5?
Ningban dare not charge tuition like this.
"Yeah, I didn't dare to be negligent when I answered the phone, so I hurried to find out, and then I realized that it was created by those top students in the class. The initiator was Chen Diancheng. They wanted to set up a student association, and they took the award as the proposer. 11, none of the other first batch of initiators provided 7.5 as the initial operating funds of the society. According to their intentions, they hope to turn Ningshe into a scientific research association among students. These association funds will be used to incubate them in the future Various innovative projects proposed by the students. In the future, if someone wants to join the Ning Society, 20.00% of the scholarship should be used as the community fund.”
Zhou Yanping explained on the phone: "I'm calling you this time. I think I don't know how to deal with this matter. It doesn't sound like a bad thing, but it feels weird."
Ning Wei thought for a while and asked: "No, then there is no scholarship, how can I pay the club fund?"
"No, Ning, don't you understand? If you want to join the Ning Society, you must at least have decent grades. What the children mean is that if you can't even get a scholarship, you don't deserve to join the Ning Society at all."
"Oh...that's it..." Ning Wei understood, and suddenly realized that he still underestimated the abilities of Ning Ban's group of children, they really know how to play.
------------
337 Difficult!
Of course, what made Ning Wei emotional was not only that these children could play, but also that these children were really rich...
Sure enough, most of the people who can be admitted to Yanbei University are not fuel-efficient lamps. The club proposers directly offer 11 yuan, and the sponsors each contribute 7.5 yuan. If there are more initiators, millions can be collected in minutes.Not to mention that ordinary college students can't afford so much money, Ning Wei thinks that at least 5.00%, young people who have just started working in their [-]s can't afford so much money at once.
But thinking about what he saw on the news, many outstanding students would sign up to go to the Antarctic scientific research in high school, and the cost of going to the Antarctic is often 10+, and Ning Wei felt that it was not too strange.
There is a difference between the Ning class and the gifted youth class. Many children have received the most comprehensive and best education in China in the middle and high school stages, and there is a high probability that they are not short of money.
Zhou Yanping's words soon confirmed his judgment.
"...Our classmates in class Ning are also very rich. There are eight people in total, but only one of them needs to ask their parents because the money on the card is not enough 7.5. Without this child, we can't know about it. Ningwei, you How do you think this matter can be handled properly without dampening the enthusiasm of these children? Letting a group of half-grown children manage this money is not good, right?"
"Have you told the other teachers about this?"
"I discussed it with Lucy and Lao Lu, but Lucy didn't think it was a problem at all. What she meant was that it was a good thing, as long as the children didn't ask us for help, we don't have to interfere too much. Lao Lu didn't give anything I don’t think it’s a big deal. But I think these people have pooled hundreds of thousands. If there are still people who are willing to join in the future, there may be several million. If something happens because of the money, it’s okay. Very good."
After listening, Ning Weiran nodded, his reaction to Lucy Ron and Lu Dongyi was in line with their personalities.The former thinks that if the students have any good ideas, of course they should be encouraged to do it. The latter has always felt that there is nothing important except mathematics. As long as these children do not delay their studies, there will be no problem...
But to think about the problem from the perspective of Zhou Yanping's counselor, of course, I have to think more.
After all, if something really happened, the board must hit him first.In particular, he took the initiative to fight for the status of Ningban's counselor.
"Okay, leave this matter to me. I'll go back and ask them what they think about it, and then think about how to solve it."
After hanging up the phone, Ning Wei looked at the time. It was already 10:[-] in the evening. According to the military training plan he had seen before, it would take about an hour for the evening training to end.Mobile phones are not allowed during training, which means that he has [-] minutes to think about how to communicate with these talented children about Ningshe.
In fact, in the eyes of the teachers, there is nothing wrong with setting up a society for future scientific research, but the money paid by this society is obviously too much.The students took out tens of thousands of dollars at a time, which was really scary.
But then again, Ning Ban's scholarship can indeed support the membership fee, and if it is really necessary to incubate the project, the money is actually not too much.If many topics are not supported by the school or the professors, it is really difficult to achieve them with the strength of the students alone, and money is a big problem.
Even if it is a laboratory in a school, students will be charged for doing some experiments for their own projects, including using supercomputers, and they may have to queue up. Often, the more expensive the equipment, the higher the fee.Although your own school definitely has various preferential policies, if you don’t have a professor’s endorsement, you may not be able to pass the application in many cases.
From this point of view, Ningshe's original intention must be good.It's just that freshman hasn't reached the time to think about doing these.If these children had this idea in their junior year, Ning Wei would think it was really clever.
By that time, children who are suitable for research in the future have almost been screened out.It is feasible to use this bonus to try to incubate the project, and there is nothing wrong with letting these children know the difficulties of scientific researchers in advance.
Ning Wei still thinks of these children too simply.
In his view, these children established Ningshe just to incubate mathematics projects within Ningshe. In fact, Chen Diancheng considered various natural science projects from the beginning. If the management of Ningshe is optimistic, they can invest in and encourage them, and even Similar to the taste of investment banks.The only difference is that the investment bank invests in a project, mainly to see if the project can bring benefits, but they are to see if it can promote the progress of China's technology...
Obviously, Ningshe is far more ideal than investment banks.
Twenty minutes passed, and Ning Wei had probably figured out how to talk, so he took out his mobile phone and called out Ning Ban's small group.
It was still the group of students he thought had potential before. There were no other teachers and sixteen students in it, a total of seventeen people.Both the proposer and initiator of Ning Society are in this group, so Ning Wei didn't bother to create a group to talk about it with a few people.
After opening the group chat, Ning Wei directly @Everyone asked: "I heard that you are planning to set up a Ning Society recently? Is there such a thing?"
There was a response soon, and soon a cat-head question mark animation appeared: "What is the boss talking about? Why does it sound so powerful but I don't know?"
Ning Wei glanced at Sanyue on the screen, obviously this moving picture is a set of pictures from the Sanyue emoticon pack.
Ever since I started popularizing science for the public, the emoji packs in March have become very popular. Similar to Ning Weizhi, there is another picture that is exactly the same, but the text edited in that animation is "How can there be meows in this world? know something?"
Anyway, it looks cute, well, cute emoticons are one thing, when I saw this picture, Ning Wei felt that I was sloppy.He thought that the execution efficiency of these gifted children was very high. At this time, at least the outstanding students in his mind already knew about this Ningshe. It seemed that he was overthinking it.
But Ning Wei quickly forgave himself, at least he didn't talk about it in the class group...
Fortunately, he didn't feel embarrassed, and the instigator replied soon. Young people seem to like to talk with pictures first. Chen Diancheng sent a shy dynamic smile, and the way his little hands scratched his bald forehead looked cute. .
After posting the picture, the initiator of the Ning Society sent a message: "I also emphasized to everyone that it should be kept secret. I didn't expect Professor Ning to know it in less than ten hours!"
"It's hard to know. How should I put it? I think Ning Society's original intention is fine, but don't you think it's too early to invest in scientific research? In fact, you probably don't have much concept of scientific research. , Most of the time it’s just imagination. How can real scientific research be so easy to produce results? If you are willing to listen to my advice, you should focus on learning first.”
"Especially freshmen and sophomores are at the stage of laying the foundation. If you focus on the management of Ningshe at this time, how can you ensure that your grades can meet the standards? Advanced mathematics is still very difficult! Especially when you join the society The fee is still so high, managing this money will definitely distract attention from learning, and choosing good projects will also distract attention, so don’t you think the establishment of Ning Society is a little earlier?”
Seeing that the perpetrator had been blasted out, Ning Wei began to persuade him earnestly.
The copy didn't let Sanyue do it, it was all the content he had thought up in the past 10 minutes, edited two paragraphs quickly and sent it out.
"@宁教师, it's wrong to say that. Our establishment of the Ning Society will not conflict with learning. In fact, we have already studied many courses in the freshman stage, so there must be no impact on learning." This reply It was Wang Xiwen, the deputy squad leader.
"It's Professor Ning, don't underestimate us, we are the students you selected, and we have already mastered many basic mathematics."
"Self-study +1."
"Self-study +2."
……
"Self-study +12."
Seeing these words, Ning Wei suddenly felt that the children in Ning Ban were a little too proud?Think math is too easy?
This is still in military training, so many people dare to say that they have already taught themselves the freshman courses?
After thinking about it, Ning Wei decided to educate these children with facts. After thinking about it for a while, a topic appeared in his mind.
"Have you studied by yourself? Okay, then I will give you a question first to see how well your self-study works. The question is as follows: Suppose f(x, y) has a continuous second-order partial derivative in R, satisfying f(0, 0 )=0 and fxx+fyy=x2+y2. Use Cr to represent the circle whose center is at the origin and radius is r. Request the average value of f(x, y) on Cr A(r)=12πr∫Crf(x, y)ds, where the integral is a type-[-] curve integral."
This is an exercise in mathematical analysis. The question itself is not too difficult. It tests the students' ability to understand mathematical concepts.But that is for students who have studied mathematical analysis and advanced mathematics.
Don't be afraid of these kids cheating. Now these kids are in military training, no one will bring a big book, and even if they want to cheat, it is impossible. This is his own question, even if he searches the same question on the Internet now The question type needs to be understood in order to answer it correctly.Of course, Ning Wei will not wait that long, as long as no one makes it within 10 minutes, they can already tell them that mathematics is not as simple as these children imagined.
Sure enough, the group was quiet for a while, but...
"A(r)=12π∫2π0f(rcosθ,rsinθ)dθ
=12π∫2π0dθ∫r0fx(ucosθ,usinθ)cosθ+fy(ucosθ,usinθ)sinθdu
=12π∫r0du∫2π0fx(ucosθ,usinθ)cosθ+fy(ucosθ,usinθ)sinθdθ=12π∫r01udu∫x2+y2=u2fxdy–fydx(第二型曲线积分)
=12π∫r01udu∫∫x2+y2?u2fxx+fyydxdy=r^416,这一步的结果是先用Green公式,然后极坐标变换,您看对吗?”
Chen Diancheng's speed was very fast. Ning Wei took a look at it, and it took the monitor of Ning's class only about 6 minutes to solve the problem and type.
But it's not over yet...
"Squad Leader Chen is really fast, but my solution is not the same as that of Squad Leader Chen. Let Professor Ning see if he solved it like this..."
"I also thought of a solution..."
Soon, a total of nine people gave their own answers, using three different solutions. Although the speeds were different, the details were still slightly different. Ning Wei felt that no one could solve it, so he insisted on answering. of……
Of course, this is enough to show that these children have already studied freshman courses by themselves, and they are not joking with him.
It feels like being slapped in the face, but in fact, the mood is quite happy, which also makes Ning Wei feel very emotional. These children in Ningban are really much better than him back then. At least he was asked to do this kind of math during his military training. Analyzing the question, I guess I can't even understand the stem of the question.
But the problem is that this exhortation failed so badly that he didn't know what to say for a while.
"Yes, yes, this shows that everyone has really studied by themselves, but it doesn't seem capable to do this basic question type. I'm going to give you an advanced question type..."
……
In this way, both parties seem to have forgotten the purpose of this chat, and began to discuss some topics that need to be studied in the freshmen and sophomores.
From Ning Wei's point of view, it is impossible for him to deliberately make things difficult for these children, so most of the questions he asked were based on the knowledge points such as advanced mathematics, linear algebra, and composite functions learned in college.It is not good for these students to directly take Lie algebra, functionals and other obscure and complicated questions to test these students before they have started formal learning.
The effect cannot be said to be bad, at least fewer and fewer children can solve the last two questions, but it is clear that Chen Diancheng and Wang Xiwen have achieved a good effect of self-study, or they are too spiritual, and the general questions are really good. It can't be difficult for the two of them, even though both of them got the wrong result for the third question, the overall idea of solving the problem is remarkable, which makes Ning Wei a little speechless...
Just about to come up with the fourth question to let these two guys know the depth of college mathematics, someone suddenly posted on WeChat: "The instructor is here."
Only then did Ning Wei realize that these children were still in military training.
"Forget it, let's get here first today, let's talk about it tomorrow, you guys go to sleep, you have military training tomorrow."
After sending this sentence, Ning Wei put down the phone in frustration.
After thinking about it, I felt that I couldn’t be the only one feeling frustrated, so I picked up my phone again, and took a screenshot of the question he asked today in the group and the problem-solving process sent by the students on WeChat, and then sent it to the roommate group of Zengjiang University .Then he said with emotion: "Hey, these are the questions solved by the children of the Ningbo class who are still in military training and have never attended a day of class. There are three questions, one is mathematical analysis, one is linear algebra, and the other is about derivatives and differentials. This group of children They can do all of them. Compared with them, we were really scum when we were freshmen!"
As the core figure in the dormitory group, Ning Wei's news has always been the focus of attention.
Especially on non-weekend nights at a few minutes to ten, when everyone has free time.
So soon neat three "?" appeared in the group chat.
"Professor Ning, what are you making trouble with? Let alone a freshman, I won't know how to ask you these questions now." After posting the question mark, Luo Xiang immediately gave his own opinion.
"That's right, Professor Ning, you look down on us too much. You said that we would do it after graduation. If you weren't still in the group, I would almost forget that my university is in the School of Mathematics." Mr. Xu The second make-up.
"Ahem, I can still solve the first and second questions, and the third question is a bit of a detour... It's over, after two years of graduation, I have returned everything I learned to the professors... Ning Ban is really too strong! "Liu Cong still showed his half-hearted temperament as always.
……
Ning Wei just felt that his enthusiasm was waning. These screenshots were intended to arouse the shame of these roommates, but obviously, they didn't have much feeling or shame, and some even felt proud instead of ashamed. It was a perfect proof The saying that if you are shameless, you are invincible.Too lazy to care about these three guys, Ning Wei opened the instruction set he was working on again.
You'll Also Like
-
Colonial Suit
Chapter 1210 6 hours ago -
Restart Your Life And Start Getting Rich By Copying Game Coins
Chapter 177 6 hours ago -
What’s the point of cultivating immortality if you don’t have money?
Chapter 223 6 hours ago -
Pokemon: How Are You Cultivating Immortality in the Pokemon World?
Chapter 241 12 hours ago -
My Doomsday Battleship RV.
Chapter 197 13 hours ago -
One Piece: Start as a mythical beast, practice to become stronger.
Chapter 708 16 hours ago -
Naruto: If I ask you to be Naruto, you will become a yellow-haired person?
Chapter 124 16 hours ago -
The Secret Way of Immortality
Chapter 659 16 hours ago -
Lord of All People: Who the hell let the Zerg in?
Chapter 1290 16 hours ago -
Slime simulator
Chapter 1099 16 hours ago