Zig: The Modern Alternative to C
infoworld.com
Zig: The Modern Alternative to C
1–10 of 181 posts
Re: Zig: The Modern Alternative to C
#2Re: Zig: The Modern Alternative to C
#3Re: Zig: The Modern Alternative to C
#4Re: Zig: The Modern Alternative to C
#5Re: Zig: The Modern Alternative to C
#6> A distinctive feature of Zig is that it does not deal with memory allocation directly in the language. There is no malloc keyword like in C/C++. Instead, access to the heap is handled explicitly in the standard library.
I guess it is all you need to know about the article quality.
Re: Zig: The Modern Alternative to C
#7Re: Zig: The Modern Alternative to C
#8A quote from the article: > A distinctive feature of Zig is that it does not deal with memory allocation directly in the language. There is no malloc keyword like in C/C++. Instead, access to the heap is handled explicitly in the standard library. I guess it is all you need to know about the article quality.
Re: Zig: The Modern Alternative to C
#9What is Zig's async story? Is there something like Go's coroutines?
Re: Zig: The Modern Alternative to C
#10A quote from the article: > A distinctive feature of Zig is that it does not deal with memory allocation directly in the language. There is no malloc keyword like in C/C++. Instead, access to the heap is handled explicitly in the standard library. I guess it is all you need to know about the article quality.
The point that paragraph is trying to make but articulates imperfectly is that you explicitly pass an Allocator to the stdlib routines that allocate -- rather than having them allocate on the heap implicitly.