Get the latest tech news

Zig's dot star syntax (value.*)


Karl Seguin's Blog - A mix of coding and creative writing

Maybe I'm the only one, but it always takes my little brain a split second to understand what's happening whenever I see, or have to write, something like value. *), "follows" the pointer, but now that it's on the receiving end of an assignment, we write the value into the pointed add memory. If you're still not fully comfortable with this, and if you haven't done so already, you might be interested in the pointers and stack memory parts of my learning zig series.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Value

Value

Photo of zig

zig

Photo of dot star syntax

dot star syntax

Related news:

News photo

Onsemi Discloses Allegro Takeover Bid at $6.9 Billion Value

News photo

Didi’s Self-Driving Unit Said to Seek Funds at $5 Billion Value

News photo

Microsoft CEO Admits That AI Is Generating Basically No Value