PluotSorbet – A J2ME-Compatible VM Written in JavaScript
1–7 of 7 posts
Re: PluotSorbet – A J2ME-Compatible VM Written in JavaScript
#2> It is recommended that a dedicated Firefox profile is used with the about:config preference of security.turn_off_all_security_so_that_viruses_can_take_over_this_computer set to true so garbage collection and cycle collection can be run in between test rounds.
Sounds legit. :p
Re: PluotSorbet – A J2ME-Compatible VM Written in JavaScript
#3Andreas Gal: j2me.js - a multi-threaded Java VM in JavaScript | JSConf.ar 2014
Re: PluotSorbet – A J2ME-Compatible VM Written in JavaScript
#4> It is recommended that a dedicated Firefox profile is used with the about:config preference of security.turn_off_all_security_so_that_viruses_can_take_over_this_computer set to true so garbage collection and cycle collection can be run in between test rounds. Sounds legit. :p
This is used only for development. The preference allows you to access privileged browser APIs, like triggering a GC at exact points in time. This is useful when running benchmarks to reduce the noise causes by a previous run.
The preference is named as such to prevent people from being tricked into turning it on.
Re: PluotSorbet – A J2ME-Compatible VM Written in JavaScript
#5> It is recommended that a dedicated Firefox profile is used with the about:config preference of security.turn_off_all_security_so_that_viruses_can_take_over_this_computer set to true so garbage collection and cycle collection can be run in between test rounds. Sounds legit. :p
Hmm, I thought it was obvious that this recommendation applies only during benchmarking by PluotSorbet developers, not when the project is being used to run a midlet. But perhaps not, so to clarify: if you're hacking on PluotSorbet, and you're benchmarking startup, then we recommend you set that preference for the reasons stated; otherwise, you should not set that preference.
Re: PluotSorbet – A J2ME-Compatible VM Written in JavaScript
#6I've always been interested in this sort of thing - with webassembly standardizing, they may become realistically usable soon, too.
Another implementation from a few years ago:
Re: PluotSorbet – A J2ME-Compatible VM Written in JavaScript
#7circle: complete.