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...
Topics /
The most popular blog posts about programming languages on Hacker News. 5,634 posts.
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...
Learn what parser combinators are, what they are made of, and how to make your own CSV parser using NimbleParsec, a parser combinator library written in Elixir.
Let’s start with a question! Is this program well-defined? 1 2 3 4 int main() { while (true) ; } If you said yes, you’d be wrong — at least before C++26. A while (true); loop with no side effects used to be undefined behaviour. Compilers were free to assume it terminates, and some — Clang in particular — would…
I am just really bored by Lisp Machine romantics at this point: they should go away. I expect they never will....
Over the past few years, Etsy’s Web Platform team has spent a lot of time bringing our frontend code up to date. It was only...
In the first post, I took a brief look at the programming languages ATS, C#, Go, Haskell, OCaml, Python and Rust to try to decide which would be the …
Like most programming languages, Rust encourages the programmer to handle errors in a particular way. Generally speaking, error handling is divided into two broad categories: exceptions and return values. Rust opts for return values.
Dr. Alan Kay invented the term "OO Programming", but he states that modern OO programming isn't what he meant. What did he mean?
For a language that claims to focus on one right way to handle most situations, string formatting in Python is quite a buffet and it’s getting more diverse by the year. Starting with Python 3.6 we now have three ways to format strings (outside of simple concatinating things or using string.Template ):
Python 3.5 introduces type hinting to help code-writing during development. Let’s take a look at this feature and show it in action.MotivationSome folks, but not all, like help from their tools
Scott Mabin's blog
Researchers at MIT CSAIL developed a new programming language specifically for high-performance computing. With the prototype, says PhD student Amanda Liu, “speed and correctness do not have to compete ... they can go together, hand-in-hand.”
This post is part of the Who's @ Google I/O , a series of blog posts that give a closer look at developers who'll be speaking or demoing at ...
The first half introduces Rust’s language features and libraries for error handling. The second half should help you write good error handling code in Rust.
A selection of the details that makes Clojure such an enjoyable language to work with.
The Nim programming language is a concise, fast programming language that compiles to C, C++ and JavaScript.
I’ve been learning Rust for the past twenty days or so, working through the Blandy & Orendorff book, coding up things as I go. Once I got into playing with Rust traits and closures and as…
A dive into the unknown personal and academic history of the mathematician who developed combinators, Moses Schönfinkel.
This post is meant to create more awareness about state machines in the web application developer crowd. If you don’t know what state machines are, please read up on them first. Wikipedia is a good place to start, as always. State machines are awesome The main reason for using state machines is to help the design…
Today we’re looking at the rust borrow checker from a different perspective. As you may know, the borrow checker is designed to safely handle memory allocation and ownership, preventing accessess to invalid memory and ensuring data-race freedom. This is a form of resource management: the borrow checker is tracking…