Hi Lex,

Thanks for information about Dart. I took a look at it, and I found that it 
was a good and powerful language. But I don't like Dart mainly because of 
readability. It becomes horrible to read in Dart (and Javascript and many 
other languages too). The main reason I like Pyjs and Python is that it is 
really easy to read.

I know that readability is not the only issue in programming language, but 
it is the primary reason why people use Python and Pyjs. The easiness of 
Python comes from simplicity, so it makes difficult to write complicated 
jobs and slow to run. Anyway, to people who want good readability, 
Pyjs+Python is a nice way so far. 

I think that if Pyjs2Dart translator is built, then we can take advantage 
out of Dart's powerful features including optimization and speed. However, 
many programmers (and I) still want an easily readable language, and it is 
good enough to justify Pyjs. 

2014년 11월 12일 수요일 오전 8시 41분 50초 UTC+9, Lex Berezhny 님의 말:
>
>
> I've switched to using Dart. It lets you write OOP code (among a few other 
> nice features in Dart) and will run in the browser both via Dart VM 
> (Dartium) and compiled to JS. I don't think pyjs will ever match the type 
> of optimizations and quality of JS produced by dart2js compiler. dart2js 
> does tree shacking, inline optimizations, etc (the kinds of stuff 100s of 
> the most brilliant programmers can crank out working full time). In certain 
> cases JS generated from Dart is faster than hand written JS. I don't think 
> there are any cases where pyjs generates JS that's faster than hand written 
> JS.
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Pyjs.org Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyjs-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to