Visualizzazione post con etichetta Erlang. Mostra tutti i post
Visualizzazione post con etichetta Erlang. Mostra tutti i post

sabato 31 ottobre 2009

Learning Erlang

Apache CouchDB ~ Ubuntu

"Ubuntu 9.10 Karmic Koala has just been released. This is big news as this version includes Apache CouchDB, used as a replicable database by desktop apps. This means CouchDB will be on over 10 million desktops" [from Damien Katz]

Erlang tutorial

martedì 4 agosto 2009

Ewg: Erlang Wordlist Generator

logo

Ewg is a Wordlist generator written in Erlang.

Thanks to this simple project I have been improving my knowledge in Erlang/OTP and Git.

I love functional programming and learning more and more... ;-)

lunedì 5 gennaio 2009

N queens solution with erlang

8queens

"The eight queens puzzle is the problem of putting eight chess queens on an 8×8 chessboard such that none of them is able to capture any other using the standard chess queen's moves. The queens must be placed in such a way that no two queens would be able to attack each other. Thus, a solution requires that no two queens share the same row, column, or diagonal. The eight queens puzzle is an example of the more general n queens puzzle of placing n queens on an n×n chessboard, where solutions exist only for n = 1 or n ≥ 4... " [Wikipedia]

Below my solution using ERLANG (very strong for concurrent programming, used by Ericsson, Facebook, Amazon,Google,..) with List comprehensions and suggestions from other sites.