On Thursday, 30 October 2014 at 02:27:58 UTC, ketmar via
Digitalmars-d-learn wrote:
it was very funny to show some people D code with your jsvar
and listenting how they don't want to learn just another
scripting language. and then compile the code with DMD to
confuse them even more.
hehe, that
On Thursday, 30 October 2014 at 17:39:14 UTC, Laeeth Isharc wrote:
Dart web server talk to a D analytics server via a socket. And
2) I cannot say that I definitely do not want to cache things
and do some work on client, and so I need to see what's
possible to avoid getting trapped in purely
Is it's possible to create single language that cover desktop and
web? Like D+Dart?
I ask becouse I can't understand why it's need 2 language if they
are very simmiler and it's can be 1 language instead 2.
On Thursday, 30 October 2014 at 06:14:18 UTC, Suliman wrote:
Is it's possible to create single language that cover desktop
and web? Like D+Dart?
It is probably not possible with D or any other language that is
too far off from Javascript since the generated code becomes to
large for fast
On Thursday, 30 October 2014 at 06:57:23 UTC, Ola Fosheim Grøstad
wrote:
There are also scripting frameworks that let you write portable
code for web and mobile platforms, but they tend to be geared
towards a special type of application.
E.g.
http://www.tidesdk.org/
http://cordova.apache.org/
I know that there is way to write all on JS. But I can't
understand what the reason that there are no single language that
can work on web and as native language.
On Thursday, 30 October 2014 at 08:39:15 UTC, Suliman wrote:
I know that there is way to write all on JS. But I can't
understand what the reason that there are no single language
that can work on web and as native language.
It is possible, but you need to design the language within the
It is possible, but you need to design the language within the
constraints of javascript:
1. single threaded (or worker threads)
2. 53 bits integers, 26 bits for multiplies.
4. weird fixed size heaps (ArrayView)
5. if garbage collection then it has to be javascript style
6. no tricks:
On Thursday, 30 October 2014 at 09:35:04 UTC, Suliman wrote:
It is possible, but you need to design the language within the
constraints of javascript:
1. single threaded (or worker threads)
Javascript is single threaded by nature. Parallel execution is
done in isolation. No shared memory.
No! I mean not translation to js. I mean theoretical ability of
creation new programming language that can work every where!
On Thursday, 30 October 2014 at 10:18:40 UTC, Suliman wrote:
No! I mean not translation to js. I mean theoretical ability of
creation new programming language that can work every where!
It's already created - C++! http://www.chromium.org/nativeclient
On Thursday, 30 October 2014 at 10:28:06 UTC, Kagamin wrote:
On Thursday, 30 October 2014 at 10:18:40 UTC, Suliman wrote:
No! I mean not translation to js. I mean theoretical ability
of creation new programming language that can work every where!
It's already created - C++!
On Thursday, 30 October 2014 at 10:18:40 UTC, Suliman wrote:
No! I mean not translation to js. I mean theoretical ability of
creation new programming language that can work every where!
Yes, you can create a new programming language that can work
everywhere if you restrict the semantics to
On Thursday, 30 October 2014 at 10:18:40 UTC, Suliman wrote:
No! I mean not translation to js. I mean theoretical ability of
creation new programming language that can work every where!
The problem is getting new features into the browsers that people
use.
You could also just write native
On Thursday, 30 October 2014 at 06:14:18 UTC, Suliman wrote:
Is it's possible to create single language that cover desktop
and web? Like D+Dart?
You can also run D code on the web server and do very little on
the web client itself for a lot of programs.
Hi.
Thanks for all the thoughts, and sorry it has taken me a little
while to reply.
Adam - I liked your book very much: it really complemented the
other resources out there, especially in communicating a
refreshing spirit of enthusiasm and fearless exploration.
ketmar - I took a look at
On Thu, 30 Oct 2014 17:39:13 +
Laeeth Isharc via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
BTW what was the story behind dscript? It seems to have changed
its name and no longer have so much connection to D:
http://forum.dlang.org/thread/422be824.6030...@nospam.org
we
Ah - makes sense. It is satisfyingly fast...
On Thursday, 30 October 2014 at 21:33:59 UTC, ketmar via
Digitalmars-d-learn wrote:
On Thu, 30 Oct 2014 17:39:13 +
Laeeth Isharc via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
BTW what was the story behind dscript? It seems
On Thu, 30 Oct 2014 22:18:22 +
Laeeth Isharc via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
Ah - makes sense. It is satisfyingly fast...
the only bad thing is that it trashes /tmp/.rdmd-$UID dir. i wrote
another simple script that is clearing that dir (but doesn't touch
On 31/10/2014 6:39 a.m., Laeeth Isharc wrote:
Hi.
Thanks for all the thoughts, and sorry it has taken me a little while to
reply.
Adam - I liked your book very much: it really complemented the other
resources out there, especially in communicating a refreshing spirit of
enthusiasm and fearless
On Thursday, 30 October 2014 at 17:39:14 UTC, Laeeth Isharc wrote:
Thanks for the warning. I will have a low number of users, and
whilst on occasion working data sets might be large, they won't
stick around for very long so pre-allocating buffers should
work fine (I hope).
Hi.
I have had a look around for these, but was not able to see them.
It looks perhaps like dart_api.h is the main file to convert - I
will have a crack at starting this unless anyone knows of any
already in existence.
Rationale for using Dart in combination with D is that I am not
On Wed, 29 Oct 2014 22:12:30 +
Laeeth Isharc via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
it's OT, but haven't you tried Adam Ruppe's script.d? it has d-like
syntax with influences from javascript, written entirely in D, and has
simple interoperability with D code.
it's
On 2014-10-29 18:12, Laeeth Isharc wrote:
Rationale for using Dart in combination with D is that I am not thrilled
about learning or writing in Javascript, yet one has to do processing on
the client in some language, and there seem very few viable alternatives
for that. It would be nice to run
On Wednesday, 29 October 2014 at 22:12:32 UTC, Laeeth Isharc
wrote:
I will have a crack at starting this unless anyone knows of any
already in existence.
I haven't heard of any.
Rationale for using Dart in combination with D is that I am not
thrilled about learning or writing in Javascript,
On Wednesday, 29 October 2014 at 22:22:39 UTC, ketmar via
Digitalmars-d-learn wrote:
it's not lightning fast, though, but the code is understandable
and it's fairly easy to extend the language if necessary.
Curious, what have you tried with it?
I wanted to keep it simple but actually
On Thu, 30 Oct 2014 01:31:23 +
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
On Wednesday, 29 October 2014 at 22:22:39 UTC, ketmar via
Digitalmars-d-learn wrote:
it's not lightning fast, though, but the code is understandable
and it's fairly easy to
On Wednesday, 29 October 2014 at 22:12:32 UTC, Laeeth Isharc
wrote:
I have had a look around for these, but was not able to see
them.
It looks perhaps like dart_api.h is the main file to convert -
I will have a crack at starting this unless anyone knows of any
already in existence.
Dart VM
28 matches
Mail list logo