How the Go runtime implements maps efficiently without generics
This post discusses how maps are implemented in Go. It is based on a presentation I gave at the GoCon Spring 2018 conference in Tokyo, Japan.
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 361 posts.
This post discusses how maps are implemented in Go. It is based on a presentation I gave at the GoCon Spring 2018 conference in Tokyo, Japan.
As you may have heard by now, Ranges got merged and will be part of C++20. This is huge news and represents probably the biggest shift the Standard Library has seen since it was first standardized …
Introduction to the Rust language, standard library and ecosystem
A guide to all the Magic Methods in Python
Today we're proud to announce the release of TypeScript 2.7! If you're not familiar with TypeScript, it's a language that brings optional static types to
The Personal blog and musings of Chris Penner, a designer, developer and future opsimath.
With OTP-21 came a new logging library in Erlang called logger . It comes as an attempt to offer a built-in alternative to long successful projects such as lager , which have seen years of battle testing and tweaking for performance. I've seen few articles written about the new logger and what it can do, so I've…
I want to say a few words on how I write Haskell as of 2017. Before I go on, I want to make very clear: this is neither a style recommen...
I promised two things when I did the closing keynote at RustConf 2018:
Stay up to speed on the rapid advancement of AI technology and the benefits it offers to humanity.
Practical advice on getting the most out of handling errors "the Go way" from the creator of imgproxy and Overmind.
In this post I will describe the differences between functions and coroutines and provide a bit of theory about the operations they support. The aim of this post is introduce some foundational concepts that will help frame the way you think about C++ Coroutines.
Go is a simple and fun language, but, like any other language, it has a few gotchas... Many of those gotchas are not entirely Go's fault. Some of these mistakes are natural traps if you are coming from another language....
Monads have exerted a curious fascination on programmers who turn to Haskell. The incomprehension of the newbies is matched in intensity onl...
Covers general elements of computer hardware useful to know before reading the rest of the tutorials
It's not about technology for its own sake. It's about being able to implement your ideas.
How to start off on the right foot
Visual Studio has long been recognized for the quality of its IntelliSense (code analysis and suggestions) across all languages, and has had support for
A practical introduction to the programming language Scheme
(This article came about in response to some questions on the LL1 mailing list. It is now incorporated in Revenge of the Nerds .) When McCarthy designed Lisp in the late 1950s, it was a radical departure from existing languages, the most important of which was Fortran . Lisp embodied nine new ideas:
This content was originally meant to be presented as part of my workshop on Rust and microcontrollers at the NITC FOSSMeet 2018 . As I was not able to cover it satisfactorily during the workshop, I thought of writing it down!
Minor nit: printing the predecessors of a basic block is a feature of the IL printer, not Clang. It is just visualizing information that is implicit in the IR anyway.
Notes by `dpc`
This is hard to write, or rather, it’s a hard decision to make. After investing many years on Leaf — a programming language, a major life project — I need to take a break from it. It’s no longer fulfilling my goals, and it’s not as fun as it once was. It’s interfering with my […]