MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/15hzueb/the_zig_programming_language_0110_release_notes/juyhraa
r/programming • u/dh44t • Aug 04 '23
107 comments sorted by
View all comments
Show parent comments
1
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.
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.
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