News for hackers. Stuff that matters.
Re:Show HN: My current App Store Featured Game was written e... by jlongster on Friday March 07, 2014 @11:45PM (#7364272)
I remember hearing about the Nintendo DS work. Great stuff!

What I'm working on relies on a full JS implementation. Performance is a critical feature so I need to implement as little as possible. I basically implemented a very small VM that controls JS code using exceptions. What I've done lets you run JS code with a 3-4x perf hit, but you get full stepping and debugging abilities in user-land. I'm going to release it in a few weeks!

It sounds like it's not quite what you're looking for though. You're project sounds cool!

Re:Show HN: My current App Store Featured Game was written e... by malandrew on Saturday March 08, 2014 @12:56AM (#7364368)
Is this project already public on github?

Outlet and Outlet-Machine look like what you're describing but the docs on those say they are deprecated/frozen and the last commits are 1-2 years ago.

Re:Show HN: My current App Store Featured Game was written e... by jlongster on Saturday March 08, 2014 @01:16AM (#7364400)
No, not yet. I was exploring this indeed with outlet but discovered that wasn't the right way to do it. My technique came together very recently and I plan on releasing it soon.
Re:Show HN: My current App Store Featured Game was written e... by bsder on Saturday March 08, 2014 @07:41AM (#7365022)
Interesting. I may have to look at your exception usage and see if I can emulate the same thing faster with some hooks directly into my VM. No point in running a VM on a VM if I can just implement the hooks directly.

Your code probably isn't what I'm looking for right now. But single stepping and debugging in user-land is exactly what embedded systems need.

I'll keep an eye out for your stuff.

Re:Show HN: My current App Store Featured Game was written e... by jlongster on Saturday March 08, 2014 @11:48AM (#7365619)
You don't need to wait for my stuff, it's all in here: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.89.9...

I reworked the same technique to make it a debugger instead of continuations.