Termsslug: sum-types

Sum Types

和类型

Algebraic data types whose values are one of several variants, used to model mutually exclusive states precisely.

Curated Intelligence

1 items · Page 1/1
Hacker News AIT2·Tools
62 pts
Nimony Compiler Debuts with Borrow Checking for Nim 3

Nimony is a new compiler for Nim and the home of the Nim 3 language, bringing borrow checking, explicit nilability, sum types and checked generics with incremental and parallel builds from the start. It offers native code generation for x86_64, ARM64, ARM32, AVR and RISC-V independent of LLVM and GCC, with nightly toolchains available for major platforms.