Name a single flaw

Name a single flaw.
>Protip: you can't.

Attached: zig.png (153x153, 4.27K)

Other urls found in this thread:

news.ycombinator.com/item?id=29965239&p=2#29969176
twitter.com/SFWRedditGifs

it's not obvious what i'm looking at so that's a flaw
is it some kind of static shock reference

It's the new model for a fully automated ACK assembly.

i'm not sure what that is but good for you

>check ram usage while compiling some big stuff
>C: ~200MB
>C++: 2GB
>rustc: 4GB
>zig: 9GB
based zig, left rust in the dust

What are you using for comparison?

Not an argument against the language, just against the stage one compiler, try again.

it's starting to have retard shills

>implying that his numbers aren't made up
compiling the zig compiler takes less than 30 minutes to build on my system. gcc takes ~3 hours; rust fails because it exhausts the address space. try it by yourself

not sure what made you think it was supposed to be an argument against the language, I guess you just see aggression everywhere

That's the compiler, though. Zig uses clang internally so it makes sense that it's smaller. He was talking about a big program, not the respective compilers.

>Zig shill
>Unbased
Pick one.

stg zigbros are going to be the new gophers once andrew has succesfully axed out traditional string formatting
>Muh code more accessible!
>Less magic!
>I want to know what the computer is doing!

compilers are big programs. do you think he took a big codebase and ported it to 4 different languages just to post it in 4chin without providing proof or source? think for a second

You don't need to porn C programs to Zig, like I said, it uses clang. And rust can probably compile C as well, right?

>has succesfully axed out traditional string formatting
What does that even mean?

There was an HN comment where Andrew Kelley said he hated the way you format strings in C/Python/Java/whatever with the printf function that all these languages have. He wanted to have a "better alternative" because the traditional way is "horrible". Can't find where he left the comment though
So expect printf to change

found it
news.ycombinator.com/item?id=29965239&p=2#29969176
Apperently I also misquoted mr AK-47. Woops

/* Not using this yet
var sneed : string;
*/

This kills the zigger

String is not a type, s o y man, seethe more. The only people who think string or char should be atomic types, are people who don't know anything about text encoding.

Zig already has a better alternative to sprintf, because the format operations in zig happen monstly at compile time, which makes them way faster than anything other languages could come up with. There isn't going to be a string type, if that's what you're hinting at.

Does it have typedefs/distinctness types yet? It'd be nice to do gamedev in Zig if I could distinguish all of the OpenGL types and throw compile time errors on mixing them.