[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1788107134868489.jpg (196 KB, 1300x960)
196 KB JPG
Is Zig the language of the future? I see a lot of adoption in the coming years.
>>
File: avp.png (866 KB, 1200x1600)
866 KB PNG
did you know this was written in Zig?
>>
File: 1776554501631.png (29 KB, 1080x182)
29 KB PNG
>>109695394
The 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.
>>
File: 1783713614039208.png (36 KB, 759x268)
36 KB PNG
>this is hello world

what an amateur overengineered joke
>>
>>109695394
nah bro
zig, 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
>>
>>109695537
Zig doesn't make use of hidden control flow. It's a very low-magic language
>>
>>109695516
Zig 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
>@import
has to be the gayest shit ever
>>
>>109695516
Is this real, chat?
>>
>>109695547
so it's just a worse version of C and Rust
>>
>>109695516
>try
>no catch
wtf is this program even doing lmfao
>>
>>109695804
try catch bad
>>
>>109695821
then why try at all
>>
>>109695394
>I see a lot of adoption in the coming years.
Explain.
>>
>>109695851
it's go's
if err != nil { return err }
but in one keyword
>>
File: wham.mp4 (950 KB, 640x640)
950 KB
950 KB MP4
>>109695863
Now 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.
>>
>>109695516
She's not a beauty of a language.
>>
>>109695882
Incoherent spergbabble & fragrant hallucinating.
Good job.
>>
>>109695882
Because AI is bad. Literally its only purpose is making people dumb as rocks and taking away their skills.
>>
>>109695516
Why are you dishonest?
>>
>>109695547
So 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.
>>
>>109696473
m- my narrative
>>
>>109695499
Anything can be rewritten in Rust but apparently nothing can be originated in Rust.
>>
>>109696595
Nothing 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?
>>
>>109695882
Isn't Zig the one that become "chudcoded"?
>>
>>109695882
In 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
>>
>>109695394
There will only be a few winner languages: stuff that works on the web: TS, JS
stuff even Macfags aren't too stupid to program: python
stuff that needs to run fast: C, C++
everything else is noise
>>
>>109697011
Orangereddit 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-adjacent
the fuck kind of orangereddit are you reading? it's full of vibeshitters.
>>
File: 1777670241403574.jpg (37 KB, 500x500)
37 KB JPG
>>109695851
>then why try at all
Words to live by.
>>
>>109697667
Half 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.
>>
>>109695394
Maybe? 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
>>
File: anda a la cancha, bobo.png (688 KB, 1200x675)
688 KB PNG
>>109695394
>my gordos > your gordos
>>
>>109696473
i 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.
>>
File: 4maizo.jpg (998 KB, 1466x2443)
998 KB JPG
>>109695516
LMAO
>>
>>109699625
>idk where you got your screenshot but it is full of cope
It'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
>>
>>109695804
it's trying uwu don't be angry at it if it doesn't work
>>
File: 1767702666235662.png (440 KB, 927x634)
440 KB PNG
>>109700116
>That's what all other programming language do

*blocks your path*
>>
File: 1763752890026776.png (103 KB, 971x436)
103 KB PNG
>>109699872
java 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.
>>
>>109700286
In powershell this is just

$ErrorActionPreference='SilentlyContinue'
>>
>>109695499
considering ai can make no mistake rust is becoming irrelevant for ai



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.