Good morning (?)!

So what does a CPU do when it's in idle? Assuming you are not mining 100% of the time, the answer is not as straightforward as you might think.

Now on to the articles!

Articles

(Sep 27) #cpp

Fabian “ryg” Giesen is writing a series on reading variable-bit-length code from a byte stream and discussing in detail all the various ways we can do this, along with pros and cons. In this third part the author, after examining the bottlenecks, looks into parallelising the process, offloading it to the GPU or even using SIMD to boost performance. The series is well worth reading from part 1 to learn a plethora of techniques regarding bit encoding/decoding.





(Sep 28) #ballerina

Ballerina is a relatively new programming language, first appearing in 2017 whose goal is to make microservice development a lot easier (we featured it way back in issue #63). In this article we learn how to implement Message Transformation Patterns, an Enterprise Integration Pattern which is used to transform messages between services such that it enables communication between them through a messaging system. If that sounds like a mouthful, welcome to enterprise software development!



(Sep 25) #web

If you are working on front-end development, especially using one of the fancy frameworks like... React? I'm assuming that's still alive, then you definitely needed more than once to accurately measure the performance of your webapp (I think they're called SPAs now.. No wait, it's PWAs. Oh I give up!). Luckily Nolan Lawson has written a very detailed article on this very subject. In it the author explains how the rendering pipeline works and how to measure performance using Chrome Dev Tools; what to look for, how to read the results, etc.





Programming language of the day: Cobra."Cobra is a general-purpose, object-oriented programming language. Cobra is designed by Charles Esterbrook, and runs on the Microsoft .NET and Mono platforms. It is strongly influenced by Python, C#, Eiffel, Objective-C, and other programming languages. It supports both static and dynamic typing. It has support for unit tests and contracts. It has lambda expressions, closures, list comprehensions, and generators."



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 it by becoming a patron (Patreon), buying me a coffee (PayPal), donating anonymously (coinbase), or purchasing an MCC mug (RedBubble); it helps me keep this going.

Cheers,

Pek