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.
Dart supports interfacing with the native libraries (Ref: http://www.dartlang.org/articles/native-extensions-for-standalone-dart-vm/). There are some decent libraries available for socket communication, interfacing with databases and dealing with filesystems. Barring desktop GUI applications, I don't see any reason why it cannot be used as a general purpose language. What are advantages/disadvantages of Dart being used as a general purpose language (including performance)?
Yes. Dart can be used as a general purpose programming language.
Advantages:
It's fast, already faster than V8, and catching up to the JVM (Though
it starts up much quicker).
It's great for scripting on macos/linux. You can prefix a source file with #!/usr/bin/env dart
Backed by a large team/company who are developing it in the open, along with an active community.
Good documentation and articles.
Disadvantages:
It's new. There are far more libraries available for Java, Python and node.js than for Dart.
There are likely to be changes to the core IO libraries before it hits 1.0.
No built-in support on cloud-hosting platforms, though there is a heroku buildpack.
Note you can build GUI applications using dart2js and chrome packaged apps.
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.
So, since one cannot build metro style apps with F# and it isn’t possible to reference a F# library from within a metro style app, where is the place of F# in Windows 8?
I mean what is its future?
Won’t F# have the same fate as Silverlight after a while? Does Microsoft have the will to develop it farther?
I know, I know I can still develop asp.net, WCF and desktop applications in F#, but the question is what are the long term plans of the Microsoft with it?
Will it perish some day, or will live forever?
Edited:
Well, I’m fine with impossibility to build metro style apps in F#. I assume that its Lightweight\Verbose syntax and the need for indentation make it difficult to write a XAML pre-processor or write a VS template. The question is, is it an experimental project aimed to take the best parts of it and include them into C#, or F# has a future in Windows eco-system?
I think your assumptions are wrong - it should be possible to reference F# library from a C# Metro-style application if you create Portable Library project in Visual Studio 11.
So, F# will definitely continue to be useful as a langauge for developing the "difficult" part of Windows application where you implement your domain model, algorithms, network communication etc.
Moreover, with projects like Pit (or commercial WebSharper), it is possible to write F# applications that will be truly portable and can run not just on Windows 8, but also on Android tablets or on the iPad as JavaScript applications.
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.
Is the Ruby language, specially when used in the context of a framework like Ruby on Rails, ready for building large systems with complex business logic and advanced mechanisms, keeping its productivity edge and maintainability?
Can it replace Java EE?
This question is a bit subjective, and "replace Java EE" goes a little far, but you can certainly build scalable enterprise grade applications in Ruby on Rails.
My observation of the Ruby ecosystem, however, is that there are more platform dependencies that can trip you up and the variety of third party libraries to bring in complimentary functionality may not be as wide as you would get in Java.
On the other hand, the gems infrastructure is pretty neat and line-for-line you will get more function out of less actual code in ruby.
Finally, and this may matter as you need to scale up a team, I think it is easier to find experienced Java EE devs than it is to find experienced Rails devs.
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 read its documentation and it seems quite awesome. But I never heard of any application developed using it.
What are the main advantages and disadvantage of Vala?
(IMO)
advantages:
No garbage collector!
generated programs are written in C which should boost performance and require less resources than other scripting languages (python) or managed code (Mono).
Provide easy to use API to a huge variety of useful libraries available in Linux written mostly in C.
Provide a C#-like syntax which is very popular and by doing so attract new developers to OSS programming.
Bring (some level of) OOP syntactic sugar into the world of C but easier to use than C++.
disadvantage:
No garbage collector!
Generated program should be recompiled for each architecture.
It's a young language. Language specifications and API change constantly. Maintaining a big project might require extra attention.
Debugging is possible but a bit tricky.
No stable IDE and tools yet. Valide crashes a lot and vtg too.
Language object model is based on glib/gobject which seem to be limited. Dova is being developed to explore an alternative path but will not be compatible with gobjects.
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