As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I just wanted to get a view on why one should use DART over JS, specially if you are working on the front-end; the Dart VM isn't even built into Chrome.
Don't worry about Chrome, it will be shipped within Chrome at some point when the stable 1.0 is out.
A couple of reasons why you might want to choose Dart over plain JavaScript for front-end development:
Better DOM API
Being more productive
Simpler and clearer semantics
Lexical closures
Libraries and a package manager
Optional static typing
Literally tons of little details that as a whole makes it a far nicer experience (named parameters, arrow functions, etc.)
You might want to read this chapter as it explains various things that Dart can do: http://www.dartlang.org/docs/dart-up-and-running/ch02.html
You can also read this answer to the question "Does Dart have any useful features for web developers?"
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am completely new to dart, i never done any programs in dart, but i am curious and have few questions, I understand dart can run in server side as well, so is that mean it is not only the client side programming (like javascript), as well we can write some server side code as well ? (Like java),
in that case when i go for enterprise level big applications, does dart depends on any server side languages like Java?, and what is the level of database support with Dart?
May be the question would be what it can or can't do in web.
Thanks in advance.
Dart runs serverside in a VM. You will be able to run a dart application on a webServer and also access files on that Server. There is a library dart:io which allows you to do that. IO works only serverside.
Dart does not need Java or any other language to work. You have the Dart VM (serverside) and clientside your dartcode will be compiled with dart2js to javascript.
There are few projects that deal with databases. But from my understanding there is nothing yet out there that is really awesome.
Just search for Database Drivers here: http://blog.dartwatch.com/p/community-dart-packages-and-examples.html
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
My C and Objective-C skills are ok but i really could do with a better grasp on building binary's and libraries using configure and make files. Is there a book or consolidated reference I should be aiming to look at. Ive googled but given the generic nature of the search terms and plethora of related information i would be grateful if someone could point me at a recommended source
The autoconf manual is the authoritative source of information on writing configure scripts, and includes sections on portable 'make' and shell programming. As well as being a reference, it also contains a reasonable tutorial.
If you want to build libraries as well, then you want to look at libtool, but unfortunately libtool can be a bit of a beast to work with unless you're also using automake, so this is turning into a rather long reading list.
O'Reilly have a book called 'Autotools'. I don't know it, but given my experience with other O'Reilly books, that's the first I'd take off the shelf and browse through.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Web frameworks are everywhere, and I can't think of a programming language that hasn't a web framework implementation (at least those that I know of). Vala seems the programming language Linux developers were waiting for since ages, it borrows a lot from C# which is very good IMHO.
Yes, Vala was implemented to develop good Gnome applications, but still; we've seen crazy implementations like node.js. How likely are we to see a Vala based web framework? Is it feasible? Is it a good idea?
There is a web framework called Valum in development. It's just been started, so it still very basic.
As an aside, I've not seen a web framework in plain C, otherwise, that could be bound to Vala.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm looking to add scripting into my Java app and JavaScript would be a great language choice. My concern though is the Rhino project and its future.
While Groovy/Jruby etc have seen constant updates, and engines like V8 and SpiderMonkey make continuous and significant performance boosts; Rhino languishes with its last release in March '09.
I've seen some work on hacking Rhino:
http://cr.openjdk.java.net/~jrose/pres/201009-ThunderingRhinos/pres.html
http://www.google-melange.com/gsoc/project/google/gsoc2011/rohit_mullangi/37001
But nothing solid about actually merging this code into the project and getting an active committer community around it.
Does anyone have any insight into the Rhino road map?
Is there any plan for example to bring invokedynamic to the Rhino world?
Or is Rhino's destiny to simply become less and less relevant as time goes on?
All insight appreciated!
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I think the best part of flash is the possibility to create not squared user interfaces, so I like the idea to create desktop apps using flash. I know AIR is for that but it doesn't allow real access to OperatingSystem apis and dlls and the commercial options are kind of difficult to customize.
You can try ScreenweaverHX:
http://haxe.org/com/libs/swhx
It's the Haxe-based successor of the old Screenweaver. However, it's not as simple as the old version used to be. Most likely you need to take a look to the basics of Haxe and Neko, the 2 technologies it's based on.
There's another project on top of SWHX that it's called HippoHX. It aims to "complete" SWHX providing that extra functionality you might miss (simple ActionScript APIs and a GUI). However, it's in its early stages:
http://hippohx.com
DISCLAIMER: I'm the owner of HippoHX, so my point is obviously biased.
As far as I know SWHX is the only Open Source alternative at this point.
Try flajector. it's powerfull converter from flash to exe. You can to develop your application using AIR. And then you can convert it into desktop application .exe