what is the erlang programming language and what are its uses? and what is haskell with its uses?
/dpt/ — Daily Programming Thread
lua is nice
What's the use case? For scientific programming, Julia looks like a viable option. Not quite as mature yet, but slowly getting there.
I don't know about webshit.
There's no such thing as "actually fast" without dropping down to C.
There is.
[spoiler]Dropping down to Pascal. C grammar sucks.[/spoiler]
So if i understood correctly your code does this:
#1
if first then first = next (Drops first from list)
#2
if last then last = previous (drops last from list)
else next.previous = previous (drops any in the list not on the edges and count > 2 )
#3
if not first then previous.next = next (restore next link to changed object in #2)
#4
Flag previous as a free spot
the code looks correct so far, the only stuff i can point out is that you're using "object" instead of "obj" in #1, if that's the actual code, and maybe you're forgetting to unflag the removed object as no longer being the first?
C is inherently faster than Pascal for all intensive computational purposes.
#4 (correction)
link previous to freespot
replace object with freespot
to be completely honest. i'm talking about a variety of uses from scientific programming to hacking(no meme) so a general language very similar to python but faster and my priorities are definitely learning hacking and scientific programming.
In short, no because CPUs are designed in a procedural manner rather than functional, so every operation has to be translated to a procedural design.
Ruby or Perl if you want to keep simplicity, Scheme is a good and fast algorithmic language, using Racket instead might help you get around its quirks, but C++ is necessary you want to design a fast, complex system