Remix.run Logo
▲ ChickeNES an hour ago

Isn’t it written in Zig? Not sure how that is “highly portable” compared to C

▲fwlr 31 minutes ago | parent [-]

From https://ziglang.org/intro/overview/

  Zig is also a C compiler

  Here’s an example of Zig building some C code:

  hello.c
  > #include <stdio.h>
  >
  > int main(int argc, char **argv) {
  >   printf("Hello world\n");
  >   return 0;
  > }
  

  $ zig build-exe hello.c -lc
  $ ./hello
  > Hello world