support icon indicating copy to clipboard operation
support copied to clipboard

dev log #5 - language - feedback

Open ruby0x1 opened this issue 7 years ago • 5 comments

Post your feedback and questions on luxe dev log # 5 - language here

ruby0x1 avatar Oct 20 '17 20:10 ruby0x1

Reading up on wren... One thing that jumped out is the lack of AOT compiling. Having to ship source code with games is a bit underwhelming. Anything in store to alleviate that concern?

rickms avatar Oct 21 '17 04:10 rickms

It can actually compile directly to bytecode, and using that is a small step away right now but doable.

The parcels that assets are shipped as with 1.0 are not plain source files on disk. They're packed together, obfuscated (and optionally compressed etc). The plan is to also optionally store the scripts as bytecode as well (or that being the default in release builds, it depends).

ruby0x1 avatar Oct 21 '17 04:10 ruby0x1

Being able to transpile wren to C would also be a nice choice both for distribution and eventually performance gain. Just my 2 cents :)

tanis2000 avatar Oct 21 '17 14:10 tanis2000

yea I've tinkered with the idea already actually. There's also things like sljit, but they all have trade offs and platform specific concerns that push it to the wishlist immediate term (for me, others are free to explore that!). Since performance hasn't gotten in my way yet at all it's something that'll come later too :)

ruby0x1 avatar Oct 21 '17 20:10 ruby0x1

Yes, I remember that sljit thing. It sounds like something worth checking out in the middle/long run.

tanis2000 avatar Oct 23 '17 08:10 tanis2000