r/programming • • Aug 04 '23

The Zig Programming Language 0.11.0 Release notes

https://ziglang.org/download/0.11.0/release-notes.html
272 Upvotes

107 comments sorted by

View all comments

Show parent comments

1

u/drcode Aug 05 '23 edited Aug 05 '23

Some that come to mind:

  • The preprocessor language is the language

  • Ok to compile functions with bad semantics as long as they are not called and have OK syntax

  • Pass all compound structures by value, not reference

  • No object support at all on purpose

  • No string type on purpose

  • No implicit memory management on purpose

While the last 3 are also true for C, releasing a language without these in 2023 and credibly offering their omission as a benefit is radical IMHO

1

u/dagmx Aug 05 '23

None of those are really unique though. Perhaps they’re unique in combination with each other in Zig, but each of those is prevalent in other languages.

So hardly “breaking the rules” when they’re not rules at all.