Hacker News new | ask | show | jobs
by your_challenger 1035 days ago
This is very cool! I just downloaded the extension and tried a hello world program. Will tinker a bit more.

If you can make a library to run python code inside a JS project (like Next JS) then we could build a code interpreter in Next JS. Would be super cool. Here is a python implementation - https://github.com/shroominic/codeinterpreter-api - for your reference.

1 comments

> If you can make a library to run python code inside a JS project

This is actually exactly what Pyodide does! It's basically the CPython interpreter compiled to wasm. This will allow you to run python code in, say, NextJS.