Sponsor

Improve devops workflows and self-host Docker, Grafana, GitLab, OpenFaaS and more on the simplest cloud platform. Spin up preconfigured cloud servers with the growing library of 1-Click Apps on DigitalOcean Marketplace.

Get started with a new user credit for Morning Cup of Coding readers.

Articles

(Jun 12) #julia

Speaking of type systems, while Julia is a dynamic language, it does support optional type annotations. And even though in practice they aren't very useful due to Julia's type inference, Jonathan Bieler decided to see what can be done with them and explore the language's meta-programming capabilities.

(Jun 07) #prolog

As powerful as Prolog can be, there some fundamental issues with the language making debugging a pain. A simple typo can sometimes fail silently resulting in hours of searching for the cause. In this article Gavin Mendel Gleason introduces us to Hindley-Milner type system; how it works and how it can be integrated in Prolog.

(Jun 09) #kernel-programming

While working on two lock-free synchronization primitives (events counts and flag flips), Paul Khuong came to the conclusion that Kernel Preemption might as well be considered a sunk cost: "we’re already paying for it, so we might as well use it." Kernel Preemption is a method that preemptively forces kernel space drivers to context-switch, making lock-free programming in userspace. In this article we learn how the author was able to work with it rather than fight against it.

-- * --

Programming language of the day: Bruh. "Have you ever coded something and said "bruh"? Then this is for you! Bruh will make you bruh when you code it."

-- * --

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.

Cheers,

Pek