Position: Home page » Blockchain » Can Yi language write blockchain

Can Yi language write blockchain

Publish: 2021-05-19 21:13:16
1. Go language + blockchain training course:
why should we learn go language and what are the advantages of go
1. What are the advantages of go
1: performance
2: language performance is very important
3: developer efficiency & don't be too innovative
4: concurrency & Channel
5: fast compile time
6: team building ability
7: powerful ecosystem
8: gofmt, Mandatory code format
9: grpc and protocol buffers
can be directly compiled into machine code, independent of other libraries. Glibc version has certain requirements, and deployment is completed by throwing a file
static type language has the feeling of dynamic language. Static type language can check out most hidden problems when compiling, while dynamic language has the feeling that there are many packages that can be used and the efficiency of writing is very high.
2. Go language + blockchain training course:
from the characteristics of the language itself, go is a very efficient language, which highly supports concurrency. Go language itself pays more attention to distributed systems, and concurrency processing is relatively good, such as advertising and search, which are high concurrency servers
go language advantages:
excellent performance, can be directly compiled into machine code, does not rely on other libraries, go is extremely fast. Its performance is similar to Java or C + +
concurrency is supported at the language level, which is the biggest feature of go. It is born to support concurrency, and go is the concurrency supported in gene, which can make full use of multi-core and make it easy to use concurrency
the built-in runtime supports garbage collection, which is one of the features of dynamic language. Although GC is not perfect at present, it is enough to cope with most of the situations we can encounter, especially GC after go1.1
it's easy to learn. The authors of go language all have the gene of C, so go naturally has the gene of C. There are 25 go keywords, but the expressive ability is very strong. It almost supports most of the features you've seen in other languages: inheritance, overloading, object, etc
rich standard libraries, go has built a large number of libraries, especially the network library, which is also my favorite part< As like as two peas, br / > built-in powerful tools, Go language is built with many tools chain, the best should be gofmt tools, automatic formatting code, make team review become so simple, code format is exactly the same, it is very difficult to think differently.
cross platform compilation and fast compilation. Compared with the sluggish compilation speed of Java and C + +, the fast compilation time of go is a major efficiency advantage
disadvantages of go language:
package management: package management of go language is absolutely not perfect. By default, it has no way to make a specific version of the dependency library, nor can it create replicable builds. In contrast, python, node and Ruby all have better package management systems. However, with the right tools, the package management of go language can also perform well
lack of development framework: go language does not have a major framework, such as Ruby's rails framework, Python's Django framework or PHP's laravel. This is a heated discussion in the go language community, because many people think that we should not start with using frameworks. This is true in many cases, but if you just want to build a simple crud API, it's much easier to use Django / djrf, rails laravel, or Phoenix
exception handling: go language can help developers deal with compilation errors by simply returning errors (or call stack) through functions and expected calling codes. Although this method is effective, it is easy to lose the scope of the error, so it is difficult to provide meaningful error information to users. Error package can solve this problem by allowing us to add context and stack trace to return error
another problem is that we may forget to handle errors. Static analysis tools such as errcheck and megacheck can avoid these errors. Although these solutions are very effective, they may not be the right way.
3.

Yes

use PHP code to define blocks:

class block {

public $prevhash

public $hash;

public $timeStamp;

public $data;

}

prevhash: the hash value of the previous block; Hash: hash value of the current block; Timestamp: the time stamp generated by the block; Data: data stored in the block; The fields prevhash, hash and timestamp are called block headers in the blockchain, and the hash value of the block is calculated by SHA-256 algorithm

extended data

the practical use and significance of blockchain:

blockchain is a decentralized distributed ledger. What is decentralization? There is no center, or everyone can be a center. This is different from the traditional way of centralization. Distributed ledger means that the storage of data is not only on each node, but each node will and share the data of the whole ledger

In addition, blockchain has the characteristics of disintermediation and information transparency. For example, for example, when we shop on Taobao, after we place the order, the cost we pay is first hit in Alipay. After we receive the courier and confirm the receipt, the money will be transferred to the seller's account. In the blockchain, buyers and sellers can trade directly without any platform as a third-party certification authority

the system will broadcast the transaction information of both parties. All hosts will record and back up the transaction data after receiving the information. If the order of one machine is wrong, the backup data of other machines will not be affected

4. E-language is ide ·· it doesn't mean that it can't,,,,,,,,
for example, E-language can write programs that can automatically complete web page code, etc.

you can write all kinds of software if you have the ability

the front-end or back-end of the website is mostly done by PHP hmtl + MYSQL, various databases, etc., of course, there are many more, of course, these are also a kind of programming, Tools can even use Notepad to write code... It's very tired,

if you want to learn how to make a website, you can go to the network to pass lessons and have a look at many
5. This question is a bit meaningless
Yi language can write any software except driver and mobile phone software
6. Easy very powerful can write firewall, it can generate exe program
7. Generally speaking:
1. E-language is a "high-level computer language" at present. At present, the underlying control is not as powerful as C + +, and the cross platform ability is not as strong as Java
2. Because Chinese word programming is used in E-language, it can't be internationalized, so it can only belong to the minority. Most colleges and universities can't teach it, enterprises can't use it, and scholars don't exchange it. Therefore, at least at present, it seems that its future is not very bright
3. There are many things that easy language can write, such as some small applications of stand-alone version, common database operation, etc. Yi language was founded in 2000, with more than ten years of development, it still has some achievements, and it is very good to be used as an amateur

extended knowledge:
1. Computer high level language refers to such a kind of combination of words and syntax, which is used to describe the purpose of the writer, translate into computer code that can be executed correctly by the computer through a specific software environment, so as to complete the control of the computer behavior by the writer
2. A certain "computer high level language" is relatively separated from its software environment, such as easy language. If we evaluate its language, we can only say whether it is reasonable in design, easy to use, structured in design, convenient for team development, etc. From grammar, system, inheritance and other aspects to evaluate
3. The current "powerful" of a "computer high-level language" is not only the rationality of its language, but also limited by its attached "software environment translation" software, which is commonly referred to as compilation software or compilation environment. No matter how good a language design is, without a good and efficient compiling environment, it can not become an efficient machine code that can be executed by a computer
4. Apart from being unable to internationalize, the main reason for the short version of E-language is that its compiler software or compiler environment can not be compared with the mainstream programming software abroad.
8. In fact, Yi language is the same as other programming languages.. functions, classes, variables,... All have one by one. What's more, there are some components in E-language, but not necessarily in other programming languages... The API is easy and the language is still usable. It's just that Yi language is not very famous, and not many people like to use it. (I don't know why, whenever someone wants to learn Yi language, there are always a group of people who are dissuading me.) Yi language can do much more. He can do almost everything other programming languages can do (of course, it's impossible to run on a mobile phone like Java). 2D single game, online game. Download like thunder, chat like QQ. Plug in. Timers,... Landers, scripts..... In short, as long as it's software, he can do it as long as you can edit it. Memory, database. File operation, API, GDI, hook, DLL, text operation...... what I want to say is that Yi language is no worse than other programming languages. What other languages can do, easy language can do... And easy language is good for beginners. Because it is in Chinese, we can have a clearer understanding of the abstract concepts of class, interface, pointer. It's much easier to learn other programming languages...
9. As long as you can think of the program, it can be written, you can go out of easy language official website or resource library to see. There are finished procts and source code< br /> www.eyuyan.com
www.5a5x.com

you just came into contact with E-language. It doesn't matter whether the version of E-language is up-to-date or not. E-language 5.11 is the latest version. There are a lot of support libraries in it. You can write all the programs.
10. Yes, it's only theoretical. If you want to create a programming language with programming language, it's the same as creating a system in a system
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750