While you can run Javascript on any hardware, you won't be able to reuse common JavaScript VMs (wether be it V8, JavaScriptCore or Mozilla's engine) on a Cortex-M CPU. The main limitations are: * Thumb/Thumb2 only, though JavaScriptCore does generate Thumb2. * no mmu so no fully featured OS such as Linux and this is a show stopper. * very limited RAM, measured in KiB! So you need VM targeting this class of CPU. I have heard of some but I doubt they support the full ECMA specs.
An option may be to look at entry level boards with Cortex-A CPU such as the beaglebone black: Cortex-A8, 512MiB RAM, 45$. Not as cheap as an M but it would run all the VM quoted earlier. On 21 November 2013 16:30, Jakob Kummerow <jkumme...@chromium.org> wrote: > [+v8-users] > > V8 requires at least the ARMv6 + VFPv2 instruction sets. If I understand > correctly, the Cortex M3 only supports Thumb/Thumb2, so V8 won't run on it. > > Generally speaking, running JavaScript is possible on any hardware -- for > example if you use an interpreter-based JS engine instead of a JIT compiler. > > > On Thu, Nov 21, 2013 at 4:28 PM, David Bau <david....@gmail.com> wrote: > >> I am looking for a javascript solution for a cheap device (to be used in >> schools). My question is: can v8 work on a Cortex-M processor? >> >> For example, somebody pointed me at this (soon to be relased) solution >> http://tessel.io/ - however, it appears that they may not really be >> running Javascript but instead some odd translator of JS to Lua bytecodes. >> My question is, is it possible to actually run Javascript on similar >> hardware? >> >> Thanks for any insight, >> >> David >> >> > -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.