Articles

(Feb 24) #.net Save to Pocket

stackalloc has been around for a while in .NET and lets you allocate a segment of data on the stack. It wasn't popular before because it was required to be in an "unsafe" context. Luckily this has changed (you can now use it with Span), and Kevin Jones has written an informative article that covers the nuiances of using stackalloc. From using variable allocation lengths to initializing if required, Kevin covers it all.

(Feb 19) #sml Save to Pocket

Shadowing is when a variable's memory location is no longer accessible because another variable with the same name has been created. It can be confused with mutation, which is when the value at a variable's address has been overwritten with a new one. Tarun Vangani's article does a good job of explaining this difference, and the important role it might play when working with parallel functions.

(Feb 18) #blockchain #blockpool #go Save to Pocket

There has been a major push towards decentralization in the past decade, primarily through blockchain technology and cryptocurrencies. But this tech is only part of the picture, and more innovation is required in order to support a larger variety of decentralized ecosystems. In this explanatory article, author sarah c0nn0r introduces block pools, the technology upon which the Ultranet (a private decentralized marketplace created by sarah) was built.

And that''s it for today! Discuss this issue at our subreddit r/morningcupofcoding.

Did you like what you read? Let us know by clicking one of the links below.

Liked - Disliked

I hope you enjoyed reading the latest issue of Morning Cup of Coding. If you did, consider supporting us by becoming a patron (Patreon) for perks like ad-free issues, or via a one-time donation via PayPal.

Interested in sponsoring our newsletter? Click here to send us an email.

Cheers,

Pek