Pi calculation with Elixir

Pi calculation with Elixir

As a programmer one is always searching for better tools, practices and programming languages. For example, working with Clojure makes me a better programmer, it provides me the ability to write functional, succinct code that runs fast and works on the well-tuned and battle-tested JVM. Looking at Clojure, an ideal modern day programming language for me would be -

  • Supporting immutable data structures
  • Functional
  • Concurrent
  • Supporting asynchronous & lazy code execution
  • Supporting a fast REPL
  • Supporting macros / metaprogramming
  • Dynamically typed

Clojure surely checks all of the boxes above but I also heard really good things about Elixir and boy I am delighted with what I have seen. Apart from being very Clojure like, Elixir reads mostly like Ruby and the development experience is a pleasure (e.g. super fast REPL load times and extremely helpful error messages).

Continue reading ...

要查看或添加评论,请登录

Rocky Jaiswal的更多文章

  • Fun with function composition

    Fun with function composition

    Previously we looked at why it is nice to write software with function composition. We saw that it leads to simpler…

    3 条评论
  • Hibernate Reactive Experiments

    Hibernate Reactive Experiments

    Recently IRL (not weekend life) we had to deal with an old Ruby service to get it ready for "Black Friday traffic" i.e.

  • Code with functions

    Code with functions

    Explore the idea of writing code with small composable functions.

  • React, Redux with TypeScript

    React, Redux with TypeScript

    The most important element of a React + Redux application is "state". The state decides what the user interface will…

    1 条评论
  • Promises, Async and Await in Node.js

    Promises, Async and Await in Node.js

    This week we had the much awaited Node.js 8.

    1 条评论
  • Kubernetes with ELK Setup

    Kubernetes with ELK Setup

    As it turns out this is my 100th post. The first one was published in March 2011 and a lot has changed since then.

    1 条评论
  • Testing HapiJS with Jest

    Testing HapiJS with Jest

    HapiJS and React are pretty much my go-to technology choices for web application development right now. While Jest…

  • Docker Registry with AWS & Let's Encrypt

    Docker Registry with AWS & Let's Encrypt

    With pretty much all new projects moving to Docker and Docker managers like Kubernetes, the Docker Registry becomes the…

  • Hello Kubernetes

    Hello Kubernetes

    Introduction Pretty much everyone in the technology world has heard about Kubernetes by now. But before we dive into…

  • Classes and patterns in Node.js

    Classes and patterns in Node.js

    This week we had the awesome Node.js 6.

社区洞察