Bob Nystrom

Results 973 comments of Bob Nystrom

Yes, this would be fantastic. It's a lot of work, obviously, but I think it's worth looking into. I'll have to do some thinking to see how to integrate it...

> From this thread I've seen that one way of doing it is to have the checks from wren using the "is" keyword to makes sure the arguments is of...

> Only pain point I feel here is "when", when do you fetch the handle/s? And do those modules exist yet? This also requires code overhead outside of the allocate/usage...

> Just curious, but why couldn't you simply compare the ObjClass pointers rather than going through an ID? The pointers aren't exposed to the C API and we don't want...

Ah, I was wondering when this would come up. :) I definitely think it's *reasonable* to want to separate out compilation from execution, especially for limited memory devices. There are...

Yeah, that API would be easy to change (or to add another one). There's nothing fundamental about why Wren copies the source string. It just needs to ensure the passed...

> Argument 1 is a false excuse. if you take a look at lua, it make zero promise on the VM opcodes to stay consistant. Fair enough. > Argument 2...

> FWIW, while I agree that concatenated strings in a list are a footgun, in every other situation, I find the extra indenting of the second line to be quite...

> An advantage of adjacent strings is that I _trust_ that they are concatenated at compile-time. I guess so, I just don't think that's particularly *valuable*. > And that's confusing,...

I did some scraping to see how well @eernstg's primary constructor proposal (#3023) would work in practice. I looked the 2,000 most recent pub packages (~12MLOC). Of the 81,968 that...