View Single Post
Old 09-28-2019, 10:59 AM   #3720
catlover1019
Enthusiast
catlover1019 is an accomplished Snipe hunter.catlover1019 is an accomplished Snipe hunter.catlover1019 is an accomplished Snipe hunter.catlover1019 is an accomplished Snipe hunter.catlover1019 is an accomplished Snipe hunter.catlover1019 is an accomplished Snipe hunter.catlover1019 is an accomplished Snipe hunter.catlover1019 is an accomplished Snipe hunter.catlover1019 is an accomplished Snipe hunter.catlover1019 is an accomplished Snipe hunter.catlover1019 is an accomplished Snipe hunter.
 
Posts: 28
Karma: 123430
Join Date: Jun 2018
Device: none
Quote:
Originally Posted by JimmXinu View Post
FYI, I have looked into this some more.

While it's possible to run Python code in browser a variety of ways, I don't think that it's feasible right now to get FFF running there with the existing code.

I tried pyodide, which basically runs a full Python interpreter in JS. It looked promising in desktop browser, but it was too heavy for mobile devices; IE, it wouldn't work at all on my phone and tablet.

Then I went to the opposite end of the spectrum, Transcrypt, a Python->Javascript "transpiler", but found that it's limitations prevented even the most basic dependency modules from compiling, let alone FFF.

Most of the other py->js projects I looked were dormant, 'alpha', targeted an outdated version of Python, etc.

Most also seem to be aimed at letting developers write web apps in Python using JS libraries, not trying to port existing Python code to run in browser. Python's tendency to encourage 3rd party dependency libraries only makes it worse.
To be honest, I feel like most people who would stand to benefit would be using a desktop browser anyway. It's a fool's errand to try any sort of serious computing on a mobile device, and even with the limitation to desktop devices, I think it would make a lot of people happy
catlover1019 is offline   Reply With Quote