Topics /

Programming Languages

The most popular blog posts about programming languages on Hacker News. 195 posts.

2015
91

Elixir Streams

I previously wrote about explicitness in Elixir. One of my favorite ways the language embraces explicitness is in its distinction between eager and lazy operations on collections. Any time you use the Enum module, you’re performing an eager operation. Your collection will be transformed/mapped/enumerated immediately…

94

Swift: Madness of Generic Integer

Handling Integers with Swift is not the easiest task. Especially when I need the generic function that can do some work on any kind of Integer. There are 11 Integer types that can be considered as Integers: * Int8 * UInt8 * Int16 * UInt16 * Int32 * UInt32 * Int64 * UInt64 * Int * UInt * Bit (I'll

101

Pixie: A sweet Clojure-ish language

It's likely no secret that I really dig Clojure . It's the first unityped language I've used since Objective-C in the early 90s that I really like. Yes, I still love Scala , but I think Clojure is pretty much the best designed computer language I've ever used... and maybe that's because Clojure is mostly "less is…

107

Good Practices for Writing Rust Libraries

For a bit more than a year now, I've been inter­ested in Rust , a pro­gram­ming lan­guage by Mozilla research that “runs blaz­ingly fast, pre­vents nearly all seg­faults, and guar­an­tees thread safety.” It is as low-level as C or C++, has a nice type sys­tem (with gener­ics and traits), a help­ful com­piler, and a…

110

K&R C (2014)

I was recently reading the C99 rationale (because why the fuck not) and I was intrigued by some comments that certain features were retired in C89, so I started wondering what other weird features …

113

Assembly Language: Still Relevant Today

First, no, I don't do every thing in assembly. I use other languages too. Assembly language does have its place though. Second, a few of my points may not apply to highly complex processors; for example, self-modifying code may not work on a processor with an instruction cache .

116

Swift Resistance

I feel like every time I sit down to actually start using Swift, I'm constantly battling with the language. My latest challenge: creating a backing buffer of pixel data that will be rendered t…

117

Singleton Pattern in Go

The Go Language growth has been phenomenal in the last few years, and is attracting language converts from all walks of life. There has been a lot articles recently about companies switching from Ruby, and experiencing the new world of Go and it’s parallel and concurrent approach to problems.

118

On Rust and Nim

I was recently contacted from a person I had never met before, asking for some comments on Nim and Rust. Since I have taken a little time to answer, I figured I might as well publish my thoughts.