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

Jit on PC platform? #371

Closed
paulsapps opened this Issue Jun 17, 2016 · 6 comments

Comments

Projects
None yet
5 participants
@paulsapps
Contributor

paulsapps commented Jun 17, 2016

I know a core idea behind this language is that it should be fast without a Jit since native code gen on Consoles/mobile is forbidden. However on Windows/OSX/Linux it is not forbidden.

Are there any forks which implement a Jit - would a Jit ever be considered?

@minirop

This comment has been minimized.

Show comment
Hide comment
@minirop

minirop Jun 17, 2016

Contributor

Not to my knowledge. and the language is not mature, so it may be too soon yet for JIT.

Contributor

minirop commented Jun 17, 2016

Not to my knowledge. and the language is not mature, so it may be too soon yet for JIT.

@munificent

This comment has been minimized.

Show comment
Hide comment
@munificent

munificent Jun 17, 2016

Owner

would a Jit ever be considered?

I'm certainly not opposed to other implementations of Wren that JIT, but it's probably unlikely that the the implementation I maintain will. I don't have the expertise to write and maintain a JIT.

Owner

munificent commented Jun 17, 2016

would a Jit ever be considered?

I'm certainly not opposed to other implementations of Wren that JIT, but it's probably unlikely that the the implementation I maintain will. I don't have the expertise to write and maintain a JIT.

@munificent munificent closed this Jun 17, 2016

@feliwir

This comment has been minimized.

Show comment
Hide comment
@feliwir

feliwir Feb 11, 2017

Question: I usually use Asmjit when it comes to JIT and I'd gladly try to add that to Wren, but as far as i know Wren should stay C Compliant? Is it maybe possible to add that as optional module?

feliwir commented Feb 11, 2017

Question: I usually use Asmjit when it comes to JIT and I'd gladly try to add that to Wren, but as far as i know Wren should stay C Compliant? Is it maybe possible to add that as optional module?

@kirbyfan64

This comment has been minimized.

Show comment
Hide comment
@kirbyfan64

kirbyfan64 Feb 11, 2017

@feliwir If you want something in C, you could try DynAsm...

kirbyfan64 commented Feb 11, 2017

@feliwir If you want something in C, you could try DynAsm...

@feliwir

This comment has been minimized.

Show comment
Hide comment
@feliwir

feliwir Feb 11, 2017

@refi64 DynAsm requires Lua during the build stage, if this is prefered i can also go that route i guess. But it should be a seperate module or something like this

feliwir commented Feb 11, 2017

@refi64 DynAsm requires Lua during the build stage, if this is prefered i can also go that route i guess. But it should be a seperate module or something like this

@munificent

This comment has been minimized.

Show comment
Hide comment
@munificent

munificent Feb 12, 2017

Owner

I'd gladly try to add that to Wren, but as far as i know Wren should stay C Compliant?

Yes, the core Wren implementation is plain and should be plain C. I also think it should avoid the complexity of a JIT. If you'd like to fork Wren and add it there, that would be totally great. I just want to ensure that this implementation of Wren stays pretty simple and hackable.

Owner

munificent commented Feb 12, 2017

I'd gladly try to add that to Wren, but as far as i know Wren should stay C Compliant?

Yes, the core Wren implementation is plain and should be plain C. I also think it should avoid the complexity of a JIT. If you'd like to fork Wren and add it there, that would be totally great. I just want to ensure that this implementation of Wren stays pretty simple and hackable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment