|
|
|
|
|
by leoc
5390 days ago
|
|
You also need some extra content-negotiation abilities, but that shouldn't be too hard: http://news.ycombinator.com/item?id=2131870 . I'll pull out this bit: > Finally, the process can chain, so a particular [data/DSL] file might be given to a display program which is a Ruby script which would in turn be given to a generic-runtime interpreter for the appropriate version of Ruby. So it's untrue that using NaCl or something similar means that all code (let alone all data) has to be sent to the browser already compiled down to assembler (or PNaCl bitcode or whatever). Among other things, this is one important reason why Mozilla is wrong to claim that adoption of NaCl (or whatever) would mean that HLL/scripting-language/whatever code distributed over the Web would no longer be able to benefit automatically from speed improvements to the browser's HLL runtime(s). Chained content negotiation is your friend TM. |
|