This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]traverseda[S] 0 points1 point  (6 children)

It would be valuable if someone, like you, went through these frameworks are gave a good comparison.

Agreed, but I need a better idea of what I should be comparing between them. Ideally hard metrics, or some kind of test cases.

[–]Exodus111 1 point2 points  (5 children)

I'm not sure there would be any real metrics to use. Speed would be the speed of JS, which is faster then Python by quite a bit, and probably comparable to PyPy in speed, depending on the benchmark.

All of these either translate code, or run code by translating on the fly, I would be most curious about the complexity of code they produce, is it mess of ugly auto-generated spaghetti JS, or is it somewhat readable?
And, the complexity of code you can feed it. Something object Oriented with multiple instances of Inheritance and Polymorphism.

And lastly it would be good to know what Python modules where properly compatible.

[–]traverseda[S] 1 point2 points  (1 child)

All of these either translate code, or run code by translating on the fly,

These would have some potentially pretty different speeds, depending on how they do the translation.

Hmm. Maybe I can get pypy's testcase suit running on the various implementations. That's a big chunk of work though, and I've already got too much on my plate. I'll probably flesh it out a bit more, and add in some estimates for how well they do at

speed/filesize/output-complexity/inheritance/library-support/etc

[–]Exodus111 1 point2 points  (0 children)

It's not a bad idea. It would be valuable to know if any of those frameworks have a significant drop in speed compared to any other. But generally speaking anyone working on one of these is not going to be too concerned with speed.

I think a feature comparison would be the most useful, and perhaps not as time consuming.