-
Cosa ci insegna Erlang sulla resilienza, in un periodo in cui ce ne è molto bisogno?
Erlang è un linguaggio open source nato nel 1986 alla Ericsson, di tipo funzionale, concorrente, dinamicamente tipato, general purpose e soprattutto costruito per essere “resiliente” sia dai primi giorni della sua nascita.
E’ il motore dietro RabbitMQ e CouchDB, e nell’ultima versione ha un nuovo Just In Time Compiler (JIT) che migliora le performance.
Read More -
Qualche mese fa avevo sviluppato una applicazione IoT per misurare la temperatura e spedire i dati ad una coda mqtt. Poi c’era uns server che collezionava i dati. Totale: tre server, con tre punti di fallimento ma architettura molto “cool”
In effetti però la potenza dei moderni chip embedded è tale che è possibile implementare una soluzione completamente asincrona “alla Erlang”. Con meno di 8 euro, potete procuravi il chip esp8266 su Amazon
Read More -
Negli ultimi 20 anni sono successe tante cose imprevedibili. Nel 1995 nasce Java. Nello stesso periodo nasce Erlang. Java inizialmente segue la strada culturale tracciata da Sun, e si configura come un linguaggio estremamente verboso, con API specifiche per la gestione della concorrenza (es keyword synchronized per gestire nativamente le zone critiche che necessitano di mutex). Inzialmente Java è per far girare applet, poi Sun presenta un chip ad hoc (picoJava) poi IBM ci mette del suo e il linguaggio si trasforma in una ottima piattaforma per lo sviluppo server side.
Read More -
Erlang è un linguaggio a mio avviso sottostimato, che ha parecchie cose da insegnare ai vari Scala/Rust/Java(Script) out of there… In particolare ci sono un insieme di feature di Erlang che prese singolarmente non sono difficili da comprendere e implementare, ma è l’insieme delle idee fondanti di Erlang che lo rende assai diverso dagli altri.
Read More -
Erlang: a lesson to learn…again!
Jun 25, 2015 · 5 min read ·Erlang is a great language.
[2019-UPDATE] Erlang 22 is OUT, so I wanna to come to the party!
On April 2015, Erlang father’s Joe Armstrong give us a very interesting lesson I want to tell about.
There was a long thread titled “Erlang and Akka, The Sequel” on the erlang mailing list, reasoning about the need of some standard pattern on Promises and Future. A lot of JavaScript libraries deal about that (also jQuery has its implementation). I want to report the Joe Amstrong reply because it give us a very clear understanding on the reason Erlang is different and you should at least try it once.
Read More -
Sometimes you are behind a http proxy, and the git:// protocol is not accessible.
For instance on erlang rebar, all developers prefer the git:// protocol when listing dependency. But how to fix it if you are behind a http proxy?
Ask help to git… [bash] git config –global url.https://github.com/.insteadOf git://github.com/ [/bash]
Read More -
Let it go, let it go! Can't hold it back any more. Let it go, let it go! Turn away and slam the door. ... Let it go, let it go. I am one with the wind and sky. Let it go, let it go. You'll never see me cry.
Read More -
After a bunch of time, I take back my Erlang Hammer from the sand of time.
The result is ErZauker v0.0.2 the first pure-Erlang implementation of a code indexer.
Er Zauker is a tiny but speedy search engine tailoring code searches. Zauker is backed by REDIS, the fastest RAM-based NoSQL engine you have never seen.
Read More -
Ready to study the Erlang?
Take a look to http://howistart.org/posts/erlang/1 for understanding how erlang releases works (and how to deal with them).
Erlang Maps are the next big thing and this article from Joe Amstong introduce you to them.
For some lengthly tutorial take a look to this http://learnyousomeerlang.com/maps
Read More -
A language that doesn’t affect the way you think about programming, is not worth knowing. Yale Professor Alan Perlis
In occasione dell’Elixir Conf siamo lieti di pubblicare una intervista con Francesco Cesarini. Nel 2009 abbiamo già recensito "Erlang Programming A Concurrent Approach to Software Development" scritto a quattro mani con Simon Thompson. Ora siamo lieti di ospitare una intervista ad ampio respiro con una delle colonne portati di Erlang Solutions.
Read More -
Cod Zauker Revenge: Code me maybe
Oct 22, 2012 · 1 min read ·
Code Me Mabye
Hey, I just met you, and this is crazy But here's my number, so call me maybe And all the other boys, try to chase me, But here's my number, so call me maybe
This release spot a optimized index (case sensitive search was stripped down to gain more space), and compatibility with er_zauker indexer (so you can span millions of server using Erlang ;)
Read More -
Erlang vs Ruby: Er Zauker
Jul 4, 2012 · 2 min read ·
Negli ultimi mesi ho sviluppato un motore di ricerca per il codice, chiamato code zauker.
Lo ho scritto in Ruby e Redis. Ruby è un linguagio che conosco da tempo, ma housato molto poco. In questeultime settimane ho voluto riprendere in mano Erlang, e per esercizio ho provato a riscrivere il kernel del motore di indicizzazione in Erlang, creando ErZauker
Read More -
Erlang Book Review
Jul 19, 2009 · 7 min readen erlang featured lang reviews software · books development erlang framework functional-programming guide http ideas internet java oreilly performance programming-languages·
After reading an interesting article on Erlang and Java interoperability, I have decided to dedicate my spare time to Erlang.
O’Reilly has just published a wonderful book on Erlang, so I decided to dive into it.
Read More -
As processors become faster and multiprocessor systems become cheaper, the need to take advantage of multithreading in order to achieve full hardware resource utilization only increases the importance of being able to incorporate concurrency in a wide variety of application categories.
In this article we are evaluting a new approach to the concurrency. In the last five years computers are becoming even more parallel. Intel is pushing multi-core achiteture also on commodity personal computers. Neverless the computing power is ofter not well used: one again, hardware is a step head of our day-by-day software development. Remember when the 80286 came into light. The 286 was able to provide a multi-programming architecture but without memory management protection. We had to wait 386 hardware to see software working on preemptive multi-tasking, because software cannot cope with unprotected memory. In one word, it costs too much to develop a operating system without the new features the 80386 bring to us. What about concurrent programming? Can we look similarities in the concurrency field?
Read More