Live data from Hacker News

Zig 0.4.0 Released

ziglang.org

1–10 of 141 posts

Re: Zig 0.4.0 Released

#2
Good day, I am here to share the world of hacking with you all At Trifix Hack World, we provide professionals and expert computer programmers to hack and get into any individual’s system to check for system’s security.where we offer wide ranging menu of services. Our team focus on security mechanisms of computer and network systems and we do not prefer social engineering, hence we provide quick service and our results are fast and as a team of professionals we keep privacy and confidentiality to our consumers. Hacking generally used by various companies to check protection of there application, they allow hackers to find loopholes in software system and try to gain access to system in any manner to prevent security threats. Hire hacker to make your system more secure as attacks on web increases as time progresses.Website hacking and removal of unwanted contents online, We can also help to prevent confidentiality of mobile phone and email data by trying different methods to get into mobile phone and email accounts. Web database in most vulnerable to attack because it contains more secure data, many companies hire hacker to make there database safe from security point of view. Mostly people want to hire our professionals to check on their partners/friends/relatives, to gain their social media account password or to obtain their email address password or to remotely access there phone and gain whats app messages and other text and call details with saved photos and videos.Or if their account is compromised Or sometimes to gain someone’s website database or to modify something in another website/server, Developing Virus to inject in website SQL . we keep these things 100% confidential, if you need this services then you can contact via email address trifixblackhat1 at gmail dot com

Re: Zig 0.4.0 Released

#3
Zig's new release has a ton of improvements: new targets (e.g. LLVM 8, WASM, support tiers), C pointers, Vector type, better docs, and my personal favorite: Zig now makes things as static as possible by default.

I love seeing all the progress with Zig, V, Muon, and Rust. All these languages are potentially-better systems languages than C/C++, with better safety, better definitions, and better semantics. Zig has an explicit goal to be better than C and to replace it.

Re: Zig 0.4.0 Released

#5
Edit: Just confused myself, comments are // and multiline literals are \\. Thanks to laszlokorte for catching my mistake!

Zig claims very proudly it is about clarity but shortly into reading through the documentation I already found this extremely surprising:

"Multiline string literals have no escapes and can span across multiple lines. To start a multiline string literal, use the \\ token. Just like a comment, the string literal goes until the end of the line."

I could not have tried to make a more confusing token for multiline string literals if I tried. The difference between a string literal and comments is literally whether or not the lines are preceded by an open =.

Re: Zig 0.4.0 Released

#6
Thanks for all your work on this project Andy!

It's been a real pleasure seeing Zig grow, hopefully it can fill that niche for a high performance, portable, modern language that isn't filled with OOP cruft

Re: Zig 0.4.0 Released

#7

Edit: Just confused myself, comments are // and multiline literals are \\. Thanks to laszlokorte for catching my mistake! Zig claims very proudly it is about clarity but shortly into reading through the documentation I already found this extremely surprising: "Multiline string literals have no escapes and can span across multiple lines. To start a multiline string literal, use the \\ token. Just like a comment, the s…

> The difference between a string literal and comments is literally whether or not the lines are preceded by an open =.

Well comments use forward slash (//) and string literals use backslash (\\)

Re: Zig 0.4.0 Released

#8

Edit: Just confused myself, comments are // and multiline literals are \\. Thanks to laszlokorte for catching my mistake! Zig claims very proudly it is about clarity but shortly into reading through the documentation I already found this extremely surprising: "Multiline string literals have no escapes and can span across multiple lines. To start a multiline string literal, use the \\ token. Just like a comment, the s…

It's on one hand a bit annoying that each line is prefixed, because you can't paste like you can in Python, but on the other hand, the prefix allows it to be indented in a not-ugly way.

Re: Zig 0.4.0 Released

#9

Edit: Just confused myself, comments are // and multiline literals are \\. Thanks to laszlokorte for catching my mistake! Zig claims very proudly it is about clarity but shortly into reading through the documentation I already found this extremely surprising: "Multiline string literals have no escapes and can span across multiple lines. To start a multiline string literal, use the \\ token. Just like a comment, the s…

> The difference between a string literal and comments is literally whether or not the lines are preceded by an open =.

Python has an even closer relationship between comments and string literals: its multiline comments are just string literals that get never used.

Re: Zig 0.4.0 Released

#10

Edit: Just confused myself, comments are // and multiline literals are \\. Thanks to laszlokorte for catching my mistake! Zig claims very proudly it is about clarity but shortly into reading through the documentation I already found this extremely surprising: "Multiline string literals have no escapes and can span across multiple lines. To start a multiline string literal, use the \\ token. Just like a comment, the s…

> The difference between a string literal and comments is literally whether or not the lines are preceded by an open =. Well comments use forward slash (//) and string literals use backslash (\\)

Ah thank you, just confused myself on wording for a minute there. That makes sense, original comment edited.
Post reply on HN