D to Javascript converter (a hacked up dmd)

Adam D. Ruppe destructionator at gmail.com
Sat Mar 3 08:40:31 PST 2012


On Saturday, 3 March 2012 at 12:10:47 UTC, Jacob Carlborg wrote:
> No, we don't want to do it like Dart:
> 17260 lines of code for Hello World.

Wow. I thought I was a bit on the bloated side with
~100 lines of boilerplate (before running the unused
function stripper).

$ ../dmd -md object.d
DMD v2.058 DEBUG
$ wc object.js
   108   472 11843 object.js



Then again, when giant things like jQuery is considered
a "necessity" when I get by just fine with my 10 KB
(source, not minified, not gzipped) custom library,
if even that, it shows there's a big disconnect between
me and most other web people nowadays.


More information about the Digitalmars-d-announce mailing list