Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

difference with https://github.com/adamdruppe/dmd/tree/dtojs ? #2

Open
timotheecour opened this issue Feb 2, 2014 · 4 comments
Open

Comments

@timotheecour
Copy link

which is the most up to date version? this repo or https://github.com/adamdruppe/dmd/tree/dtojs ?
Also I can't build the latter one either (posting here since there's no issue section in the latter):

microd.c:4:10: fatal error: 'microd.h' file not found

include "microd.h"

indeed, it's not there

@adamdruppe
Copy link
Owner

On Sat, Feb 01, 2014 at 04:23:47PM -0800, Timothee Cour wrote:

which is the most up to date version? this repo or https://github.com/adamdruppe/dmd/tree/dtojs ?
Also I can't build the latter one either (posting here since there's no issue section in the latter).

The dmd one is probably closer to working but neither of them really work.

I got this working for a while but found it pretty useless in practice (I
don't write much javascript so it was easier to just write it normally) and the
code got too convoluted to keep working on so i pretty much gave up on it.

@etcimon
Copy link

etcimon commented May 12, 2014

The browser interfaces in the tests here could still be very practical to use in an extern (C) because (I didn't test) you should be able to use LDC to compile to LLVM bytecode which would, in turn, be compiled to (very fast) javascript asm.js using EMScripten https://github.com/kripken/emscripten/wiki/Interacting-with-code

@r4j4h
Copy link

r4j4h commented May 3, 2017

Just to update etcimon's link to http://kripken.github.io/emscripten-site/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html as the old one is deprecated and may be removed at any time.

@adamdruppe
Copy link
Owner

note btw that I have abandoned this project. dmd's code has changed enormously too, so if we wanted to do it again, it would be entirely different (actually probably entirely easier but still, not something I care about doing any more...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants