首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏计算机基础

    计算机基础5)——编程语言与跨平台

    另外,由于汇编语言仍是面向机器的语言,因此在使用汇编语言编程前仍然需要具备一定的计算机指令集的基础才能正确的编写出汇编语言。 这就是我们要考虑的语言的跨平台特性。即程序代码只编写一次,但可以在不同的平台(CPU的架构)执行该程序。 不难发现,高级语言(例如C)就是具备了跨平台的特性。 实际上,C语言编写的源代码程序想要在windows平台运行还要考虑到操作系统的因素,那么完整的说法应该是需要安装windows平台基于x86架构的编译器,才能在使用了x86架构的CPU并安装了windows 想要做到跨平台也太麻烦了吧?如果CPU的架构再多几个,操作系统的平台再多几个那么对应的编译器岂不是变得非常多?从原则上来说是的,但是我们要了解一下市场行情就知道我们所担心的问题其实并不会出现。 所以官方在推出编译器时也会考虑目前操作系统的市场环境,例如很多语言的编译器/解析器/运行平台等在Linux平台会推出x64架构以及arm架构,但是在windows平台就只会推出x64架构的编译器,这主要还是市场环境决定的

    83731编辑于 2025-01-03
  • 来自专栏技术杂记

    nginx基础5

    options for PCRE --with-pcre-jit build PCRE with JIT compilation support --with-md5= DIR set path to md5 library sources --with-md5-opt=OPTIONS set additional build options for md5 --with-md5-asm use md5 assembler sources --with-sha1=

    25520编辑于 2022-05-12
  • 来自专栏技术杂记

    Codis 基础5

    zookeeper [root@h101 zookeeper-Standalone]# grep -v "^#" conf/zoo.cfg tickTime=2000 initLimit=10 syncLimit=5 192.168.100.101:2180 product=test dashboard_addr=192.168.100.102:18087 password=codis backend_ping_period=5

    36210编辑于 2022-03-22
  • 来自专栏技术杂记

    Logstash 基础5

    Filebeat 是一个轻量友好的工具,用来从目标服务器中收集文本日志然后然后转发给 Logstash 实例进行处理,其实就是一个 Logstash 的轻量前端文本收集代理

    33020编辑于 2022-02-10
  • 来自专栏技术杂记

    KVM基础5

    由于我们虚拟机接入局域网是使用的网桥,也没有手动配置IP,所以开始会被自动分配一个IP,但作为服务器不能使用动态IP,最好静态指定,所以要修改一下网络配置

    44010编辑于 2022-01-19
  • 来自专栏技术杂记

    Tengine基础5

    server y.y.y.y:80 max_fails=1 fail_timeout=10s weight=25; check interval=5000 fall=5

    40030编辑于 2022-04-25
  • 来自专栏技术杂记

    ZooKeeper 基础5

    Attribute Comment czxid The zxid of the change that caused this znode to be created. mzxid The zxid of the change that last modified this znode. ctime The time in milliseconds from epoch when this znode was created. mtime The time in milliseconds from epoc

    31540编辑于 2022-03-25
  • 来自专栏技术杂记

    Docker 基础5

    ; disabled; vendor preset: disabled) Active: active (running) since Tue 2016-01-19 17:49:51 CST; 5s docker[4514]: time="2016-01-19T17:49:51.279578666+08:00" level=info msg="Docker daemon" commit=a34a1d5

    34110编辑于 2022-02-09
  • 来自专栏技术杂记

    RabbitMQ基础5

    limits.conf 中修改系统的文件句柄数,这个参数对会产生大量连接,需要打开很多文件的服务有制约作用,系统的默认1024比较保守,可以满足开发需求,但无法满足生产需求 ---- rabbitmqctl基础操作

    29510编辑于 2022-05-04
  • 来自专栏技术杂记

    fio基础5

    randrw 使用随机读写模式 -rwmixread=70 随机读写下读占比70% -ioengine=psync 使用psync的io引擎 -bs=16k 设定单次IO的block size大小 -size=5G 这次要进行如下测试 1.要求绕过buffer 2.io队列深度为4 3.100个线程并发 4.随机读写,写占比30% 4.blocksize并不统固定,其中4k占比10%,64K占比50%,32k占比40% 5. 总大小为5G 6.50秒钟给出结果 [root@iZ116haf49sZ iotest]# time fio -filename=/tmp/iotest/test -direct=1 -iodepth 4 -thread -rw=randrw -rwmixread=70 -ioengine=psync -bssplit=4k/10:64k/50:32k/40 -size=5G -numjobs=

    68460编辑于 2022-04-24
  • 来自专栏技术杂记

    Kibana 基础5

    docs.count docs.deleted store.size pri.store.size yellow open logstash-2015.05.19 5 4624 0 30.8mb 30.8mb yellow open filebeat-2015.12.24 5 3182 0 1mb 1mb yellow open logstash-2015.05.18 5 4631 0 28.9mb 28.9mb yellow open logstash-2016.12.22 5 1 0 11.6kb 11.6kb yellow open logstash-2016.12.23 5

    55120编辑于 2022-02-10
  • 来自专栏技术杂记

    memcached基础5

    root@h101 memcached-1.4.24# /usr/local/bin/memcached -h

    31020编辑于 2022-06-26
  • 来自专栏技术杂记

    UnrealIRCd 基础5

    * password entries in the conf no longer require specifying an auth-type like password "..." { md5; notBefore=Mar 21 14:20:53 2016 GMT notAfter=Mar 19 14:20:53 2026 GMT SHA256 Fingerprint=05:CD:52:91:5B

    61910编辑于 2021-11-29
  • 来自专栏技术杂记

    etcd 基础5

    获取值 [root@docker etcd-v2.2.4-linux-amd64]# curl http://127.0.0.1:2379/v2/keys/message {"action":"get","node":{"key":"/message","value":"Hello world","modifiedIndex":12,"createdIndex":12}} [root@docker etcd-v2.2.4-linux-amd64]# ---- 修改值 [root@docker etcd-v

    46210编辑于 2022-01-20
  • 来自专栏技术杂记

    qshell基础5

    qdownload qdownload 从七牛空间同步数据到本地,支持只同步某些前缀的文件,支持增量同步 [root@h101 qshell]# cat ccfg { "dest_dir" : "/tmp/x", "bucket" : "qiniucloud-goods", "domain" : "http://video.qiniutest.cn", "access_key" : "ELUs327kxVPJrGCXqWae9yioc0xY

    28560编辑于 2022-04-24
  • 来自专栏技术杂记

    Snort 基础5

    再次配置,就成功了 [root@h101 daq-2.0.6]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make

    61030编辑于 2022-05-03
  • 来自专栏前端真相

    js基础5

    1. Error所有错误类型的父类型 * EvalError * RangeError:参数范围异常,toFix(num), 0=<num<=100(最新Chrome) * ReferenceError:找不到对象 * SyntaxError:语法错误 * TypeError:类型错误或者类型方法错误 * URIError:URI错误 2. 错误处理 * * try包裹的范围尽可能小;finally释放对象;finally可有可无:,大

    1K110发布于 2018-05-22
  • 来自专栏技术杂记

    Beats 基础5

    pri rep docs.count docs.deleted store.size pri.store.size yellow open logstash-2015.12.23 5 1 100 0 235.8kb 235.8kb yellow open filebeat-2015.12.24 5 1 3175 0 1018.6kb 1018.6kb yellow open logstash-2015.12.22 5 1 41

    28920编辑于 2022-02-11
  • 来自专栏技术杂记

    Mycat 基础5

    univocity-parsers-1.5.4.jarib/leveldb-api-0.7.jar:lib/fastjson-1.2.7.jar -Dwrapper.key=9RaInG87OR4ajDV5

    50620编辑于 2021-12-03
  • 来自专栏技术杂记

    SQLite 基础5

    show 查看当前的默认配置 sqlite> .show echo: off eqp: off explain: auto headers: off mode: list nullvalue: "" output: stdout colseparator: "|" rowseparator: "\n" stats: off width: sqlite> ---- 数据类型 Type Com

    36110编辑于 2021-12-01
领券