GithubHelp home page GithubHelp logo

Comments (9)

kovidgoyal avatar kovidgoyal commented on July 25, 2024

P.S. If you would rather discuss this in private, you can find my email address at the top of https://github.com/kovidgoyal/rapydscript-ng/blob/master/src/lib/elementmaker.pyj

from transcrypt.

JdeH avatar JdeH commented on July 25, 2024

Hi Kovid, you should have received my reply. If not, let me know.
Kind regards, Jacques

from transcrypt.

kovidgoyal avatar kovidgoyal commented on July 25, 2024

I got it and replied, feel free to close this bug report, if you want to.

from transcrypt.

datnamer avatar datnamer commented on July 25, 2024

Do you guys mind sharing the outcome?

from transcrypt.

kovidgoyal avatar kovidgoyal commented on July 25, 2024

JdeH decided he wanted to continue to work on Transcrypt, and not merge efforts. But he is open to collaborating on implementing libraries from the python ecosystem for python-to-javascript transpilers in the future.

from transcrypt.

JdeH avatar JdeH commented on July 25, 2024

Correct. I think there's room for diversity in the transpiler area. There's a whole range of projects from PyPyJs on one hand via Brython to RapydScript. Transcrypt fits somewhere between Brython and RapydScript, but nearer to RapydScript. I hope users compare the featureset and choose what fits them best. I agree with the philosophy behind RapydScript that a transpiler should live in the JS ecosystem and generate lean, understandable JS. Still in programming it I wanted to start out from the Python world rather than JS world: native CPython parser, code generator programmed in Python 3.5, Transcrypt distributed via PyPi. I want the syntax to be pure Python, even the pragma's are syntactically just function calls.

from transcrypt.

h5rdly avatar h5rdly commented on July 25, 2024

I've been checking out both transpilers (+ pyscript, which I'm not sure where to fit), awesome to see a collaboration effort.

If it's ok to ask - for a minimal overhead over regular JavaScript, which transpiler would you say is more suitable currently? aka which to use if performance is a high priority?

Thanks!

from transcrypt.

kovidgoyal avatar kovidgoyal commented on July 25, 2024

See kovidgoyal/rapydscript-ng#46 for some benchmarks

from transcrypt.

valq7711 avatar valq7711 commented on July 25, 2024

Hi!
I went over the project and while I was looking at python side I was delighted, but JS-side upset me.

My 2 cents of thoughts:
If I want to write a more or less large app using the existing JS-framework I should understand how it works including JS itself! So, If I know JS (but love Python, I really love it) which transpiler will I use? - I think, it will be one which is closer to JS as possible with no magic and JS-basics modification (like Array.prototype.append = ... - are you sure that some JS-libs doesn't do the same?).

If I will want to write some awesome JS-lib/framework, then it should be suitable for pure JS contributors, what shall I use?

Just for example: Autobinding makes the classes unsuitable to use with Vue (at least). I mean the following will not work:

 Class Foo: 
   def __init__(self):
         self.methods =  { 'bar': bar}   

    def bar(self): 
         ...

v_foo = new Vue( Foo() ) 

So, I can't imagine how I could use this project(

P.S. JS has the fatal drawback - it's not Python.

from transcrypt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.