Articles

(Apr 04) #webassembly

Mozilla is working on an experimental project called Pyodide. Based on Iodide, its purpose is to bring data science programming right into the browser using Python. This is all possible thanks to WebAssembly. But how? And where did it all start? This short piece by Ben James over at HackADay has the story.

(Apr 10) #futhark

Futhark is a statically-type functional programming language who's main focus is efficiently running in parallel. It's ahead-of-time compiler (AOT compiler) heavily optimizes the code and generates GPU code to be run on CUDA/OpenCL whenever possible. In this article, Troels Henriksen attempts to re-write some parts built-in array functions such that it increases the ability to run the code in parallel while still maintaining the run-time performance. Of note is the remarks about the two types of Big-O measurements for time of parallel languages: the work and span; where "work is the conventional measure for the total amount of operations performed, while span is the longest chain of sequential dependencies".

(Mar 26) #nim

Nim is a general purpose statically-typed multi-paradigm programming languages. Interestingly, you have two options when it comes to garbage collection: deferred reference counting (the default) and a real-time. But what if you didn't want any garbage collection? The author of this article explains some of the drawbacks of tracing in garbage collecting and explores the possibility of a GC-free Nim runtime.

Programming language of the day: Bosque. "The Bosque programming language is a Microsoft Research project that is investigating language designs for writing code that is simple, obvious, and easy to reason about for both humans and machines. The key design features of the language provide ways to avoid accidental complexity in the development and coding process. The result is improved developer productivity, increased software quality, and enable a range of new compilers and developer tooling experiences."

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