Live data from Hacker News

Hook.io - a full featured i/o framework for node.js which aims to take on erlang

hook.io

11–20 of 31 posts

Re: Hook.io - a full featured i/o framework for node.js which aims to take on erlang

#11
So, you want to take on erlang?

Then how about writing some documentation. Your half-page README, half of which is spent making big claims, but then barely scratching a hello-world, left me rather underwhelmed.

Here's a simple question: How do you handle errors? (exceptions, transport errors, timeouts)

Re: Hook.io - a full featured i/o framework for node.js which aims to take on erlang

#12
post #3

This is pretty sweet sauce. You get the modular ideology like Erlang.. without the syntax. Ew.

How long did you program in erlang? I only did for a year or two but during that time came to appreciate the syntax as well evolved for the type of coding erlang was built to handle. There are a few syntax warts and many "standard lib" oddities due to evolution. For me, it did not take long before the syntax was very readable. On the other hand, I've programmed in javascript off and on for much longer and still find the syntax a bit ugly...to each his own ;)

Re: Hook.io - a full featured i/o framework for node.js which aims to take on erlang

#13
post #11

So, you want to take on erlang? Then how about writing some documentation. Your half-page README, half of which is spent making big claims, but then barely scratching a hello-world, left me rather underwhelmed. Here's a simple question: How do you handle errors? (exceptions, transport errors, timeouts)

The project is pre semver 1.0.0, it should not be considering suitable for production.

You'll have to be way more specific about what you mean by "handle errors". Do you mean node to node connection errors? Node to node messaging errors? Errors localized in a custom Hook?

I suggest just reading through the codebase, it's not that big. The entire philosophy is crash only processes which are supervised by Forever. In the current early version of hook.io we usually get let things crash and restart. This isn't idea for guaranteeing delivery of messages, but it's a good start.

Re: Hook.io - a full featured i/o framework for node.js which aims to take on erlang

#16

>i/o framework...node.js...take on erlang >nodejitsu No.

Why would you say that?

Do I need to enumerate the many problems with node.js's runtime that make it unsuitable as a replacement for Erlang which has been done many times before?

Re: Hook.io - a full featured i/o framework for node.js which aims to take on erlang

#17
post #3

This is pretty sweet sauce. You get the modular ideology like Erlang.. without the syntax. Ew.

Syntax is potentially the most shallow thing to complain about, particularly when it actually makes sense in the structure of the language in question (like Erlang) and doesn't hurt readability for anyone (unlike some perceptions of Lisp).

Re: Hook.io - a full featured i/o framework for node.js which aims to take on erlang

#18
post #11

So, you want to take on erlang? Then how about writing some documentation. Your half-page README, half of which is spent making big claims, but then barely scratching a hello-world, left me rather underwhelmed. Here's a simple question: How do you handle errors? (exceptions, transport errors, timeouts)

The project is pre semver 1.0.0, it should not be considering suitable for production. You'll have to be way more specific about what you mean by "handle errors". Do you mean node to node connection errors? Node to node messaging errors? Errors localized in a custom Hook? I suggest just reading through the codebase, it's not that big. The entire philosophy is crash only processes which are supervised by Forever. In t…

> The entire philosophy is crash only processes which are supervised by Forever.

> we usually get let things crash and restart.

>This isn't idea for guaranteeing delivery of messages

That is not Erlang.

Re: Hook.io - a full featured i/o framework for node.js which aims to take on erlang

#19
post #3

This is pretty sweet sauce. You get the modular ideology like Erlang.. without the syntax. Ew.

Syntax is potentially the most shallow thing to complain about, particularly when it actually makes sense in the structure of the language in question (like Erlang) and doesn't hurt readability for anyone (unlike some perceptions of Lisp).

Shallow? I can't roll my eyes at those whom complain about noisy/unpleasant syntax. It's quite important that it's agreeable to you if you have to stare at it all day long. Sure, there are many other important considerations when evaluating a language, but being concerned with syntax is hardly shallow IMHO.

Re: Hook.io - a full featured i/o framework for node.js which aims to take on erlang

#20

Earlier quoted context omitted.

Syntax is potentially the most shallow thing to complain about, particularly when it actually makes sense in the structure of the language in question (like Erlang) and doesn't hurt readability for anyone (unlike some perceptions of Lisp).

Shallow? I can't roll my eyes at those whom complain about noisy/unpleasant syntax. It's quite important that it's agreeable to you if you have to stare at it all day long. Sure, there are many other important considerations when evaluating a language, but being concerned with syntax is hardly shallow IMHO.

Have you spent more than a tutorial with Erlang?
Post reply on HN