Open in app

Sign In

Write

Sign In

Jonathan Reem
Jonathan Reem

167 Followers

Home

About

Jan 12, 2015

Rust Patterns: Using traits for function overloading

Rust doesn’t have function or method overloading built in, but you can use the extremely flexible trait system to get something very much like it. Let’s imagine we are writing a simple HTTP server framework and we’d like to expose a method on our Response representation to set the body…

2 min read

2 min read


Sep 19, 2014

The Road to Rust Web 1.0

Amidst all of the talk surrounding the Road to Rust 1.0, I thought it would be fitting to talk about the corner of Rust with which I am most familiar, and what it will take to get Rust web dev to “1.0.” First things first, let’s celebrate what we’ve accomplished! …

3 min read

3 min read


Aug 25, 2014

From The Forge — Rebuilding Iron

New and improved! Iron was originally designed, implemented, documented and released in three weeks, the first week of which was mostly me and my teammates learning Rust in the first place! We have come a long way since then, and so has Iron. Today, I’m re-releasing Iron, version 0.0.1. I…

6 min read

6 min read


Aug 20, 2014

What should you get from an Error?

When crafting a general error type for Iron I came to a conclusion about the two different roles an error can serve: errors can be crafted for reporting, or they can be crafted for handling. Iron has rather demanding needs from an error type — it needs to be extensible…

3 min read

3 min read


Jun 7, 2014

The Explainer’s Fallacy

In the mind of the classic explainer, learning has two steps: beginning and understanding — bridged first and foremost by a single realization brought about by the perfect explanation. In reality, learning is exponential. It is a process that demands enormous investment and initially provides mediocre returns. It is not…

1 min read

1 min read


Jun 7, 2014

Zero Cost

or why Rust — Rust achieves Speed, Safety and Usability through the power of Zero Cost Abstractions — primarily robust pointer and type systems that offer safety and expressiveness with as close to zero performance penalty as possible. I recently read a Quora question that asked why we don’t write all software in C…

1 min read

1 min read


Jun 7, 2014

Promises and Callbacks

Promises are cool primarily for two reasons: Promises encapsulate the idea of a value that doesn’t exist yet or may never exist. Promises define what it means to chain computations on values that don’t exist yet. Together, these two qualities allow code that uses promises to be much clearer and…

4 min read

4 min read


Jun 7, 2014

Async and Parallel, a Restaurant Model

Let’s talk about waiters, or really, rather, one waiter. See, there’s this pretty terrible restaurant with this one waiter in it and every time he takes an order from a customer he goes to the kitchen, tell’s one of the cooks there’s an order and then just stands by the…

3 min read

3 min read


Nov 3, 2013

Functional Programming is Black Magic

I promise that if you’ve worked entirely in OO languages, Haskell is unlike anything you have ever seen before. Even if you’ve worked in languages with some functional features, like Python or Ruby, Haskell will still thoroughly blow your mind. To be honest, most programming languages are pretty similar to…

4 min read

Functional Programming is Black Magic
Functional Programming is Black Magic

4 min read


Published in I. M. H. O.

·Sep 10, 2013

Something we all really wish would go away.

And nobody wants to talk about. — Click here to save a life. Did you click? Did you give? I know you did, but just in case: go ahead, it costs just $5 to give another human being a desperately needed insect net. Now did you give? Awesome, I trust you, you gave $5 and another person…

4 min read

Something we all really wish would go away.
Something we all really wish would go away.

4 min read

Jonathan Reem

Jonathan Reem

167 Followers

Software Engineer by day, looking for work in Rust at night

Following
  • United Nations

    United Nations

  • Meteor Software

    Meteor Software

  • University of Cambridge

    University of Cambridge

  • Reza Aslan

    Reza Aslan

  • The Atlantic

    The Atlantic

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech