Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
My JavaScript implementation uses only about 50 lines of code. 25 or so are spent on a local socket server that just sits waiting for code to execute. This is so you aren't using subprocess every time you want to execute a line of code. The other 25 are just configuration for syntax. I realize there are no provisions for compiled languages at all, but I don't think it would push over 1000 lines to do so.
This also means that for real data types like numbers and booleans, or heaven forbid, objects, the client language will have to fiddle with whatever data it got. In this early version of JavaScript numbers, it calls parseFloat() on every dit variable before it uses it. In C, that might mean decoding JSON into something more useful. I should be clear, this is clearly less useful than having the language directly available, but these translation steps can be encapsulated away.