dart-lang / native

Dart packages related to FFI and native assets bundling.
BSD 3-Clause "New" or "Revised" License
112 stars 39 forks source link

Decouple summarizer and code generator #678

Closed mahesh-hegde closed 1 year ago

mahesh-hegde commented 1 year ago

Motivation:

Design 1: caching summary

Design 2: Explicitly dumping and passing summary

This is a simpler design.

Other tasks

mahesh-hegde commented 1 year ago

I think as @HosseinYousefi mentioned elsewhere, it's better to test each part of the pipeline separately. Separating getSummary() part in code is trivial and dart-lang/jnigen#220 already does that to enable some tests. So closing this as not planned.