Live data from Hacker News

Classic computer science problems solved in JavaScript

github.com

1–10 of 13 posts

Re: Classic computer science problems solved in JavaScript

#2
i think the real value in doing js implementations is hooking them up to js visualization libraries so that you can do online demos within the webpage; could be great for education. otherwise i don't see the benefit of coding this up in js vs. other similar dynamic languages.

Re: Classic computer science problems solved in JavaScript

#3
post #2

i think the real value in doing js implementations is hooking them up to js visualization libraries so that you can do online demos within the webpage; could be great for education. otherwise i don't see the benefit of coding this up in js vs. other similar dynamic languages.

The benefit being that JavaScript is the most popular language in history?

Re: Classic computer science problems solved in JavaScript

#5
post #3
post #2

i think the real value in doing js implementations is hooking them up to js visualization libraries so that you can do online demos within the webpage; could be great for education. otherwise i don't see the benefit of coding this up in js vs. other similar dynamic languages.

The benefit being that JavaScript is the most popular language in history?

A billion flies can't be wrong.

Just because it's used on almost every webpage, doesn't mean it's popular in the sense of being liked.

Re: Classic computer science problems solved in JavaScript

#6
post #3
post #2

i think the real value in doing js implementations is hooking them up to js visualization libraries so that you can do online demos within the webpage; could be great for education. otherwise i don't see the benefit of coding this up in js vs. other similar dynamic languages.

The benefit being that JavaScript is the most popular language in history?

It is certainly the most talked about at this point in time because of it's active competitive development and distribution.

But popular? In what definition?

Re: Classic computer science problems solved in JavaScript

#7
post #5
post #3

Earlier quoted context omitted.

The benefit being that JavaScript is the most popular language in history?

A billion flies can't be wrong. Just because it's used on almost every webpage, doesn't mean it's popular in the sense of being liked.

Yea, I wish I could

Re: Classic computer science problems solved in JavaScript

#8
post #5

Earlier quoted context omitted.

A billion flies can't be wrong. Just because it's used on almost every webpage, doesn't mean it's popular in the sense of being liked.

Yea, I wish I could

Seriously asking here: what would you like more about Ruby as opposed to Javascript if they were in the same boat (i.e. if Ruby had client ubiquity, no systems frameworks, no major non-browser platform, etc)?

Re: Classic computer science problems solved in JavaScript

#9
post #5

Earlier quoted context omitted.

A billion flies can't be wrong. Just because it's used on almost every webpage, doesn't mean it's popular in the sense of being liked.

Yea, I wish I could

You can... sort of: http://ejohn.org/blog/ruby-vm-in-javascript/

Re: Classic computer science problems solved in JavaScript

#10
Look, JS is a language like any other. If I can do something in assembly, I can do it in JS. Give me IF statements (preferably with nesting support) and variables, and there's nothing that cannot be done.

What remains is how easy, how nice, how flexible, how enjoyable, how compatible, how reliable, how practical.

For me, the answer is C++, but don't let that influence you ;-)

Post reply on HN