> Héllo,You should change it to BSD or Apache license.
>
>
> Pythonium [0] creator here. I write this email to ask the community what
> they think about merging the different efforts to have Python in the
> browser.
>
>
> What do you think about merging Python in the browser effort into one unique
> project?
>
>
> What can prevent you from contributing to such a projects? Mind the fact,
> that I'm willing to change the license to a more liberal license (LGPLv3) if
> people come and contribute to the project.
>You are welcome to reuse anything as you see fit. Do you plan to implement
>
> Frankly, I think pythonium approach is superior to every other solutions.
> Anything other solution does, Pythonium can do, except it's faster.
>
> If you don't know Pythonium, basicly current version use Python 3 ast parser
> to generate, fast javascript code unlike Brython and Skulpt and like pyjaco,
> pyjs pyjeon which is written in javascript. Unlike Brython and Skulpt which
> are self hosted.
>
> Like I said, it can be self-hosted, but with proper tooling [1] we don't
> need that.
>
> Also, I don't care about the name and we can take whatever name the
> community think is best.
>
>
> So what's do you think?
all Python features eventually, or are you just trying to have a Python syntax,
but not necessarily the same behavior?
Ondrej
>
>
> Make sure to have pythoni...@googlegroups.com in the reponse header, so
> that other people can follow the conversation.
>
>
> Best regards,
>
>
> Amirouche
>
>
>
> [0] https://github.com/pythonium/pythonium
> [1] Integration with frameworks, compile server with inotify, backend side
> compilation
>
> --> "py2js mailinglist" group.
> You received this message because you are subscribed to the Google Groups
> To unsubscribe from this group and stop receiving emails from it, send an> email to py2js+un...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "Pythonium users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonium-use...@googlegroups.com.
Combining efforts together would definitely help the Python community as all of the projects have their strengths others could benefit from.
I'm already considering adding the optional arguments implementation you stated on github into RapydScript, for example (https://github.com/atsepkov/RapydScript/issues/5).Unfortunately, most of the projects you mention have different design philosophies that would probably prevent such merge.
For example,
I can tell you right now that Pythonium's license terms would prevent at least several RapydScript developers from joining in. In a world where most frameworks/compilers have MIT/BSD licenses (think jQuery, CoffeeScript, etc.) a GPL variant stands no chance if you want new users to jump onboard. If you do in fact change the license , that point becomes irrelevant.
Also, while skulpt and pyjamas try to emulate Python functionality 'exactly',
RapydScript aims for performance inside the browser, and compatibility with native JavaScript.
There are parts of Python that RapydScript has no intention of adopting because JavaScript's alternatives it uses now are simply better. One example is anonymous functions instead of lambda.
Additionally, you claim that a JavaScript-based compiler is a weakness rather than a strength.
I, and several other RapydScript developers (as you already saw from Salvatore's post) think otherwise. RapydScript compiler can run in a browse. Pythonium can't.
In fact, the original version of the compiler was written in Python as well, and I later rebuilt it using uglifyjs as a base in order to improve compilation speed, parsing power, and compatibility. There is already a JavaScript decompiler project (https://github.com/charleslaw/RapydScript-Decompiler) that we eventually plan to use to port our compiler into native RapydScript.
With that said, I do believe both RapydScript and Pythonium can benefit greatly from each other. We're approaching the same problem from opposite directions, your AST structure is based on Python, ours is in JavaScript. This gives you the benefit of staying more pure to Python and us the benefit of being more compatible with native JS,
we can still share solutions with each other.
As far as I can see, the main author of Brython (Pierre, I think?) didn't respond to this request yet, so there is still a chance this might be happening.
My two cents: I would love to see the two projects merge into a 'Brythonium' :-) (especially for effectiveness reasons).
Yet I see that the different approaches might make it difficult to acchieve that easily.Some thoughts:1) I like that Brython does the translation on the fly at runtime for rapid development.
2) Then again, I would also like to be able to do a pre-compilation like Pythonium does. For example, I would like to use the Yeoman workflow i.e., build Pythonium into the chain and be able to do minification etc.3) I think it's imperative to be able to throw standard JavaScript libraries into the equation and bind them easily. The JSObject and JSConstructor functions are a good start here. I still have to figure out how to do that in Pythonium.
4) I have no idea if that is feasible, but if more targets could be supported that would be awesome. I am thinking about asm.js mainly.
I am all in favor of a robust Python replacement for JavaScript, even if some efforts were joined. Brython is impressive.