NetBSD Wiki/
languages
Programming language support by NetBSD architecture
Language | amd64 | aarch64 | i386 | armv7 | sparc64 | powerpc | alpha | m68k | vax |
---|---|---|---|---|---|---|---|---|---|
.NET | yes | yes | yes | no | no | no | no | no | no |
Ada | yes | no | yes | no | no | no | no | no | no |
Erlang | yes | yes | yes | yes | no | yes | yes | yes | no |
Fortran | yes | yes | yes | no | yes | yes | yes | no | no |
Go | yes | yes | yes | yes | no | no | no | no | no |
Guile | yes | yes | yes | yes | yes | yes | yes | yes | yes |
Haskell | yes | no | no | no | no | no | no | no | no |
Java 8 | yes | yes | yes | yes | yes | no | no | no | no |
Java 11 | yes | no | yes | no | no | no | no | no | no |
NodeJS | yes | yes | yes | yes | no | no | no | no | no |
OCaml | yes | yes | yes | yes | yes | yes | no | no | no |
Perl | yes | yes | yes | yes | yes | yes | yes | yes | yes |
PHP | yes | yes | yes | yes | yes | yes | yes | yes | yes |
Python | yes | yes | yes | yes | yes | yes | yes | yes | no |
Ruby | yes | yes | yes | yes | yes | yes | yes | yes | yes |
Rust | yes | yes | yes | yes | yes | yes | no | no | no |
Zig | yes | yes | no | no | no | no | no | no | no |
Footnotes
- C/C++/Lua/sh/awk/[...] are included in the base system and thus not counted, since they are assumed to be available everywhere.
- .NET refers to Mono.
- Ada refers to the GNAT compiler supplied with the gcc*-aux packages.
- Fortran refers to the gfortran compiler supplied with the gcc package.
- Go is available on armv7, but not armv6, due to lacking certain synchronization instructions.
- Haskell refers to the Glasgow Haskell Compiler (GHC).
- Java 8 refers to openjdk8 in pkgsrc. NetBSD support is not present upstream.
- Java 11 refers to openjdk11 in pkgsrc. NetBSD support is not present upstream.
- Python is unavailable on vax. This is because Python assumes an IEEE floating point model.
- Rust may not be able to build itself on 32-bit architectures, depending on the availability of address space. Packages are usually built in a chroot on a 64-bit host (where possible).
- NodeJS does not support NetBSD upstream, instead support is through custom patches in pkgsrc.
- If it works on vax, it probably works on everything else, real or imaginary.
- Interested in helping? Post to the pkgsrc-users mailing list!
Add a comment