zoukankan      html  css  js  c++  java
  • Learning Rust

    Rust is another compiling language that may replace the position of C/C++ in server filed.

    It runs fast and can be written easily comparing with Python/Go. Python is a dynamic language

    and is limited in GIL, while Go is limited in its GC. That is reason why I prefer to learning Rust.

    Without managing memory by yourself, GC limitation and GIL limitation, I like the feeling of

    flying and do what I want. Actual it is a kind of feature of a programming language. In reality,

    we are going to choose a proper language when developing a poject according to the condition

    that can save cost and a better future of extending.

    1.Rust macro:

    If we add `!` affter a callee function, we call on a macro. And it is normal function when we call

    without `!`.

    println!("Hello World")
    

      

  • 相关阅读:
    demo
    Git
    rest-framework框架 -- 认证权限流程源码
    sublime
    restful 协议 +面试
    Django的CBV
    vue 之 vue-router
    vue 之node.js 02
    浏览器内核
    安装apache+php+mysql
  • 原文地址:https://www.cnblogs.com/zhuangzebo/p/7068185.html
Copyright © 2011-2022 走看看