How come it never took off? Why did it crash and burn so hard?
Nothing Ever Happens Shirt $21.68 |
Ape Out Shirt $21.68 |
Nothing Ever Happens Shirt $21.68 |
How come it never took off? Why did it crash and burn so hard?
Nothing Ever Happens Shirt $21.68 |
Ape Out Shirt $21.68 |
Nothing Ever Happens Shirt $21.68 |
No big company behind it; it's that simple.
The most awful ideas take of if they have big companies behind them.
It's sad b/c it really is quite great, you can use its toolchain as a drop-in replacement C/C++ compiler
It's pretty telling when the only concrete benefit you can say is their repacking of clang
This is just sad.
Its more like andrew does not want it to become another corporate owned shitshow
Instead it's a BDFL owned shitshow that keeps breaking perfectly fine code because of some wildly misguided idea of "correctness" https://github.com/ziglang/zig/pull/18017
Based ziggers breaking bad code. I have PTSD of dealing with codebases that were developes using msvc++ because that compiler accepts all kind lf shit code.
It doesn't just prevent bad code it makes it a pain in the ass to write code at all. Imagine you have code like this:
var x = get_thing();
do_thing(x);
x = x << 1;
do_thing(x);
You comment out the last 2 lines to debug an issue. Except now you also have to change var to const because you're no longer mutating it. You uncomment those lines and you have to change it back to var. If you have to keep doing this to debug a problem get fricked I guess. It's an absolutely moronic idea that andrew keeps doubling down on because he doesn't want to let people turn it off for various reasons.
Sure, breaking things doesn't bother me as long as it's for a good reason. I bought into the language before the "compile errors for unused things" stuff started getting merged in and now I'm bitter because the language was really pleasant to use before that. I know it's my mistake, lesson learned I guess.
>pleasant to use before that
which are more peasant part to you?
I'm looking at the compiler's code like this
https://github.com/ziglang/zig/blob/71d878ba5051dd7bb3db15dcfba0f70cff3c225e/src/arch/x86_64/CodeGen.zig#L8694
and it's like mixing pattern matching, function calling and data assignment altogether in nested dreadful mess
Allocators, decent standard library containers, reflection, comptime functions for generics, explicit bit width types with range checks make it overall a better experience than C.
This is a moronic hack and I wouldn't be surprised if they decide to perform some analysis to make sure you can't do this either. Having if(false){} blocks at all is almost certainly not within andy's goal of making sure only good code is committed.
I shouldn't need to use a LSP to be able to effectively write code. I often use an editor with LSP support, but for quick debug sessions I use something lighter like vim (inb4 just install the vim plugin - no frick off. Especially with the zls plugin that freezes vim for a couple seconds when it first opens a zig file.)
use if (false) to comment out the code without warnings
I understand why andrew does not want ability to turn it off and not do warnings. C++ has shown again and again, people just ignore that shit in production. Anyhow use zls and your issue becomes non-issue anyways
Yeah that is stupid. Make the compiler emit a warning, not reject it altogether.
It does help against bad code though, but no more than a warning.
Anon when a language is 0.x then you can break it as much as you want
It isn't bankrolled by every single gayMAN mega Corp unlike... Other languages.
CATS was just too strong.
What you say!!
Bigotry.
did it really crash and burn? it still has an active community doesn't it? it can take a long time for a language to "take off", mostly depends on adoption by big projects/companies, it's all up to fate in the end
Its a newer language and it isn't finished.
Zig tells you not to use it in production yet.
What do you expect?
cope
Cope with what, IQfy brained moron?
I gave an answer to the question.
You're probably literally moronic.
>How come it never took off?
Nobody cares about another pet language.
No it keeps getting more and more popular.
0.12 will be out like next week
Did he put async back in?
no, zig is woefully broken due to aliasing issues and result location semantics
>How come it never took off
>never took off
>crash and burn so hard
How can something crash if it never took off? Is this a bot thread?
ESL
I think OP is dumb enough that even bot makers wouldn't claim it these days.
Is it true that Zig users are hostile to trans folks?
andrew is a known anti-semite so it wouldn't be that much of a reach
>andrew is a known anti-semite
wtf i love zig now
They keep trying to replace C but it will never go away. Just like mainframes and COBOL. When will these zoomers learn.
Because Kelley is a fricking moron. If you tuned in to any of his livestreams you'd realize that too.
> you don't need memory safety, just run your program through valgrind every time
> more UB because it makes your code run faster
among many other dumb takes
Rust is the next big thing. Move on.
It has not even had the 1.0 release yet so people are reluctant to make things in the language since features get quickly deprecated/added. A lot of people are looking forward to the 1.0 release so I think it will take off.