[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Zig programming Language

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 19
Thread images: 5

File: zig-logo.png (5KB, 386x91px) Image search: [Google]
zig-logo.png
5KB, 386x91px
Is Zig Rust-done-right?
Will it replace C in the near future?
>>
>>59180755
Rust is Rust done right.
>>
File: thread.jpg (27KB, 375x281px) Image search: [Google]
thread.jpg
27KB, 375x281px
>>59180755
see >>59180762
I'd rather argue Zig is C done right.
And while it sounds good to me, as long as there is only one dev behind it I don't think it will work out.
Basically the same applies to Jai, but Blow seems more willing and able to attract further developers once the core is done.
>>
>>59180755
>Rust-done-right
Rust can't be done right, because obsessing over "safety" was always the wrong goal.
>>
>>59180850
Blow is called blow for a reason. He blows.
>>
const io = @import("std").io;

pub fn main(args: [][]u8) -> %void {
%%io.stdout.printf("Hello, world!\n");
}


php-tier syntax, worse than rust, and that's really saying something
>>
>>59181253
The syntax actually means something, in Rust it's all just noise.
They're also still changing the syntax. You should tell them to change % and %% to keywords.
>>
>>59181293
>in Rust it's all just noise.
how so?
>>
>>59180755
Zig have already repleaced C.
>>
>>59181331
Lots of redundant punctuation, piles of random :: < > ' and so on in type signatures, overly verbose method names, macros have different syntax (with a !) from regular function calls
I could go on but just look at any Rust code
>>
>does not depend on libc
Already a million times better than rust
>>
>yet another language that will replace C has spawned
>>
>>59181372
>macros have different syntax (with a !) from regular function calls
That's actually good, so one can spot macros immediately.
>>
File: Zero Wing_Jun8 9_23_26.png (16KB, 640x468px) Image search: [Google]
Zero Wing_Jun8 9_23_26.png
16KB, 640x468px
>>
File: 1472759212492.gif (19KB, 480x240px) Image search: [Google]
1472759212492.gif
19KB, 480x240px
>>
>>59181590
It's not ergonomic at all. I shouldn't have to care if something is a macro.
>>
File: laughing.png (98KB, 390x310px) Image search: [Google]
laughing.png
98KB, 390x310px
>>59183000
>I shouldn't have to care if something is a macro.
Back to a language that hasn't any form of metaprogramming then, waste of trips.
>>
>>59183000
>I shouldn't have to care if something is a macro.
You shouldn't have to care if something is builtin either, but @@@@@@@@@@@@@@@@@
>>
>>59181060
ROFLMAO HOW WILL HE EVER RECOVER
Thread posts: 19
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.