When the programmer opens the plug-in
Chapter 51? First Experience of Developing Software
Chapter 51 First Experience of Developing Software
The truth Cheng Wen came up with is that the products produced by the system must be high-quality products.
But these are too abstract, so Cheng Wen wanted to find a scientific method to verify the difference between the two.
He searched the Internet and found a good solution.
The way he found was to use redis to test.
Redis is an in-memory database, and many people use it now, because it supports more data structures than memcache (also an in-memory database), so there will be more applicable scenarios.
Cheng Wen saw on the redis official website that redis can support [-] queries per second, which is a throughput, and the larger the value, the better.
Cheng Wen tested it after removing the 5G memory provided by the system. In fact, it is not as high as they said. It can only query 8 times per second, which is far from what the official website said, it can support up to [-] times per second. On the order of [-] queries.
However, the process text also expresses his understanding. The data on the official website are all stress tested with some limit tests, and there will definitely be a big gap between them and the actual use.
However, after Cheng Wen used the 5g of memory, he was surprised to find that the speed reached the terrifying level of 24 queries per second.
When Cheng Wen saw this data for the first time, he thought he had read it wrong, so he tested it again, but the result was not much different from the last time, basically the same.
Cheng Wen didn't believe that there would be such a big gap in the 5G memory, so he tested it several times again, but the data results are there, and the data will not lie.
This makes Cheng Wen puzzled, why is this, and why the performance of redis will be improved so much by adding a few gigabytes of memory.
It stands to reason that the size of the memory should have nothing to do with this.
After thinking about it, Cheng Wen came up with an explanation, that is, the reading and writing speed of the memory provided by the system is many times faster than the reading and writing speed of the memory we use.
Only this statement can explain Cheng Wen's results.
It would be great if this memory can be extended to the whole world, and everyone can use such fast memory!
If that is the case, the Internet will usher in a new wave of development.
But that's what Cheng Wen thought. After all, this thing can't be mass-produced at all, let alone mass-produced, there is no second person in the world who can use it.
Maybe in another ten years, or decades of development memory, there will be such a speed!
After all, the current technology is changing with each passing day. Perhaps one day scientists will discover a new material that can greatly increase this speed.
After testing these, Cheng Wen has a new understanding of what the system provides.
Cheng Wen decided that no matter what the system rewards in the future, he will test it as soon as possible.
After all, for such a useful thing, it would be a crime to know it a minute late, not to mention that it was an overnight stay.
With the addition of this memory, Cheng Wen felt that he developed and learned the swift language much faster.
The code he writes needs to be run to see the effect. It used to run very slowly, but now the running efficiency has improved a lot, which saved him a lot of time, and the time does not have to be spent on waiting.
However, the compilation waiting time still exists. If Cheng Wen has never been in touch with this, he may think that the compilation time is very long, but after he experienced the snail-like speed yesterday, and compared it with today's speed, He felt very happy today.
Cheng Wen actually regained the feeling of using editplus (a text editor) on windows. He wrote php code on editplus, which is what he used when he was studying a few days ago.
Cheng Wen also writes relatively simple programs, basically single files, and there are no particularly complicated scenes, so when running, combined with the shortcut keys of the text editor, you only need to press a certain key combination, It can be quickly debugged, which is very convenient.
Today, Cheng Wen first reviewed what he learned yesterday, and then started to write his own stuff.
Cheng Wen's English level is not bad. Although the materials he studied are also in English, most of them can be understood.
There are a few places that help him study, one is the manual on Apple's official website, and when Cheng Wen encounters something he doesn't know, he will first go there to look through the manual.
If he can't find it, he will go to github to take a look next, find the corresponding code examples and see how others use it.
If not, he will search for some questions on stackoverflow, which is an IT technology question-and-answer website related to programs, which can be simply understood as Baidu Zhihu or Zhihu, but this is a global scale, and it is also a professional service for it A technical website.
Under normal circumstances, after finding these methods, he can find the answer he wants. If it still doesn't work, he can add another google.
Cheng Wen developed it step by step according to the plan. He first wrote the main function, which was to create a canvas, and then create a central idea on it.
Then the keyboard input is processed, and some subclasses can be added, but in the first step, Cheng Wen only added some text editors.
The center is a slightly larger text editor, and the subnodes are smaller.
No color, no border, not even a connection, it's just ugly.
But Process Wen is still very satisfied, after all, this is his first attempt, if he can create an interface that has more functions than xmind and is more beautiful than MindNode at once, it is a bit unreal.
At the end of the day, Cheng Wen pushed the progress of this software forward a bit, so that when the mouse is left, the text editor becomes inoperable and looks like a read-only text box.
There is a simple connection between the central text box and the subclass text box, but it is the simplest connection, and they are all straight and simple lines.
As for any preferences, edit menu, view menu, adding markup, exporting to different formats, themes, etc., he has not developed at all.
However, looking at the functions he had planned, Cheng Wen selected a few less important ones, and downgraded some that he thought could be ignored. This time, the version number he developed was tentatively set to 0.1.
In the next time, a function can be added to become 0.2, and it will continue to iterate like this. When the basic functions of this software are available, it can be called version 1.0.
Speaking of the version number, it is also interesting. The version number of some software has been increasing, and it has increased to dozens. For example, the version number of chrome (the browser is similar to 360 secure browser and uc) has reached more than 80.
In fact, his version number is a bit of a trick, and other companies have been developing browsers, such as Firefox, which was also a very popular browser before, but now its market share is not so much.
It used to be because it was not as fast as chrome, and partly because its version number was not as fast as chrome, which led to the loss of users.
(End of this chapter)
The truth Cheng Wen came up with is that the products produced by the system must be high-quality products.
But these are too abstract, so Cheng Wen wanted to find a scientific method to verify the difference between the two.
He searched the Internet and found a good solution.
The way he found was to use redis to test.
Redis is an in-memory database, and many people use it now, because it supports more data structures than memcache (also an in-memory database), so there will be more applicable scenarios.
Cheng Wen saw on the redis official website that redis can support [-] queries per second, which is a throughput, and the larger the value, the better.
Cheng Wen tested it after removing the 5G memory provided by the system. In fact, it is not as high as they said. It can only query 8 times per second, which is far from what the official website said, it can support up to [-] times per second. On the order of [-] queries.
However, the process text also expresses his understanding. The data on the official website are all stress tested with some limit tests, and there will definitely be a big gap between them and the actual use.
However, after Cheng Wen used the 5g of memory, he was surprised to find that the speed reached the terrifying level of 24 queries per second.
When Cheng Wen saw this data for the first time, he thought he had read it wrong, so he tested it again, but the result was not much different from the last time, basically the same.
Cheng Wen didn't believe that there would be such a big gap in the 5G memory, so he tested it several times again, but the data results are there, and the data will not lie.
This makes Cheng Wen puzzled, why is this, and why the performance of redis will be improved so much by adding a few gigabytes of memory.
It stands to reason that the size of the memory should have nothing to do with this.
After thinking about it, Cheng Wen came up with an explanation, that is, the reading and writing speed of the memory provided by the system is many times faster than the reading and writing speed of the memory we use.
Only this statement can explain Cheng Wen's results.
It would be great if this memory can be extended to the whole world, and everyone can use such fast memory!
If that is the case, the Internet will usher in a new wave of development.
But that's what Cheng Wen thought. After all, this thing can't be mass-produced at all, let alone mass-produced, there is no second person in the world who can use it.
Maybe in another ten years, or decades of development memory, there will be such a speed!
After all, the current technology is changing with each passing day. Perhaps one day scientists will discover a new material that can greatly increase this speed.
After testing these, Cheng Wen has a new understanding of what the system provides.
Cheng Wen decided that no matter what the system rewards in the future, he will test it as soon as possible.
After all, for such a useful thing, it would be a crime to know it a minute late, not to mention that it was an overnight stay.
With the addition of this memory, Cheng Wen felt that he developed and learned the swift language much faster.
The code he writes needs to be run to see the effect. It used to run very slowly, but now the running efficiency has improved a lot, which saved him a lot of time, and the time does not have to be spent on waiting.
However, the compilation waiting time still exists. If Cheng Wen has never been in touch with this, he may think that the compilation time is very long, but after he experienced the snail-like speed yesterday, and compared it with today's speed, He felt very happy today.
Cheng Wen actually regained the feeling of using editplus (a text editor) on windows. He wrote php code on editplus, which is what he used when he was studying a few days ago.
Cheng Wen also writes relatively simple programs, basically single files, and there are no particularly complicated scenes, so when running, combined with the shortcut keys of the text editor, you only need to press a certain key combination, It can be quickly debugged, which is very convenient.
Today, Cheng Wen first reviewed what he learned yesterday, and then started to write his own stuff.
Cheng Wen's English level is not bad. Although the materials he studied are also in English, most of them can be understood.
There are a few places that help him study, one is the manual on Apple's official website, and when Cheng Wen encounters something he doesn't know, he will first go there to look through the manual.
If he can't find it, he will go to github to take a look next, find the corresponding code examples and see how others use it.
If not, he will search for some questions on stackoverflow, which is an IT technology question-and-answer website related to programs, which can be simply understood as Baidu Zhihu or Zhihu, but this is a global scale, and it is also a professional service for it A technical website.
Under normal circumstances, after finding these methods, he can find the answer he wants. If it still doesn't work, he can add another google.
Cheng Wen developed it step by step according to the plan. He first wrote the main function, which was to create a canvas, and then create a central idea on it.
Then the keyboard input is processed, and some subclasses can be added, but in the first step, Cheng Wen only added some text editors.
The center is a slightly larger text editor, and the subnodes are smaller.
No color, no border, not even a connection, it's just ugly.
But Process Wen is still very satisfied, after all, this is his first attempt, if he can create an interface that has more functions than xmind and is more beautiful than MindNode at once, it is a bit unreal.
At the end of the day, Cheng Wen pushed the progress of this software forward a bit, so that when the mouse is left, the text editor becomes inoperable and looks like a read-only text box.
There is a simple connection between the central text box and the subclass text box, but it is the simplest connection, and they are all straight and simple lines.
As for any preferences, edit menu, view menu, adding markup, exporting to different formats, themes, etc., he has not developed at all.
However, looking at the functions he had planned, Cheng Wen selected a few less important ones, and downgraded some that he thought could be ignored. This time, the version number he developed was tentatively set to 0.1.
In the next time, a function can be added to become 0.2, and it will continue to iterate like this. When the basic functions of this software are available, it can be called version 1.0.
Speaking of the version number, it is also interesting. The version number of some software has been increasing, and it has increased to dozens. For example, the version number of chrome (the browser is similar to 360 secure browser and uc) has reached more than 80.
In fact, his version number is a bit of a trick, and other companies have been developing browsers, such as Firefox, which was also a very popular browser before, but now its market share is not so much.
It used to be because it was not as fast as chrome, and partly because its version number was not as fast as chrome, which led to the loss of users.
(End of this chapter)
You'll Also Like
-
I'm developing a mobile game in StarTie, and even the Star Gods are crazy!
Chapter 92 44 minute ago -
A review of famous scenes in anime: starting with Emiya Giant Warrior
Chapter 190 44 minute ago -
Review of the characters of the spell, starting with the sky and the tyrant
Chapter 39 45 minute ago -
Taking stock of the Saiyans' transformations, the whole universe is stunned!
Chapter 84 45 minute ago -
American comics: My understanding is beyond belief, I created my own little universe
Chapter 91 45 minute ago -
Pirate Family
Chapter 1318 11 hours ago -
Full-time Summoner
Chapter 1763 11 hours ago -
Technology: breaking the hegemony that monopolizes the world
Chapter 1904 11 hours ago -
Out of the cage
Chapter 1605 11 hours ago -
Build Madness
Chapter 1094 11 hours ago