Michel Hermier

Results 441 comments of Michel Hermier

For implementation of the primitives make the things simple. Iterator is the index on the array, and make iterate skip the unwanted indexes. That way a count primitive can be...

This raise an interesting question/problem. Since we can get the current fiber, we can get the current stack trace doing `Fiber.current.stackTrace`. But the implementation I proposed does not have a...

It is not that it doesn't allow, the problem is that iterator stack is not stable. While it is not truly a problem in practice with the implementation, it will...

And to make things a little bit problematic, the behavior depends if it the active Fiber or a stale one.

I still have the patch on my branch, but I'm not really happy how it turns out. Thinking at it today, maybe it should be part of the mirror API...

This is odd, I run wren in valgrind from time to time, and the issue never showed up. Are you sure GCC is not a little bit optimistic at finding...

For the content of this patch I have some concerns, as it tries to do an equivalent of python `repr`. Implementation wise, I would have preferred a `String.quote`, and make...

True, but you end up in a situation where declaring a generic constructor in wren, results in the in a crash if you call a method from the super class...

I think we don't understand each other, the problem is in the subclass possibly not providing foreign user data to the parent class because of the default behavior when NULL...

The problem lies in the fact that the constructor cannot be called in a re-entrant manner, leading to an improperly constructed regular object. But that issue can be circumvented in...