On Tuesday, 14 June 2016 at 03:31:10 UTC, H. S. Teoh wrote:
On Tue, Jun 14, 2016 at 01:36:48AM +0000, Yuxuan Shui via Digitalmars-d wrote:
On Tuesday, 14 June 2016 at 00:55:52 UTC, Walter Bright wrote:
> On 6/13/2016 5:13 PM, H. S. Teoh via Digitalmars-d wrote:
> > My *real* dream is for D (or some suitable subset thereof) > > to replace Javascript in browsers. But that's a very > > distant, if at all even possible, dream. :-D > > It's a great dream!

Don't we have a pretty efficient JIT javascript implementation in D already?

https://github.com/higgsjs/Higgs

I know that. What I meant was that instead of writing javascript we'd write D instead, in our webpages. Or at least, some subset of D that's safe for the web. I.e., instead of:

        <html><head>
        <script type="text/javascript" src="myscript.js"/>
        ...

you'd write

        <html><head>
        <script type="text/d" src="myscript.d"/>
        ...

It's unlikely to happen in the near future, though, if at all. But one can dream. :-)


T

I know its a dream but really whats wrong with JS in the browser? Now with no need for JQuery and ES6 its not really that bad. Better to use it for a scripting lang and other things. My opinion only.. If were dreamin Id rather see the next Kafka or Elasticsearch big idea written in D...

Reply via email to