Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: A JS-scriptable graph theory experimentation tool (github.com/blackhole89)
3 points by msoloviev on March 20, 2018 | hide | past | favorite | 2 comments


Submission statement: I have previously tried submitting it to not much avail, but the program has matured a lot since then. The repository includes a number of examples (in examples/) that are representative of the current version, such as an implementation of Restricted Boltzmann Machines (screenshot: https://raw.githubusercontent.com/blackhole89/graphicdepicti...). Apart from typesetting and layout work, the new ability to essentially associate arbitrary JavaScript objects with vertices and edges generally lends itself quite naturally to the local computation involved in many machine learning applications (as you can associate compute()-type functions with each vertex that read inputs and/or pass results to outputs).


Nice work! It looks really cool. The JS scripting is of particular interest to me, as I’ve recently been experimenting with sandboxing user scripts within a v8 vm instantiated from a go program, with v8 statically linked to the compiled go program executable.

I’m on mobile so I’ve only glanced at the code, but what was your experience like interacting with v8 from c++? Any tips, or dare I say, pointers for implementing v8 as a scripting engine?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: