Articles

(Sep 05) #hardware #networking

GPS surrounds us everywhere; it's in the phones, cars, computers, and other gadgets we use. But how does it all work? Although this is a slightly older article than what we normally have here, Martin Hron does such a thoroughly deep dive into GPS trackers, from the basics of how they work to how they can be integrated into a mass produced device, I felt it was a lost opportunity to not included.

(Oct 30) #OCaml #math #proof

Automata-based programming is a programming paradigm in which the program or part of it is thought of as a model of a finite state machine or any other formal automaton. Automatons are often created from regular expressions in order to implement lexer and regexp engines. In this technically heavy article, Neel Krishnaswami demonstrates the "elegant formulation" of how "every automaton has a corresponding regexp", and implements a automaton-to-regexp algorithm in OCaml.

(Nov 19) #cpp

An application binary interface (ABI) is an interface between two binary program modules (often a library or OS facility, and a program being run by the user). It defines how data structures or routines are accessed in machine code. In this article, Jussi explains how ABI stability in C++ allows for old programs to keep working with new standard updates, how ABI breaking updates are currently handled, two flaws with this system, and a possible solution.

(Nov 25) #rust

Const is a keyword in rust that's used to define compile time constants and deterministic functions. They're normally used to for assigning a value to a variable that is going to be often used in the code base without changing. Well in this article, Dylan MacKenzie illuminates the fact that if and match can now be used in constants on rust nightly to determine the value of the const based on some other variable at compile time.

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