Historically, the tech industry has not been great at standardizing the names of hardware chips.
So we built an index.
% for i in {1..3}; do jq --argjson r "$(shuf -i 0-2147483647 -n 1)" '.[$r % length]' index.min.json; done
{
"context": "Kali Linux",
"authoritative_id": "armv7",
"bitness": 32,
"endianness": "LE",
"port_tree": "armhf",
"package": "armhf"
}
{
"context": "LLVM",
"authoritative_id": "loongarch64",
"bitness": 64,
"endianness": "LE",
"port_tree": "loongarch64",
"package": "loongarch64"
}
{
"context": "Go",
"authoritative_id": "chipset-independent",
"package": "any"
}% jq 'map(select(.context | ascii_downcase | contains("dragonfly")))' index.min.json
[
{
"context": "DragonFly BSD",
"authoritative_id": "chipset-independent",
"package": "DragonFly:*"
},
{
"context": "DragonFly BSD",
"authoritative_id": "i686",
"bitness": 32,
"endianness": "LE",
"port_tree": "i386",
"package": "DragonFly:*:i386"
},
{
"context": "DragonFly BSD",
"authoritative_id": "x86-64",
"bitness": 64,
"endianness": "LE",
"port_tree": "x86_64",
"package": "DragonFly:*:x86_64"
}
]% jq 'map(select(.bitness == 64) | select(.context | ascii_downcase | contains("rust"))) [:2]' index.min.json
[
{
"context": "Rust",
"authoritative_id": "aarch64",
"bitness": 64,
"endianness": "LE",
"port_tree": "aarch64",
"package": "aarch64"
},
{
"context": "Rust",
"authoritative_id": "aarch64_be",
"bitness": 64,
"endianness": "BE",
"port_tree": "aarch64_be",
"package": "aarch64_be"
}
]Prior art, personal plugs, and tools for developing portable applications (including non-Rust projects)!
- Docker - container automation framework
- UTM - macOS emulator
- mcandre/chiri - cross-platform package generator
- mcandre/crit - Rust cross-compiler
- mcandre/tuco - Go cross-compiler
- qemu - softwre emulation framework
- clang - compiler for the hyperportable C programming language
- Go - Portable imperative programming language
- Rust - Portable functional programming language
- xgo - cGo cross-compiler
🏙️