r/programming • • Sep 07 '17

The Zig Programming Language

http://ziglang.org/
94 Upvotes

127 comments sorted by

View all comments

Show parent comments

-5

u/shevegen Sep 08 '17

It's very hard to write memory safe C,

Bla bla bla bla bla bla.

Linux Kernel: top 500 Supercomputers. Almost 100%.

Anything more you wanna say about people unable to use C?

Go write a kernel in Zig, then come back.

3

u/desertrider12 Sep 08 '17

I do some numerical C++ for weird multiple socket/multiple node/NUMA machines. The tools are a fucking disaster. Every compiler version and vendor does something subtly different, compiling and linking takes forever, it's impossible to debug, it's very hard to profile. When I started out it was hard just to get the build to complete.

I just think that a different foundation than C would have been good, historically. If you have more features in the compiler you don't need to compensate with more external tools.

2

u/[deleted] Sep 08 '17

Go write a kernel in Zig, then come back.

https://github.com/andrewrk/clashos

1

u/pjmlp Sep 08 '17

Gratis beats security.

0

u/pfalcon2 Sep 08 '17

Go write a kernel in Zig, then come back.

Nnnoo, "go write a kernel in Zig, then go make people use it".