I would like to use Dart for desktop, distributed and cloud programming.
Would Google extend the Flutter framework to include libraries for GUI desktop, distributed and cloud programming, in the same way with Java.
To use Dart like a general purpose programming language, on web, mobile, desktop, distributed and cloud platforms.
Related
I need to connect to different crypto exchanges from java or kotlin, but most of the libraries I have found are for python or other languages, I would like to know how to connect ccxt to java or kotlin, or to know if there is an alternative library for my needs.
I expected to find a guide on how to use ccxt with java or kotlin but I could not find it.
there is actually no active Java project to connect to crypto exchanges. There is https://github.com/knowm/XChange but it's not supported as much as CCXT, which is updated almost on a daily basis with a very responsive community.
The best way is actually to run CCXT in a small application and find a way for your java application to communicate with it (through a middleware). It's a bit overkill but it works.
While reading the article library tour of Dart, I've just discovered that some libraries cannot be used in web apps and other libraries cannot be used or are not available for command-line apps, while all of these mentioned libraries belonging to the standard library.
For example, dart:io cannot be used for web apps, but only for command-line apps. Similarly, only web apps can use dart:html, but not command-line ones.
I understood that what dart:html offers is more suitable for writing web apps, but I don't understand why there's this restriction of not being able to use some of the services provided by dart:html in command-line apps.
Of course, these statements assume that when writing an application in Dart, we have to clearly differentiate between command-line and web apps. Is this true? If yes, are the restrictions above really strict or they are actually recommendations? If they are real restrictions, what was the purpose of designing Dart and its standard library in this way?
dart:html talks to a DOM. There is no DOM in a VM. Similarly, dart:io talks to the operating system in a manner that a browser cannot. (Your browser cannot launch processes, open files, or set up sockets other than AJAX and WebSockets.) The separation makes sense.
I cannot find a clear definition of what Erlang/OTP is and what purpose does it serve. Can anyone give a brief introduction to what it is and what it does?
On erlang/otp, it says
Erlang is a programming language used to build massively scalable soft real-time systems with requirements on high availability. Some of its uses are in telecom, banking, e-commerce, computer telephony and instant messaging. Erlang's runtime system has built-in support for concurrency, distribution and fault tolerance.
OTP is set of Erlang libraries and design principles providing middle-ware to develop these systems. It includes its own distributed database, applications to interface towards other languages, debugging and release handling tools.
You actually have your answer in the question
First Erlang is a programming language, Examples of other programming languages
Go
Python
Ruby
A programming language is a special language programmers use to develop applications, scripts, or other set of instructions for computers to execute.
Second OTP is a set of tools and libraries the one can use when building applications written in erlang
In programming, a library is a collection of already compiled code that a programmer can use in his program. Libraries are particularly useful for storing frequently used code.
Python has the Python Standard Library
Ruby has the Ruby Standard Library
Now OTP stands for Open Telecom Platform, While this is strange name to call a set of libraries, this name most due to the fact that the Erlang programming language was designed at the Ericsson Computer Science Laboratory. So OTP is the name of the erlang standard library, so while the name contains the term telecom the library is not about telecom anymore
I'm currently working with Neo4J with the neo4jclient library for .net (https://github.com/Readify/Neo4jClient/wiki)
This however is a library that uses the REST capabilities of Neo4j. Now I am wondering if this isn't a performance issue compared to for example something like the Java JDBC-drivers (http://neo4j.com/developer/java/).
The applications I will be developing will be real-time and should be performant (noticable delays are not acceptable).
Made a research before asking this but I couldn't really understand much of differences between what I'm asking above. In-depth information would be much appreciated. Thanks in advance.
API - a set of functions and structures (classes?) for performing a selected task (e.g. libcurl API for network requests)
A Framework is something you can build upon. Usually it is complete (or almost complete) to a point it can be started out of the box (but probably would`nt do anything useful) and provides APIs to override some functionality
a toolkit is a set of utilities/tools you can use for some task (e.g. Kali Linux is a network penetration toolkit)
SDK (Software Developer`s Kit) is a toolkit (usually official) that can be used to interact with/program some device/entity. It also may provide APIs and frameworks internally. (e.g. Android SDK allows to develop, build, test and deploy applications for, well, Android. it describes APIs accessible from different OS versions. )
A toolkit is a set of utilities/tools you can use for some task (e.g. Kali Linux is a network penetration toolkit)