Linked by Thom Holwerda on Fri 20th Dec 2013 07:53 UTC, submitted by Hiev
General Development

Google believes Dart speeds up both developers and the programs they write, but skeptics worry that it fragments Web programming and undermines the industry's focus on better JavaScript. So far, it's been a largely academic debate, but that will change in coming months.

That's because Google right now is building Dart technology directly into Chrome.

Does anyone here use Dart?

Thread beginning with comment 579175
To read all comments associated with this story, please click here.
Not yet, but I really hope so
by protomank on Fri 20th Dec 2013 10:34 UTC
protomank
Member since:
2006-08-03

Anyone who coded in Javascript knows that the languace grown in a way it is now a collection of patches (classes on it are a bad joke) and Dart seems to be a modern restart that avoid some bad heritage and is nice like C#.

Disclaimer: I am a C++ coder, but I do like C# syntax, I worked a lot with Javascript in commercial projects, and I know it is trash.

Reply Score: 4

RE: Not yet, but I really hope so
by AndyB on Fri 20th Dec 2013 11:11 in reply to "Not yet, but I really hope so"
AndyB Member since:
2013-03-22

Personal experience is that you always lose performance writing in compiled languages, although it is usually much easier.

I assume it is run natively on Chrome with no need for Javascript at all, is it compiled in any way or interpreted directly?

Reply Parent Score: 0

protomank Member since:
2006-08-03

Both Javascript and Dart are neither compiled or interpreted. They both use JIT (just in time compiler), that compiles the block/method/function that is being executed in memory. There are more variations of this method that browsers use actually, but this is the basic idea.

The thing is that, a non-organized language is much harder to optimize when compiling (even if using JIT), and Javascript was not designed to run games or keep executing in background during all time, while Dart is.

Reply Parent Score: 6

lucas_maximus Member since:
2009-08-18

.Disclaimer: I am a C++ coder, but I do like C# syntax, I worked a lot with Javascript in commercial projects, and I know it is trash.


JavaScript isn't trash. I get fed up of this opinion.

The language has it quirks but is very flexible and it is mis-understood. Especially because C#/Java/C++ guys tend to try to write it like it is C#/Java or C++.

It the only language which I like programming these days.

Edited 2013-12-20 14:39 UTC

Reply Parent Score: 5

protomank Member since:
2006-08-03

Let me clarify: it WAS a language I liked and loved. It grow up to be a ugly monster that eat little kids.

Take, for instance, its object/pseudo-class implementation, it is a nightmare if you are not the one who developed the original code - commong thing in industry, you will always ending with tons of old code someone else wrote and did not care to document. The lack of types, mostly in the object case, is also very bad for mantaining large pieces of code.

Also, it is very easy just say "people don't use the right way" and do not face the problem: people CAN use it in the wrong way very easily.

Reguards.

Reply Parent Score: 5

crystall Member since:
2007-02-06

The language has it quirks but is very flexible and it is mis-understood. Especially because C#/Java/C++ guys tend to try to write it like it is C#/Java or C++.


I agree. While JavaScript is not my favorite language it can be quite nice and effective but you have to change your mindset and best practices compared to C/C++ coding. I come from a full system-level C/C++ background and my first experiences with JS were horrible but after working with experienced JS coders for a while I came to love it. It needs some discipline to get things right but then again every language does.

Reply Parent Score: 3

modmans2ndcoming Member since:
2005-11-09

Javascript is trash (and I write MUMPS/Cache Objectscript)

Reply Parent Score: 1

Soulbender Member since:
2005-08-18

JavaScript isn't trash. I get fed up of this opinion.


Maybe it's just that combined with the awkwardness of html and css it's the trifecta from hell.

It the only language which I like programming these days.


You might need to seek professional help for that ;)

Reply Parent Score: 2

twitterfire Member since:
2008-09-11


Disclaimer: I am a C++ coder, but I do like C# syntax, I worked a lot with Javascript in commercial projects, and I know it is trash.


I'm use both C# and C++ and I also like C# more because it seems cleaner, a little bit easier to do stuff in, and more readable. But while C++ has all the features of C# and more C# has less features.

I also like Java, for the same reasons I like C#.

What I wish is someone writing a compiler to compile C# to native language. I extensively tested C# against C++ and when it comes to do the heavy lifting, C++ is far ahead of C# with exe ngened or not.

I wouldn't say JS is complete trash but it is rather chaotic, averybody and their granny modifying the language. I'd even use Node.JS instead of PHP. For me, PHP sucks more.

Reply Parent Score: 3

Wafflez Member since:
2011-06-26

C++ is far ahead of C# with exe ngened or not.

Well ngen only helps to launch software for the first time faster.

Reply Parent Score: 3