Using select(2) the right way
This started out as a Hacker News comment about a blog post about select being fundamentally broken After that the same author wrote why epoll is broken as well. I don’t know what problem author is trying to solve but let’s pick this one:
Fantastic DSLs and where to find them
The article discusses how Kotlin can create internal languages and how developers can use this feature to write powerful domain-specific languages for manipulating untyped data structures in a typed manner.
Linked Lists Are Still Hard
Stephen Brennan's personal website and blog.
Programming in the Point-Free Style
Point-free programming (or point-less programming, for the more cynically inclined) is a paradigm that advocates the formulation of programs by means of function composition. In the point-free styl…
Research papers in the .NET source
This post is completely inspired by (or ‘copied from’ depending on your point of view) a recent post titled JAVA PAPERS (also see the HackerNews discussion). However, instead of looking at Java and the JVM, I’ll be looking at references to research papers in the .NET language, runtime and compiler source code.
Functor-Oriented Programming
My style of Haskell programming has been evolving over the 15 years that I have been working with it. It is turning into something that I would like to call “functor oriented programming”. The traditional use of typed functional programming focuses on data types. One defines data types to model the data structures…
C++ on Embedded Systems
Yet another programming blog. Thoughts on software and related misadventures.
How I got banned from Codewars
Hello everyone.
Golang: Don't be afraid of makefiles
I’m using Golang for a while. During the development, I was used to repeatedly execute “go build”,“go test” manually. This was a bad habit on which I resign. It is not so painful if you use simple command without any args. But in case of more complex tasks, naturally, it is going to be a…
The long arrow operator in C++
Dr Ivan Čukić -- author of the 'Functional Programming in C++' book, KDE developer and Free/Libre Software enthusiast.
The Emacs Calculator (2009)
Did you know that Emacs comes with a calculator ? Woop-dee-doo! Call the presses! Wow, a whole calculator! Sounds a bit lame, right?
Writing a Raytracer in Rust – Part 1
Hello! This is part one of a short series of posts on writing a simple raytracer in Rust. I’ve never written one of these before, so it should be a learning experience all around. So what is a raytracer anyway? The short version is it’s a computer program that traces the paths of simulated rays of light through a…
Deploying ES2015+ Code in Production Today
Most web developers I talk to these days love writing JavaScript with all the newest language features—async/await, classes, arrow functions, etc. However, despite the fact that all modern browsers can run ES2015+ code and natively support the features I just mentioned, most developers still transpile their code to…
How LZ4 works (2016)
LZ4 is an exciting algorithm, but unfortunately there is no good explanation on how it works. This blog post tries to explain it in terms that everybody can understand.
CSS in JavaScript is like replacing a broken screwdriver with your favorite hammer
There's a ton of interest these days in 'CSS in JS'. The premise is simple: CSS operates in a global namespace, which can result in undesirable side effects, spaghetti code, and extremely difficult to maintain codebases. JavaScript used to do this, and we fixed it by encapsulating everything in modules and using tools…
To Serve Man, with Software
I didn’t choose to be a programmer. Somehow, it seemed, the computers chose me. For a long time, that was fine, that was enough; that was all I needed. But along the way I never felt that being a programmer was this unambiguously great-for-everyone career field with
Is Haskell the right language for teaching functional programming principles?
The “park bench” panel at the Haskell eXchange last week talked about a lot of things, but some of them can be summarised by the question ...
Introducing PureScript Erlang back end
I’m not sure why I decided to create an Erlang backend for the PureScript compiler.The platform is somewhat interesting, but I didn’t know it, and I don’t ha...
More Good Programming Quotes (2016)
In my previous post, The Wisdom of Programming Quotes, I called out some quotes that look good on the surface, but turn out to promote the wrong ideas about software development. I have also posted…