lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




On 2017-11-29 11:06 AM, Paige DePol wrote:
Soni They/Them L. <fakedme@gmail.com> wrote:

I'm not providing an implementation because I know you don't accept
patches. However, if you do this, please don't make the Lua 5.1 mistake of
implementing this as a call-stack-sensitive standard library function - if
we've learned anything from Lua 5.1 it's that it's unsafe and dangerous,
and makes sandboxing rather difficult.
I don't understand why you make so many proposals, yet seem unwilling to
actually spend the time to develop an implementation... especially since
you seem to be developing your own soft fork of Lua as well!

While upstream may not accept patches directly it would probably help your
proposal to show your ideas in action, along with benchmarks to show how
performant it is. Otherwise, you are just coming up with ideas and expecting
other people to do the work to demonstrate viability.

As the Lua team has their own roadmap of Lua features, not to mention they
have other obligations at PUC-Rio, I don't imagine they spend much time
implementing and testing third-party proposals such as this. I think you may
garner more support for your ideas if you were at least able to demonstrate
your ideas with code. At the very least you would be able to add another
feature to Cratera. ;)

Cratera is meant to be a tiny patchset (currently ~60 lines) for a single feature: traits. This feature requires many more lines of code. Not to mention Cratera is not meant to be SELua. :)


Also, in your original post you mentioned something about metatable handling
being changed. What reference did you have for that, changed how?

I was told on IRC that the Lua team wants lexically scoped metatables. My proposal describes a relatively simple mechanism for implementing them.

~Paige




--
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.