Dynamic language and static language

Insert picture description here
Dynamic languages, also known as scripting languages, are languages ​​between tag languages ​​(such as HTML, XSLT, VML) and static languages ​​(such as C ++, C #, Java, also known as compiled languages). JavaScript, PHP, Perl, Ruby, etc. are all dynamic languages. The dynamic language does not need to be compiled. It is interpreted and executed dynamically by the interpreter. Generally speaking, the dynamic language has greater flexibility and expressive ability than the static language. The advantages of dynamic languages ​​are flexibility, easy development and learning, and the disadvantage is lower performance. In the implementation of high-performance servers and parallel processing, the advantages of dynamic languages ​​mask their own shortcomings. Generally speaking, for programs that accomplish the same logic function, the amount of code required to use a dynamic language such as Ruby or Python is often only 1/10 of the version implemented using Java, which is even larger than C / C ++. In the past two years, the dynamic language seems to have the momentum of rain and wind. There are a lot of articles about dynamic languages ​​on major development technology websites. In major forums, people's posts about dynamic language learning, communication, controversy, and prediction are constantly becoming eye-catching hot posts, stirring up the nerves of developers. The most prominent feature of the dynamic language is that the syntax is simple and flexible, easy to learn, and has a large number of advanced program libraries. There is no need to build programs from the bottom, which reduces the difficulty of application implementation. A C ++ programmer often fails to develop a usable program after several years of training, but a dynamic language programmer can write reusable code after several months of training. In addition, the code of dynamic languages ​​is often released in the form of open source, which is easy to use and learn. The library often determines the difficulty of a language application. Throughout history, all languages ​​with excellent libraries are very tenacious, otherwise they are easy to disappear. At present, several popular dynamic languages ​​have rich libraries. In Python, not only are there libraries such as network applications, multi-threading, image processing, scientific computing, etc., but they also have multiple sets of Frameworks of different magnitudes. Assist in web development. In fact, any required function can almost find a relatively stable library. Most programmers only need to combine these libraries to write powerful applications-which is why the amount of code for developing programs using dynamic languages ​​is small one. In addition to a large number of libraries, the types of dynamic languages ​​themselves are far greater than static languages. Similarly, each language has its own characteristics. Ruby, Python, Groovy and Perl are four representative dynamic languages. According to the general view, these languages ​​are suitable for bonding different systems and modules. Known as "glue". Later, it was discovered that "glue" not only adheres to other modules, but also has powerful functions. In situations where the importance of performance issues is not prominent, dynamic language looks omnipotent, whether it is a website or an application, you can see the figure of dynamic language. For programmers nowadays, mastering a dynamic language is more than just a fashion. Although you may not be able to find a favorite job by just one dynamic language, adopting a dynamic language in a timely manner will definitely make your job work. It's much easier.

U2FsdGVkX1+GXEp73c6japyfFDxQ9dyVHzQBhTjjoyqsp1LXQMfiiTO3V2bTJioA
/ Um5rwgc8ojvzeq / 2 + 7ouoy4myvwd9hnsec5lkquaqz4dhodvru6qqqecgoqf34tojvc5r1ejı83 A + hoi8cn8fvglcclıao + wituı1zxxf7dcgo5jsvwva0gxm9zs / jdfgbkhngubpabuhirxgz3i6l / hro6mkdfheguz1dtdr86bqddyfsqcwbu4vdep8rk7ciaic / ieyy2crep / zbpzi5btmw2dwxfd5tl5imxs83q0oyrsnumhx3d609 A / q4eehs7ıyukzzbadlgveunenn6rjg2ykzvjıbok1iw3qgj45nbea84ddwfjxyjvlvtw1lbfltaeblgizco4 / x2qddkjhseuoqze6rudic / 6tc1gv0xf / qrxl4a8wyy A + dst3vpaw3t8hm4ıt5p1oa4b1naxkuacsdoxinxf9ffkbxokagkwsaedgırfuf / hjab0ydboi2ls / + za2yuqgxbj7abddhfvzxxdwwrogktjtslkq1ocefuahqmodcxxsh + s58o7puılbdvtgbovncvtr9fmyy / yjzxqv6 + / vemywhgqsav4 / MH + zxfefwsuyvzlpq2er385n3ojus9ggxnyem6yocggw A + lgkrfxhrwoietjgjıtwybrfıb4hkfwehts2utcrecpd7ucs + gfjg + lgq8ddk0rojmwvu9rq4we3c0uyes7xvkd3ibvmf42ohxh0u3bpnjızxyvzdfd7itjfbcplnddlz04uhpwtrseys9ojspcj1x8w1otgua4x7uvlarmrmelavxhoqlx49mwwx1qu9rdpdg3fl64ıgfm + 2gl1uhfpzwsqıyuaftbosdgmfswtoumc7xhp / cxpt / toz8j9fpnSOd0As4yAc6ujNEDetxX4NDMQTiTYxUPFyfZDfMG593U9aMaWS0i72x6ujIZWwIDNg5IRADKSfuIlDxr3YFKWtrENUp6rYVvxibvVk9rejdUH2DeVi8Re / Qjc76VmGllHN1j6d6 + fC8idjJrhvZdoqUwBo / + YWIW4fpYkbXIe / g4MZ7tx / FUxSSTqifDIhzTBwGOkGr2rbpPzF7YSA6lfYd8A + WxfjU7dy45t + W4aVrP2IlnAToUcwH / g5Wyy9j0gnLXh / eIAJ2Yxpd / feaFlA4 / x2LzW4rDKvXD9PUAvMSY + jz5DmXSYdO6xzadO0CnYnhWrLV3zdDGFGa + T70Ny2PRyysGuLWW0xsYVsfDEqmDpwdJFhkuZyiPQLVYx3n0uIazO82VXlP6crHsiFJIwMsuotopE1IQf6pSCkXs8tOUcg7KXH / PzznchX6HWzjcUWTUWAR0DA5vQfAD3yVd288R + PktJ5zXkX6ydIOA / fBCCnAYhAx7rpuOz4K3X5GcJyq8fyB6btBbYz1nhR + 7 / r7Vo / pQ323j6NOtYGiYGeErybtif + T + ikgjjC3twD7XYhe4kH + BDE / er + aPueRm4xPbomXcg4AGmDv2 + BLR6gxZ8Ht8nbgf0cbfnsGy2SYB6D / CVLw7ovHnfcsBeL8oUhlyJB8zQqPQDjvyjpQn0aDZBRMLeyinWwb / g7FB6vJngZB90UNkoM9S1bZSvgK58ZKzsTeuGv + m8kGK5qlnv80KZMru8QirA914le5mAoCvXCkBWuUiTRUo / J0Z9x4VR1jhLT1f3crrkmRD7icPVMgrmu5aLawEhmJbiZEsQkiVY4Uzbpp6 / SRawixlr61dexOCcrp7MPB2fFKOJ88aNEiXzcz+AR8yWI3MZse5+fxNrm438EhVS080ZTPttVr0vdbDjkYU1lEKV4J585rw4ZAKbi9c/EVQlR7PAUSBGj53Wxz7Ii8goXEaXt/04MceMUBbaaFCVYlpoGhcgNFDdMkCXMXB/UZpj9TibBoXIeqp/UHOYux6hQo/ueSzc5vDOs9ghM2s1GmhoBXqNLMuFuQG1PxnOJldepVLzUaSJbMwpHfqfq+cZUN3uQG/JV98dOg4aWLfwKhY9/7vPmFmxM+wU4sDc06+oHDjF1yvacpbvsOjXtHXiRQiaBGFAYszHC9hl4lEKsZcS95tGlROfkSWkutkPDUl4bZgL+ecbWpAKhDgUDtSk9xZDGETCnOANaY8k+Dk403b67CWzP1rDjhQibzoqXMmOlRSGs8bqP+bwBmtZXfzjd3RTh2JHOh+wt+fSOnzeatSwfWwPJhNRxejyzybecirsyw1kIaBkRlPAg0IonHgv4K4UZQ3YgwW3pGU/cZSB1Ig2YWs6FaKNuueNc3ZOAfombjoMmlsdyihwN0Ii5g4fSh8Uf+mBlp/rRu9CqDcaHG9JdV1smYh8b2g7Z9ge01yFhAa9m8k/6FQRs+QiHzRkc2KwHE08VZPmeGdEj9oVsnXkMkXa2Medk1yzC1ROadq/eZXTJLu1yIsQUaOic6UrO9GF+exDAYH8ckn6xCzW01hZKV2Bl3pwaiyPitweI2Bes7dv1GbL4lANLX+yYRpUHeO0KzhUk3TDlBcypWNXcLdrJMQdfMAR0bEfav3PGkefUzMXLoImwTmvaeKhSb669j94IGxs119gZh387wtoB1nM1YJLrg364HMqzRLy9l/3hriyiqzAr8759zD3nlWEwVXRxs6T1BbGbE9CABRpF grE5tDcSFAcqT6dpmbH + / ylIeIWIzxPAQ + s / + Mx1MZpkWt4JaFPngQZv nVRUaXrdYMnZxagkl3rCwZilwcSDH5AKNHvRKlREPKz1kyNMksoTTncEzDCvKUGnT5f53x / Hf + JQ / 718iEnop0gEbrf sF1Zl + + + u + zmv 6Pw6zc0se6Sb9tewdGzq2PZywdD / I1TIEmQR9WyBvc3py4c / Av7YuSGnkwme6xFn / EIOaE / k4AWR85eYAx2YDpnAzBAIFdzUxaE0FZDanGnkdx 4TzumNab + + XKsjOBWqVqShEyHZzzZFa2 / vJe6yJZHOT8MkEsiC3zfy / X + j6VuWPb5Am3 diBDQ ++ + + sv7PWkgXGxgT1 0DGPCTqlks52dYdr731 KSENilWq8KZAlY1Vlz0YP7VByHhEGlfUF + / + BxylrLuiz7AgFznAmKnFB KEsHTYYIjmHNoEEn / gC88RU 98lhJhapTK25HzmrbkHvWH2Yqj9lCOSbm9yNIUEeh3wW1ladys6ZgYE2rmJPXEOeNu7yh8nHvJnWaNfQn + + + 8qWVy1qjVM7h5guJC67n Jtw9ChZfauh6OnOmnXt6CzWsl3wLYuEhFqdQ6sLCSnoFeK4E3IIPyK1RULFx3iDKHjmwNyOyGasMVUY9NQOHOZQuLf / SY8kz3jXzDBfydzYY8BW7uSblUZ2G47CwlRajEXydfFFHn3SZwVeC6FkUxiGTLkb5FNEfTYKtjPS7I0ZF4z46ZrbTV6yhXUpxyli6LZCvY1CVNvNObvcWXXas824bczy bkY8dbPQoD5aPy5CN + + XpLJjkM7qjF0VbHPXPtsPqD3HBzNjUwy/8GlulUgXkE7n35DVQ0divnFRFiwNMH2edSjHcWXSML56TUtrFu+3MJQslxG3C8nAHsvS/uCIxUfE0/nwWQnef41NzbdFEc9lo1vmzz4hPUo/4hfcKLVG6Y/x/GGQgw00Uo5Q4TjFycI02hO41KZVtMA==

Published 219 original articles · Like3 · Visit 70,000+

Guess you like

Origin blog.csdn.net/xmh_sxh_1314/article/details/105460191