Hacker News new | ask | show | jobs
by fiatjaf 3261 days ago
Now a question: have you thought about just running code blocks on the client? It would have limitations, but I guess most tasks could be accomplished, and the backend running costs would be enormously smaller.

There's also the problem of executing other people's code in your visitors machines, but maybe that isn't so bad -- or could be solved by running a better language than raw Javascript.

I know this sounds like a silly idea, but what do you think?

3 comments

this is what I built actually, though not active anymore. Users can upload functions with defined parameters and output, which can be strung together. Very ETL oriented. Each of the function will run as a web worker.

An example that I did with the platform was, parse Skype chat log (500MB ish) of it, and look search for specific strings and dump it back as CSV by stringing 3 functions together, all running inside web workers.

I thought about it, but the goal is for codeblox to be language agnostic, so it would need to run server side. Eventually I plan to add Python and Java support. It would reduce costs though, that's for sure.
Well, the language has just appeared: https://news.ycombinator.com/item?id=14770501