IRC channel logs

2024-02-09.log

back to list of logs

<dthompson>okay so val.town looks like aws lambda meets heroku but for little typescript tasks
<Zarutian_iPad>been toying with the idea of using js-in-js interpreter and serialize its state betwixt invocations
<Zarutian_iPad>dthompson: pretty much nailed it
<dthompson>seems like for anything serious you'd need to push a job somewhere else
<dthompson>but the ephemeral nature is interesting from a "can ocapn work on this?" perspective
<Zarutian_iPad>exactly what I am asking myself
<dthompson>like could you have a sturdyref to invoke the val.town function?
<Zarutian_iPad> https://www.val.town/v/zarutian/untitled_blackClam is something I am playing with right now, btw.
<Zarutian_iPad>nifty, it works. It is finding the names of unbound variables
<Zarutian_iPad>ACTION goes looking for Agoric's endo js primordials list
<jfred>This may not work with the TCP/TLS netlayer or similar things (as connections would break), but I wonder if ocapn could be made to work on an ephemeral system like that if you can serialize an object that's waiting on a response from something and revive it when the response comes back
<jfred>Like I run (on (<- remote 'some-long-running-thing) ...) and really I can't actually do anything until the response comes back. So suspend to disk/remote storage/wherever and have something bring me back to life when the promise is resolved
<jfred>I'm perhaps making the assumption that this is a vat with a single object in it and that there's therefore nothing to do during that time, but that seems likely in an ephemeral environment like this
<jfred>I'm about halfway through Doug Crockford's Racketcon talk and this all feels very familiar but with different terminology 😆