Live data from Hacker News

A Javascript journey with only six characters

jazcash.com

101–110 of 123 posts

Re: A Javascript journey with only six characters

#104
post #59

Earlier quoted context omitted.

If it's similar to another article, I'd love to see it. I wrote this over the last two days using only the sources noted at the bottom of the post.

I think the problem is your post reads like it's a discovery of your own, jsfuck and previous artwork are only hinted at the end.

The style makes it easier to see how the approach works, and wouldn't say it implies the OP came up with the technique.

It seems that explanatory articles of this sort often use this style, as it is a great way to get the idea across.

Re: A Javascript journey with only six characters

#105

Does anyone know a good sandboxing technology to execute user written javascript in a safe way? (like, on other user machines or on the server)? I have some ideas like "learn programming" that would benefit from this immensely.

Niel Fraser, the guy who created the Blockly block programming toolkit also created a JS Interpreter which allows single stepping of code. https://neil.fraser.name/software/JS-Interpreter/docs.html

Re: A Javascript journey with only six characters

#108

Does anyone know a good sandboxing technology to execute user written javascript in a safe way? (like, on other user machines or on the server)? I have some ideas like "learn programming" that would benefit from this immensely.

Niel Fraser, the guy who created the Blockly block programming toolkit also created a JS Interpreter which allows single stepping of code. https://neil.fraser.name/software/JS-Interpreter/docs.html

I've hacked on this interpreter some, it's pretty nice to read! It implements a very limited subset of JavaScript, something like ES3.

I'd be really interested to hear about other similar implementations of JavaScript in JavaScript. I stopped working on https://github.com/thomasballinger/hotswapping-js-interp#js-... partially because copying the state of the interpreter was relatively slow. I'd be interested in implementations that would handle this better by using a more bytecode-like VM or immutable data structures.

Post reply on HN