Sinisterly
The Zig Programming Language - Like C With a Few Extra Goodies - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: The Zig Programming Language - Like C With a Few Extra Goodies (/Thread-The-Zig-Programming-Language-Like-C-With-a-Few-Extra-Goodies)



The Zig Programming Language - Like C With a Few Extra Goodies - Llebacc - 11-01-2017

[Image: oNTyQ]
Zig is a new language being developed. The creator aims to maintain the elegant simplicity of C, but making the language safer to develop in.

It has features such as:
  • A replacement for #includes that does more than simple text replacement.
  • Safe generics support through compile-time parameters.
  • Checks for undefined behavior in compiler debug mode.
  • A built in build system.
  • A built in error type for a universal error handling system.
  • Not built on libc. Competes with C rather than relies on it.

Zig has a very C-like syntax. It's still under development and hasn't hit version 1 yet. The developer is looking to source enough money through his patreon to work on the language full time.

Here's the article I initially discovered it from: https://jaxenter.com/zig-language-kelley-interview-138517.html
Language Homepage: http://ziglang.org/
Blog post denoting differences between C and Zig: http://andrewkelley.me/post/zig-already-more-knowable-than-c.html

My thoughts? Zig is a cool little project, but there is currently no market for a C replacement. C is simply everywhere, and won't be dethroned for a very long time. That said, if Zig is anywhere near as powerful and portable as C, then I'll develop in it. I just don't think it'll be adopted by the industry at large. There's also no guarantee the project will be completely finished.

What do you think?


RE: The Zig Programming Language - Like C With a Few Extra Goodies - Drako - 11-01-2017

Is it just me or is there a spike in new languages? I feel like I'm seeing more and more languages or syntax's based of others. I might check this out, even if I can't code it!


RE: The Zig Programming Language - Like C With a Few Extra Goodies - Llebacc - 11-01-2017

(11-01-2017, 05:36 PM)Drako Wrote: Is it just me or is there a spike in new languages? I feel like I'm seeing more and more languages or syntax's based of others. I might check this out, even if I can't code it!

There's always been new languages. It's just that with open source and the way information travels on the modern internet, it's easier to see when new languages pop up and easier to create your own variants of existing languages. It also helps that we currently have a few languages getting lots of coverage in places like HackerNews, such as Rust and Kotlin.