News for hackers. Stuff that matters.
Re:Dart in 2016: Fastest growing language at Google, 2nd fas... by leftrightupdown on Tuesday January 10, 2017 @07:35PM (#13370728)
i think strong typing generates same code as optional typing if you are not using dart dev compiler.
Re:Dart in 2016: Fastest growing language at Google, 2nd fas... by dragonwriter on Tuesday January 10, 2017 @08:00PM (#13370859)
When you say the "dev compiler" are you referring to the DartVM? While (embedded in Dartium browser) that's used for dev convenience for front-end, it's also (without the browser, obviously) the main target for back end Dart.
Re:Dart in 2016: Fastest growing language at Google, 2nd fas... by devsquid on Tuesday January 10, 2017 @08:04PM (#13370882)
The dev compiler translates Dart code into human readable JS code. So you can write a library in Dart and still provide JS code someone could realistically adapt to their environment or if Dart were to go away it would allow you an easy path of escape.
Re:Dart in 2016: Fastest growing language at Google, 2nd fas... by munificent on Wednesday January 11, 2017 @11:29AM (#13375063)
That's true today, but we're integrating strong mode into the VM and dart2js right now. Soon, the whole platform will have full support for it and all of the benefits you get from a sound type system.
Re:Dart in 2016: Fastest growing language at Google, 2nd fas... by devsquid on Tuesday January 10, 2017 @07:53PM (#13370813)
I think they mentioned some gains in the size of the compiled JS. I don't remember tho.