The Deadlock Empire
The skills you need are your intelligence, cunning, perseverance and the will to test yourself against the intricacies of multi-threaded programming. Each challenge below is a computer program of two or more threads. Your objective is to exploit flaws in the programs to make them crash or otherwise malfunction.
Preload, prefetch and other <link> tags
Preload helps improve the performance by fetching thing you will need in advance.. Prefetch a CSS file, prerender a full page, or resolve a domain ahead of time – and you won’t have to wait for it when it’s actually needed! Sounds cool.
Sum Types In SQL
SQL databases represent product types – “and” – extremely well, but it has trouble with sum types – “or”. Most SQL databases support simple enumerations easily, but they lack the ability to talk about real sum types with fields. We can encode sum types in SQL in a few different ways, each of which has upsides and downsides.
When pigs fly: optimising bytecode interpreters
Author wrote a small stack virtual machine call Piglet. He show us in the case of ambitious, hardworking “piglets” and working within the confines of standard C, it is entirely possible to speed up the work of such interpreters by a factor of at least 1 ½.
Implementing a NES Emulator in Rust
You should read these kind of artcile regardless you use Rust or not. They brings interesting technique, has a “low-level” sense and help broad your knowledge alot. The code are open source of course.
Code to read
single-command flamegraph profiling
A NES emulator made to learn the Rust programming language
Let see how to implement a countdown in terminal
HTML-based Indented Markup Language for Ruby
Modern CLI for Apache Kafka, written in Go with a single binary
CLI tool to Share your terminal as a web application in Go so no dependency to use. If you like similar thing in C, checkout ttyd
That's it for this round, have a great day! If you like this newsletter, please tell the world, or
tweet about this