That’s it. No macros. No build.rs. No Cargo screaming about outdated crates.
I’m not far enough in to say anything on memory safety, but in nim-lang it’s just:
echo("Hello World!")
(or even just echo"Hello World!")
I don’t know if anything else compares on simplicity unless maybe script languages with JIT are actually effective (Python no-gil etc), but even then I think I’d probably miss the flexibility that UFCS offers (maybe the standard library as well, at least I assume they wouldn’t be as powerful).
pub fn main() void { const stdout = std.io.getStdOut().writer(); stdout.print("Hello, World!\n", .{}) catch unreachable; }I’m not far enough in to say anything on memory safety, but in nim-lang it’s just:
(or even just
echo "Hello World!")I don’t know if anything else compares on simplicity unless maybe script languages with JIT are actually effective (Python no-gil etc), but even then I think I’d probably miss the flexibility that UFCS offers (maybe the standard library as well, at least I assume they wouldn’t be as powerful).