Michel Hermier

Results 438 comments of Michel Hermier

I think I understand what you meant and it is a naming issue.

It is not a real factory pattern, but more a type dispatch. Doing it functional can work, but that way I can cache some results, while still allowing some functionnal...

I have this problem in mind since a while, tried various solutions that where not enougth generic for me. The solution without being completely generic is to fusion `ObjForeign` and...

I redid the fusion patch with a unified object as: ```C typedef struct { Obj obj; size_t fieldsSize; size_t dataSize; Value fields[FLEXIBLE_ARRAY]; // uint8_t data[FLEXIBLE_ARRAY]; } ObjMemorySegment; ``` And I...

I made some progress, allowing foreign class to inherit from class with attributes, there is a initialization issue thought. So the only viable scenarios for now is foreign that inherit...

The issue is that you can't call an initialize method from the super class, since it would meant re-entrancy. So basically if it is mandatory to initialize an object you...

```javascript class Foo { construct new() { _secret = SecretFactory.construct() } ... } foreign class Bar is Foo { foreign construct new() // here in C you can't call Foo.new(),...

What should be the behavior around inheritance of `allocate` & `finalize` ? - NULL means use parent. - NULL is error / no allocate (can be useful if an intermediate...

Yes and no. First patch is an utility patch, second patch is the core of the patch, and third one is the premake update in isolation. If one want to...

Ignoring some changes that I developed in separated branches that I don't consider urgent for inclusion, my main branch is +200 patch ahead of main. So I'm "forced" to tidy...