个人计算机最常见的 CPU 架构和系统平台是什么?
What are the most common CPU architectures and system platforms for personal computers?
NodeJ 具有检测机器的内置方法运行:
process.arch
returns 操作系统 CPU 架构。可能的值:
arm
- 32 位高级 RISC 机器
arm64
- 64 位高级 RISC 机器
ia32
- 32 位英特尔架构
mips
- 32 位微处理器
mipsel
- 64 位微处理器
ppc
- PowerPC 架构
ppc64
- 64 位 PowerPC 架构
s390
- 31 位 IBM System/390
s390x
- 64 位 IBM System/390
x32
- 32 位扩展系统
x64
- 64 位扩展系统
https://nodejs.org/api/process.html#processarch
process.platform
returns操作系统平台。可能的值:
aix
- IBM AIX 平台
darwin
- Darwin 平台(MacOS,IOS 等)
freebsd
- FreeBSD 平台
linux
- Linux 平台
openbsd
- OpenBSD 平台
sunos
- SunOS 平台
win32
- Windows 平台
https://nodejs.org/api/process.html#processplatform
当使用两种值组合时,有:11 architectures x 7 platforms = 77 possible combinations
。全部build/test/support不现实。
个人计算机最常见的 CPU 体系结构和系统平台是什么?
(如果您有计算机销售数据、市场份额、网站浏览者统计数据就更好了,例如 https://gs.statcounter.com/os-market-share)
x64
(Intel/AMD/Older Mac),
AArch64
(Mac M1) 是最流行的个人电脑,
在企业界:
x64
、ppc64
和 s390x
也被认为广泛传播,
值得一提的是arm64通常在smartphones
和tablets
中实现
NodeJ 具有检测机器的内置方法运行:
process.arch
returns 操作系统 CPU 架构。可能的值:
arm
- 32 位高级 RISC 机器arm64
- 64 位高级 RISC 机器ia32
- 32 位英特尔架构mips
- 32 位微处理器mipsel
- 64 位微处理器ppc
- PowerPC 架构ppc64
- 64 位 PowerPC 架构s390
- 31 位 IBM System/390s390x
- 64 位 IBM System/390x32
- 32 位扩展系统x64
- 64 位扩展系统 https://nodejs.org/api/process.html#processarch
process.platform
returns操作系统平台。可能的值:
aix
- IBM AIX 平台darwin
- Darwin 平台(MacOS,IOS 等)freebsd
- FreeBSD 平台linux
- Linux 平台openbsd
- OpenBSD 平台sunos
- SunOS 平台win32
- Windows 平台 https://nodejs.org/api/process.html#processplatform
当使用两种值组合时,有:11 architectures x 7 platforms = 77 possible combinations
。全部build/test/support不现实。
个人计算机最常见的 CPU 体系结构和系统平台是什么?
(如果您有计算机销售数据、市场份额、网站浏览者统计数据就更好了,例如 https://gs.statcounter.com/os-market-share)
x64
(Intel/AMD/Older Mac),
AArch64
(Mac M1) 是最流行的个人电脑,
在企业界:
x64
、ppc64
和 s390x
也被认为广泛传播,
值得一提的是arm64通常在smartphones
和tablets