I'd love to see DScript one day ...

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 13 20:31:10 PDT 2016


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

-- 
Computers shouldn't beep through the keyhole.


More information about the Digitalmars-d mailing list