Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Ecstatic Coder via Digitalmars-d
On Saturday, 14 October 2017 at 10:48:40 UTC, Joakim wrote: On Saturday, 14 October 2017 at 08:52:54 UTC, Ecstatic Coder wrote: On Saturday, 14 October 2017 at 07:45:06 UTC, Walter Bright wrote: On 6/18/2017 3:38 AM, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Joakim via Digitalmars-d
On Saturday, 14 October 2017 at 08:52:54 UTC, Ecstatic Coder wrote: On Saturday, 14 October 2017 at 07:45:06 UTC, Walter Bright wrote: On 6/18/2017 3:38 AM, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. There's also a D implementation of Ja

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Walter Bright via Digitalmars-d
On 10/14/2017 1:52 AM, Ecstatic Coder wrote: On Saturday, 14 October 2017 at 07:45:06 UTC, Walter Bright wrote: On 6/18/2017 3:38 AM, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. There's also a D implementation of Javascript: https://gith

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Ecstatic Coder via Digitalmars-d
On Saturday, 14 October 2017 at 07:45:06 UTC, Walter Bright wrote: On 6/18/2017 3:38 AM, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. There's also a D implementation of Javascript: https://github.com/DigitalMars/DMDScript What about a DS

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Marco Leise via Digitalmars-d
Am Fri, 13 Oct 2017 17:57:12 + schrieb John Gabriele : > Why do you choose Lua? Whatever replaces Javascript (and compiles > to wasm) will be used for large apps, like how Javascript is > currently used. My understanding is that Lua is not particularly > well suited for building large apps.

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Walter Bright via Digitalmars-d
On 10/14/2017 12:54 AM, Dmitry Olshansky wrote: On Saturday, 14 October 2017 at 07:45:06 UTC, Walter Bright wrote: On 6/18/2017 3:38 AM, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. There's also a D implementation of Javascript: https://g

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Dmitry Olshansky via Digitalmars-d
On Saturday, 14 October 2017 at 07:45:06 UTC, Walter Bright wrote: On 6/18/2017 3:38 AM, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. There's also a D implementation of Javascript: https://github.com/DigitalMars/DMDScript The surprising

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Ecstatic Coder via Digitalmars-d
On Monday, 19 June 2017 at 01:57:00 UTC, Laeeth Isharc wrote: On Sunday, 18 June 2017 at 23:11:25 UTC, rikki cattermole wrote: On 18/06/2017 5:29 PM, Meta wrote: We should be careful not to make *too* close a comparison. While Javascript is a necessary evil for web applications and some people

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Walter Bright via Digitalmars-d
On 6/18/2017 3:38 AM, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. There's also a D implementation of Javascript: https://github.com/DigitalMars/DMDScript

Re: Advertise D's great compatibilty with JavaScript

2017-10-13 Thread John Gabriele via Digitalmars-d
On Monday, 19 June 2017 at 02:02:05 UTC, rikki cattermole wrote: On 19/06/2017 2:57 AM, Laeeth Isharc wrote: On Sunday, 18 June 2017 at 23:11:25 UTC, rikki cattermole wrote: On 18/06/2017 5:29 PM, Meta wrote: We should be careful not to make *too* close a comparison. While Javascript is a nece

Re: Advertise D's great compatibilty with JavaScript

2017-10-13 Thread Ecstatic Coder via Digitalmars-d
As just requested by a user, I've put the image size on the right. Nice remark, this indeed improves their readability. The image syntax will now be frozen this way : [[image_name.jpg:size]]. To update the existing files, just open them all in Geany, and replace the regular expression "\[\[(

Re: Advertise D's great compatibilty with JavaScript

2017-10-12 Thread Ecstatic Coder via Digitalmars-d
On Sunday, 18 June 2017 at 10:38:49 UTC, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. For instance, I have to maintain two similar versions of Pendown, a Markdown alternative for colored documents. There is a server-side version, in D :

Re: Advertise D's great compatibilty with JavaScript

2017-06-19 Thread Ecstatic Coder via Digitalmars-d
Have you ever seen my jsvar.d ? http://forum.dlang.org/thread/kuxfkakrgjaofkrdv...@forum.dlang.org AWESOME !!!

Re: Advertise D's great compatibilty with JavaScript

2017-06-18 Thread rikki cattermole via Digitalmars-d
On 19/06/2017 2:57 AM, Laeeth Isharc wrote: On Sunday, 18 June 2017 at 23:11:25 UTC, rikki cattermole wrote: On 18/06/2017 5:29 PM, Meta wrote: We should be careful not to make *too* close a comparison. While Javascript is a necessary evil for web applications and some people do like it, I get

Re: Advertise D's great compatibilty with JavaScript

2017-06-18 Thread Laeeth Isharc via Digitalmars-d
On Sunday, 18 June 2017 at 23:11:25 UTC, rikki cattermole wrote: On 18/06/2017 5:29 PM, Meta wrote: We should be careful not to make *too* close a comparison. While Javascript is a necessary evil for web applications and some people do like it, I get the feeling that it's becoming less and les

Re: Advertise D's great compatibilty with JavaScript

2017-06-18 Thread rikki cattermole via Digitalmars-d
On 18/06/2017 5:29 PM, Meta wrote: We should be careful not to make *too* close a comparison. While Javascript is a necessary evil for web applications and some people do like it, I get the feeling that it's becoming less and less liked. It's not quite a fractal of bad design like PHP, but it h

Re: Advertise D's great compatibilty with JavaScript

2017-06-18 Thread Adam D. Ruppe via Digitalmars-d
On Sunday, 18 June 2017 at 10:38:49 UTC, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. Have you ever seen my jsvar.d ? http://forum.dlang.org/thread/kuxfkakrgjaofkrdv...@forum.dlang.org

Re: Advertise D's great compatibilty with JavaScript

2017-06-18 Thread Ecstatic Coder via Digitalmars-d
This was a good talk last year you might be interested in: http://dconf.org/2016/talks/schadek.html -Steve Nice pick :) I'm currently planning to use D instead of Go for web development, so I may try such an approach, if I somehow manage to understand how to reproduce it :) At the moment

Re: Advertise D's great compatibilty with JavaScript

2017-06-18 Thread Ecstatic Coder via Digitalmars-d
On Sunday, 18 June 2017 at 16:25:06 UTC, Joakim wrote: On Sunday, 18 June 2017 at 10:38:49 UTC, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. [...] Talk to Mike Parker about submitting a blog post, detailing the similarities you see and u

Re: Advertise D's great compatibilty with JavaScript

2017-06-18 Thread Ecstatic Coder via Digitalmars-d
I don't think that's a good selling point. The obvious reply is "but why should I use an unknown language like D if I could just use node.js and share the client and server code?". I don't think that's a good selling point. The obvious reply is "but why should I use an unknown language like D

Re: Advertise D's great compatibilty with JavaScript

2017-06-18 Thread Sebastiaan Koppe via Digitalmars-d
On Sunday, 18 June 2017 at 18:06:50 UTC, Joakim wrote: Of course, once webasm takes off, everyone will simply compile their server code to webasm and ditch javascript altogether. Although there are proposals to access the dom directly from webasm [1], right now you'll still need js. And I doub

Re: Advertise D's great compatibilty with JavaScript

2017-06-18 Thread Joakim via Digitalmars-d
On Sunday, 18 June 2017 at 16:31:28 UTC, JN wrote: On Sunday, 18 June 2017 at 10:38:49 UTC, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. [...] I don't think that's a good selling point. The obvious reply is "but why should I use an unkno

Re: Advertise D's great compatibilty with JavaScript

2017-06-18 Thread Steven Schveighoffer via Digitalmars-d
On Sunday, 18 June 2017 at 10:38:49 UTC, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. [...] This was a good talk last year you might be interested in: http://dconf.org/2016/talks/schadek.html -Steve

Re: Advertise D's great compatibilty with JavaScript

2017-06-18 Thread JN via Digitalmars-d
On Sunday, 18 June 2017 at 10:38:49 UTC, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. [...] I don't think that's a good selling point. The obvious reply is "but why should I use an unknown language like D if I could just use node.js and

Re: Advertise D's great compatibilty with JavaScript

2017-06-18 Thread Meta via Digitalmars-d
On Sunday, 18 June 2017 at 10:38:49 UTC, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. For instance, I have to maintain two similar versions of Pendown, a Markdown alternative for colored documents. There is a server-side version, in D :

Re: Advertise D's great compatibilty with JavaScript

2017-06-18 Thread Joakim via Digitalmars-d
On Sunday, 18 June 2017 at 10:38:49 UTC, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. [...] Talk to Mike Parker about submitting a blog post, detailing the similarities you see and using this example, for the official D blog.

Advertise D's great compatibilty with JavaScript

2017-06-18 Thread Ecstatic Coder via Digitalmars-d
Something I really appreciate a lot with D is how close it is to JavaScript. For instance, I have to maintain two similar versions of Pendown, a Markdown alternative for colored documents. There is a server-side version, in D : https://github.com/senselogic/PENDOWN/blob/master/pendown.d