Re:Javascript emulator for Notch's DCPU-16
by calibwam on Wednesday April 04, 2012 @09:20PM
(#3800793)
It seems as though HN had a nerdgasm, and now everybody wants to make an emulator for something that's not even released. What is the point of this? Everybody here knows it's possible to emulate a CPU in any Turing complete language, so why do we need an emulator for the same computer in every programming language there is?
[ Parent
| on HN ]
Re:Javascript emulator for Notch's DCPU-16
by tptacek on Wednesday April 04, 2012 @11:44PM
(#3801205)
As long as everyone's talking about instruction sets and writing emulators and critiquing architectures and not pumping Bitcoin, who cares? Thanks, Notch, for temporarily fixing HN. :)
Re:Javascript emulator for Notch's DCPU-16
by jazzychad on Thursday April 05, 2012 @02:28AM
(#3801561)
Exactly. It's like everyone forgot what the "hacker" in Hacker News means. This is the kind of stuff I live for.
Re:Javascript emulator for Notch's DCPU-16
by barrybe on Wednesday April 04, 2012 @09:31PM
(#3800827)
It's fun? A lot of people build things for fun, you wouldn't tell someone building a table not to do it because we already know how to build tables.
Re:Javascript emulator for Notch's DCPU-16
by jtauber on Wednesday April 04, 2012 @10:38PM
(#3801026)
There's nothing wrong with reinventing the wheel if your goal is to teach yourself more about wheels.
Understanding something by implementing it in a favourite programming language is at the heart of being a hacker.
Re:Javascript emulator for Notch's DCPU-16
by jack-r-abbit on Wednesday April 04, 2012 @10:47PM
(#3801047)
Right... it is not released yet. But if you have emulators you can write code for it now. And then when it IS released... BAM!... programs are already written to use on it. Am I wrong here?
Re:Javascript emulator for Notch's DCPU-16
by robertpateii on Thursday April 05, 2012 @02:16AM
(#3801543)
This site is named Hacker News. The word Hacker is used in the hacking things together, apart, and back again sense. Like a hobbyist. What else were you expecting from this crowd?
Re:Javascript emulator for Notch's DCPU-16
by itsboring on Thursday April 05, 2012 @04:09AM
(#3801734)
It's just really low-hanging fruit I think (the spec is crazy simple), and people are understandably excited to get to work on something of the sort vs. boring day job stuff.
I think we'll see a massive wave of python/javascript implementations, a few C/C++/C# ones, and then finally a trickle of novelty implementations in haskell, lisp, brainfuck, etc. This part could last for months. :)
Re:Javascript emulator for Notch's DCPU-16
by zellyn on Wednesday April 04, 2012 @11:03PM
(#3801090)
I'm guessing you didn't program a 6502-based computer in assembler in the 80's?
Re:Javascript emulator for Notch's DCPU-16
by mistercow on Wednesday April 04, 2012 @09:30PM
(#3800825)
Well, I think what happened was that this morning everybody saw that Notch had released the spec, and then about 1% of our ranks said "Hey I bet it would be a fun project to implement this spec in my favorite language! I'll bet that definitely nobody else is going to do this." Then that poor, misguided 1% set to work, and the rest is history.
Re:Javascript emulator for Notch's DCPU-16
by RodgerTheGreat on Wednesday April 04, 2012 @09:48PM
(#3800878)
If doing something allows you to learn, it doesn't matter if someone else has done it before.
Re:Javascript emulator for Notch's DCPU-16
by mistercow on Wednesday April 04, 2012 @09:52PM
(#3800889)
This is true, but not all learning experiences need to be shown to the world.
I suppose really I only gave half of an explanation though and did not account for how so many of these posts have gotten voted to the front page. I expect it still has to do with "my favorite language" though.
Re:Javascript emulator for Notch's DCPU-16
by sirclueless on Wednesday April 04, 2012 @10:28PM
(#3800993)
There's always the possibility that this has real value to some people. Assuming that Notch follows through with his claim that you will be able write arbitrary programs to run ingame, then an online playground to prototype these programs might be very useful. Its appeal is unlikely to be as broad as say, JsFiddle, but putting it out there isn't necessarily just self-aggrandizement.
Re:Javascript emulator for Notch's DCPU-16
by mistercow on Wednesday April 04, 2012 @10:46PM
(#3801045)
I didn't mean to imply that it was. But I think calibwam has a point that there have been a disproportionate number of front-page posts today about these implementations, and it's just kind of odd.