Is Zig the language of the future? I see a lot of adoption in the coming years.
did you know this was written in Zig?
>>109695394The future is Rust. Rust with AI.
>not even v1 yet>schizo devs change everything so their language fits niche use cases presented on some blog shared on hackernews for 0.1% of programming tasks. No.
>this is hello worldwhat an amateur overengineered joke
>>109695394nah brozig, and rust for that matter, hides too much of the control flow behind fancy abstract stuff for it to be usable in a functional safety context
>>109695537Zig doesn't make use of hidden control flow. It's a very low-magic language
>>109695516Zig is designed for hardware-level control and uses very thin abstraction over machine code. If you don't like it don't use it, simple.
>>109695516>@importhas to be the gayest shit ever
>>109695516Is this real, chat?
>>109695547so it's just a worse version of C and Rust
>>109695516>try>no catchwtf is this program even doing lmfao
>>109695804try catch bad
>>109695821then why try at all
>>109695394>I see a lot of adoption in the coming years.Explain.
>>109695851it's go's if err != nil { return err } but in one keyword
if err != nil { return err }
>>109695863Now that Rust is chudcoded due to the Bun transition from Zig->Rust we will see a lot of performatively "AI is le bad" code being written for Zig and then hosted on Noseberg, driving the burgeoning EU tech market to a new Renaissance.
>>109695516She's not a beauty of a language.
>>109695882Incoherent spergbabble & fragrant hallucinating.Good job.
>>109695882Because AI is bad. Literally its only purpose is making people dumb as rocks and taking away their skills.
>>109695516Why are you dishonest?
>>109695547So is C, C++ and Rust. They all operate on the same level of abstraction. Yet zig is the only one that is so unergonomic. And that's on purpose.
>>109696473m- my narrative
>>109695499Anything can be rewritten in Rust but apparently nothing can be originated in Rust.
>>109696595Nothing can be originated in anything. Everything has been written or designed decades ago. Every program created today in every language is just a rewrite of some older program.Prove me wrong, pro tip: you can't.
unlikely.compiled main loops are vanishing and the Zig's runtime project has failed. what else do you need to know?
>>109695882Isn't Zig the one that become "chudcoded"?
>>109695882In orange reddit circles, being anti-AI is the chud position.Also they hate Andrew Kelley because he made Zig according to (based) opinions like not supporting windows newlines
>>109695394There will only be a few winner languages: stuff that works on the web: TS, JSstuff even Macfags aren't too stupid to program: pythonstuff that needs to run fast: C, C++everything else is noise
>>109697011Orangereddit is full of retards that think AI is facist-adjacent and are now hardcore zig fans after they came out dunking on Bun switching to Rust with AI. That site has really gone downhill.
>>109697295>Orangereddit is full of retards that think AI is facist-adjacentthe fuck kind of orangereddit are you reading? it's full of vibeshitters.
>>109695851>then why try at allWords to live by.
>>109697667Half the orangereddit now is crying about "vibecoding" like you are now and are very angry that white-nationalist adjacent AI companies are using it for cryptofascism or something and that they need communism now. It's very weird and schizophrenic, probably from all the estrogen the luddites are injecting.
>>109695394Maybe? As of right now I'd not get into it since it's likely there'll be a major change with any big release t. Learned Zig and likes it
>>109695394>my gordos > your gordos
>>109696473i took my example from the official zig website on their examples page.idk where you got your screenshot but it is full of cope>erm, actually no one writes to stdout anymore chud>failing silently is actually a good thing!fuck off.
>>109695516LMAO
>>109699625>idk where you got your screenshot but it is full of copeIt's from the documentation, which is linked on their front page https://ziglang.org/documentation/0.16.0/
>>109699625>failing silently is actually a good thing!That's what all other programming language do, so if you are comparing hello world in zig then you should use the silently failing example. Otherwise it's a dishonest argument unless you mean to show that zig is more explicit with what things do so regular "printf" is under debug and writing to stdout (which is used for pipes, not debugging) requires try
>>109695804it's trying uwu don't be angry at it if it doesn't work
>>109700116>That's what all other programming language do*blocks your path*
>>109699872java isn't that verbose.plus java keeps everything in english instead of mixing in weird arbitrary symbols on top of the verbose-ness
>>109700133>Errors should never pass silently.Until now.
There is no "future" for any programming language now that AI writes it all.The final programming language is English.
>>109700286In powershell this is just $ErrorActionPreference='SilentlyContinue'
>>109695499considering ai can make no mistake rust is becoming irrelevant for ai