How does the Roozz browser plugin achieve it's cross platform capability

I came across the browser plugin from roozz.com and I tried it out with LinqPad, try it here. They say there is a conversion process that takes basically any exe and converts it to their platform which can then be run on windows, mac, linux through all major browsers.

When I dug into what was going on, at least for LinqPad on Windows 7, all it did was download the linqpad exe to my user AppData/Local folder and host it inside of chrome. Interestingly I could just launch the exe outside of the browser and run it normally. I was even able to uninstall Roozz plugin and keep launching the app like normal.

The main questions I have.

  1. Is this really cross platform, can I run a .NET 4.0 WPF app on windows, mac, and linux, or are you only able to run windows apps on windows and mac apps on mac?
  2. In general, what is this plugin doing and what are the limitations?

EDIT: Чтобы прояснить, речь идет не столько о том, как обычно работают плагины браузера, сколько о том, как этот может запускать приложения, написанные исключительно для одной платформы, и работать на несовместимой.

Дальнейшее тестирование показало, что есть некоторая ерунда. их заявления или, по крайней мере, некоторая сбивающая с толку «шумиха», потому что LinqPad на самом деле не работает на MacOSx . При попытке запустить приложение вы получаете

"Ваша операционная система не пока поддерживается платформой Roozz.

У меня есть следующая строка байтов

17 80 41 00 01 00 01 00 08 00 44 61 72 65 46 61 74 65 01 00 00 00 01 00 03 00 01 00 09 00 43 68 61 6E 6E 65 6C 2D 31 00 00 02 00 09 00 43 68 61 6E 6E 65 6C 2D 32 65 00 03 00 09 00 43 68 61 6E 6E 65 6C 2D 33 65 00

Как лучше всего принять его как ввод от пользователя и сделать в байтовый массив?

9
задан jM2.me 22 February 2011 в 01:05
поделиться