You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there seems to be a uniform JSON model, why not let the C just consume it to generate the proper models, then poop out the updates to the parameters again (in JSON)?
This has been discussed previously but isn't planned (for now) because any JSON loading would:
mean you have to distribute the model.json with your app, be it as a file or part of the source code (as a string)
be slower than a model constructed using classes - which the compiler can optimize/inline. Note: this isn't currently done in Dart either and we're still using some JSON parsing here but that should go away in the future
Uh oh!
There was an error while loading. Please reload this page.
If there seems to be a uniform JSON model, why not let the C just consume it to generate the proper models, then poop out the updates to the parameters again (in JSON)?
We can get rid of model-related boilerplate in all languages.
I believe flatcc (dependency?) already has a JSON parser.
Even crazier idea: use flatbuffers, instead of JSON, so its (allegedly) backwards compatible, if that's an issue.
The text was updated successfully, but these errors were encountered: