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

(May 14) #embedded-programming

In most languages, the entry point to your program is usually a method called main . But have you ever wondered how the execution environment knows where that method is in your binary so it can call it? In embedded programming, things are simple enough that we can investigate the startup code and see what's happening. In this article François Baldassari presents his findings regarding code that runs during the startup and reset phases of a microcontroller.

(May 20) #closurescript

Type Inference is the ability of a compiler to infer the type of a variable that's declared without defining a type. It kinda sorta allows one to write code as if working in a dynamic language but with all the guarantees of a static one. On top of that, the compiler may make certain optimizations as it sees fit, and in this article, Yehonathan Sharvit explores some of these optimizations in ClojureScript.

(May 21) #cpu-architecture

Some people write in C to learn how things work at a lower level. Others write programming languages from scratch to learn how things are put together. And then there are some, like Daniel Harper here that want to go even further down and write a software CPU to learn. Inspired by the book "But How Do It Know?" by J. Clark Scott, the author set out to implement a very basic CPU architecture and lived to write this article for us.

Event Highligh: React Advanced

React Advanced, a London based React community and conference (coming Oct 25), is focused on Advanced tech topics. 30+ experts, more than 500 developers from all over the world, two tracks, numerous workshops on Patterns, React Native, GraphQL, Design Systems, TypeScript, Reason, and more. Meet domain experts one on one and address your questions with industry leaders.

-- * --

Programming language of the day: Never. "Never is a simple functional programming language. Technically it may be classified as syntactically scoped, strongly typed, call by value, functional programming language.

In practise Never offers basic data types, assignment, control flow, arrays, first order functions and some mathematical functions to make it useful to calculate expressions. Also it demonstrates how functions can be compiled, invoked and passed as parameters or results between other functions."

-- * --

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