Arithmetic of arbitrary precision in Erlang

 
3r3-31.
Arithmetic of arbitrary precision in Erlang  
@rawpixel 3r33460.
 
Even schoolchildren are aware of the existence of various number systems and the fact that not every finite decimal fraction is a finite fraction in a binary number system. Few think that because of this fact, operations on float and double are not precise. 3r33460.
 
If we talk about Erlang, then it, like many other languages, implements the IEEE754 standard for float, while the standard type Integer in Erlang is implemented using arbitrary precision arithmetic. However, I would like to have not only bigint, but also the possibility of operating with rational, complex ...
+ 0 -

Clojure application in the style of Erlang &lt;{short}&gt; &lt;{full}&gt; <div class="post__text post__text-html js-mediator-article"> <p> As is known in the circle of Erlang developers: only Erlang developers know how to "live" correctly <del> and al

<{full}>
As is known in the circle of Erlang developers: only Erlang developers know how to "live" correctly
and all the rest "live" - ​​wrong
.
 
Without attempting to dispute this fact, let's give an example of Clojure application in the Erlang style, using the library
Otplike
.
 
For understanding the article, the reader may need to know the basics of Clojure
(and unless there are people who do not know Clojure? )
and the Erlang /OTP basic principles (processes, sending messages, <{short}>As is known in the circle of Erlang developers: only Erlang developers know how to "live" correctlyand all the rest "live" - ​​wrong. Without attempting to dispute this fact, let's give an example of Clojure application in the Erlang style, using the library Otplike . Otplike . , supervisor behaviours). In order to deal with everything else, the average Clojure developer has everything you need: code with examples , REPL and "tambourine". Why Clojure? In fact, there are many answers to the question "why Clojure". Here are our favorites: №1. Clojure is a very effective ...
+ 0 -

Erlang, rebar3 and installation of the service under Windows

How to make Erlang release work as a service for Windows. Let's leave off-camera the question of why this should be done. It's just that sometimes it's necessary.
 
So let's focus on HOW. To make it even harder, we'll set ourselves the task of doing this with wixtoolset .
 
This note is a kind of cheat sheet to myself. Although I very much hope that it will never come in handy.
 
Go.
 
Imagine that we somehow put the files and ran-time with themselves brought. Running application in the form of a console is triggered and now you need to formalize the launch of the application as a service.
 
If t...
+ 0 -