[erlang-questions] Coming Back (maybe improving lists:reverse/1)
Ivan Carmenates Garcia
Thu Oct 8 01:43:09 CEST 2015
Hi Cian, well I have no long list, short list actually, but what I want is millions of repentances of the same algorithm. i.e. for concurrency of millions of users. Lol well maybe I was a little bit extreme here.
I treasure Erlang as the best language ever and the future language, multicore, concurrency, etc. That's why maybe sometime I could get so extreme!. For example I wrote this about Erlang a few days ago and sent it to a person to defend it against the world and get a job, please correct me if I am wrong in some aspects.
The future is multicore, and each day more computers with more amount of cpu cores and the world is more concurrent. We choose Erlang because it is the language of the future so it is already ready for multicore programming and there is no other language like it in this aspect.
The majority of programmers rather easy and comfortable languages like Php or Pyhton, because of its beautiful syntax, but this languages are not ready for the future, they are sequentially and has no clue about what multicore programming is or it is very hard to implement.
Erlang is growing up because of its power to handle millions of concurrent process without any difficulty and very easy to implement and that so to build entire distributed systems with huge reliance. It is not only the way of programming easy, it is to do it so a little more complex however not with more effort and adopting the new tendency that is distributed functional, concurrency and fail tolerant oriented programming.
A simple example is: The Oxford University of England does not had any postgraduate courses last year in Informatics Sciences and they open one this year and guess what the topic of the course is: "Modern programming languages, including declarative, logical and parallel paradigms, functional programming, concurrency, distributed systems.".
Well sorry about the speech lol and the translation I just made, I wrote it originally in Spanish.
Ivan (son of Gilberio).
From: Cian Synnott [mailto:]
Sent: Wednesday, October 7, 2015 3:48 PM
To: Ivan Carmenates Garcia
Subject: Re: [erlang-questions] Coming Back (maybe improving lists:reverse/1)
On Wed, Oct 7, 2015 at 7:39 PM, Ivan Carmenates Garcia <> wrote:
> lists module, and doing some recursive functions, it is usually a
> problem that we need to do lists:reverse at the end of the algorism to
> get the data in the right order.
Are you sure that it's a problem, e.g. do you have very long lists, or measurements that demonstrate an issue?
for a brief note on why you probably don't need to worry about this.
> So I can imagine Erlang implement lists using double linked lists for
> obvious purposes,
They're singly-linked - this is why we tend to build them in "reverse order" in the first place.
More information about the erlang-questions