The dynamic language embedding turducken is complete: you can now call Python from JavaScript from Python! As of PyMiniRacer v0.12.2 , you can write logic in Python and expose it to V8’s JavaScript sandbox. You can now in theory, while writing only Python and JavaScript , create your own JS extension library similar to NodeJS’s standard library . Obviously, anything created this way…
In this last blog post , I discussed my revival of PyMiniRacer , a neat project created by Sqreen to embed the V8 JavaScript into Python. As of that post ( v0.8.0 ), I had done a light reorganization of the C++ side of PyMiniRacer, but nothing big there yet. Here we talk about some extensions to PyMiniRacer, rolling up the changes up to v0.11.1 : JS Object and Array manipulation, directly calling…
In this last blog post , I created a helper to call JavaScript from Python using a NodeJS sidecar process. In the post I commented that in- process JS evaluation might be nicer. The old Sqreen PyMiniRacer project had only recently fallen into disrepair. Can we revive it? TL;DR: Yes! It just took a couple weeks of elbow grease, and new ownership (it me). I now own the two best ways to run…
I wanted to call a pile of JavaScript (actually transpiled TypeScript) from Python, so I could run reinforcement learning on this . I was dissatisfied with the existing options for calling JS from Python, so I made a new thing!
TL;DR : github.com/bpcreech/blog ⇨ Hugo (via Github actions) ⇨ github.com/bpcreech.github.io ⇨ Github pages. With DNS mapped via Google Domains (soon, RIP ).