Post

I ported the same Raylib, C fluid dynamic simulation to Odin and Zig 0.16 to compare state of the art in C interop. #Odin is as simple as a system language can be. There is no build script. Raylib is included. #Zig has very fine control even more than C and CMake-like build scripts written in Zig.

#C-lang is still best for micro controllers, but Odin and Zig are substantially simpler and have good C interop. IMHO it is worth wrapping your C code in Odin or Zig if you want to do graphical simulations.

0 reposts0 likes

No replies yet.