The only alternative I can think of that could provide significant benefits
over using Worker is to define a very restrictive subset of JS that allows
describing closed functions (no access to any environment; all that's
available is the function parameters) and extend JS engines to allow
running these functions with a timeout if the function runs too long. There
are some other use-cases that need functionality like this. Unfortunately
it's a lot of language spec and implementation work to create something
like that.
Rob
--
Jtehsauts tshaei dS,o n" Wohfy Mdaon yhoaus eanuttehrotraiitny eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o Whhei csha iids teoa
stiheer :p atroa lsyazye,d 'mYaonu,r "sGients uapr,e tfaokreg iyvoeunr,
'm aotr atnod sgaoy ,h o'mGee.t" uTph eann dt hwea lmka'n? gBoutt uIp
waanndt wyeonut thoo mken.o w *
*