Hacker News new | ask | show | jobs
by rcfox 2567 days ago
I've worked the opposite way: calling Javascript from Python, using PyV8. It worked okay enough, but it felt super fragile. We only used it to run a tiny bit of client-side code on the server. I wouldn't want to have a large project where Javascript and Python interact heavily.
1 comments

I have just taken to running server and talking over http whenever I want two languages to interface. It’s slower but it’s pretty much bulletproof.