Skip to content

Comment on TensorKart: self-driving MarioKart with TensorFlow

Comments

I'm interested in knowing why the Python and C components communicate with HTTP, beyond reading about the bugfix. Wouldn't it be easier to use sockets or files or some other mechanism to integrate the two languages?

Just something to think about as a developer. I would imagine that on a local machine, using HTTP as the protocol might add latency.

This was my initial reaction as well; it seems like a raw socket or even embedding a Python interpreter would be better ways to go.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.