博客
关于我
第二课《shell 编程基础》
阅读量:574 次
发布时间:2019-03-11

本文共 526 字,大约阅读时间需要 1 分钟。

编程语言分类:

  • 编译型
  • 解释型

编译型语言:c、c++、c#

解释型语言:

内置型:shell、perl源码并入了linux kernel,提供内核级单条语句的效率
外置型:python、java、js,通过一个解释器(解释器本身的编译型语言例如c/c++写的可执行精灵程序)。外置型语言普遍比内置型语言的执行效率要高(总体上来说,单条未必)。通过预编译技术,将运行时解释的部分工作提前在运行前算好了(摘要、分类、预测),所以整体上其执行效率也非常高,其中java的执行效率接近c++,但是python的执行效率还是个渣渣。

各编程语言都有if switch for while 等与语法,也都要字符串、int、常量、数组等基本数据类型。

差异并不是特备的明显,所以一般的后端程序员,在工作过3年以上以后,任何语言都会一点。编程语言的主要差异在于:编译器的层次,和库的依赖方式。

这里提一下go语言:

golang曾经长期在解释型编程语言界混,然后由于创始人本来是写汇编编译器的,在经过市场实用几年以后,创始人将golang于他写的那个汇编器挂钩,一下提升了golang的层次,进化到了编译型编程语言。

一个程序的时间消耗:

  • 程序员编码(一次性消耗&#

转载地址:http://wdhvz.baihongyu.com/

你可能感兴趣的文章
NN&DL4.3 Getting your matrix dimensions right
查看>>
NN&DL4.7 Parameters vs Hyperparameters
查看>>
NN&DL4.8 What does this have to do with the brain?
查看>>
nnU-Net 终极指南
查看>>
No 'Access-Control-Allow-Origin' header is present on the requested resource.
查看>>
No 'Access-Control-Allow-Origin' header is present on the requested resource.
查看>>
NO 157 去掉禅道访问地址中的zentao
查看>>
no available service ‘default‘ found, please make sure registry config corre seata
查看>>
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
查看>>
no connection could be made because the target machine actively refused it.问题解决
查看>>
No Datastore Session bound to thread, and configuration does not allow creation of non-transactional
查看>>
No fallbackFactory instance of type class com.ruoyi---SpringCloud Alibaba_若依微服务框架改造---工作笔记005
查看>>
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc
查看>>
No mapping found for HTTP request with URI [/...] in DispatcherServlet with name ...的解决方法
查看>>
No mapping found for HTTP request with URI [/logout.do] in DispatcherServlet with name 'springmvc'
查看>>
No module named 'crispy_forms'等使用pycharm开发
查看>>
No module named 'pandads'
查看>>
No module named cv2
查看>>
No module named tensorboard.main在安装tensorboardX的时候遇到的问题
查看>>
No module named ‘MySQLdb‘错误解决No module named ‘MySQLdb‘错误解决
查看>>