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
I was thinking to add a tool to create header files with arrays generated from binary files and emulate functions like fopen, fgetc, fclose, etc, to read from this arrays.
The use case can be, let's say we want to load an image, so we put the image into a header file and then we use a library like stb image to load the content, uncompress it and have it in a memory(emulate malloc, free, realloc and calloc may be necesary).
This will allow to create richer demos by migrating already existing, simple, libraries.
My only concern is that we will be limited to the size of the app, that will contain all the assets we need for our application.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was thinking to add a tool to create header files with arrays generated from binary files and emulate functions like fopen, fgetc, fclose, etc, to read from this arrays.
The use case can be, let's say we want to load an image, so we put the image into a header file and then we use a library like stb image to load the content, uncompress it and have it in a memory(emulate malloc, free, realloc and calloc may be necesary).
This will allow to create richer demos by migrating already existing, simple, libraries.
My only concern is that we will be limited to the size of the app, that will contain all the assets we need for our application.
Beta Was this translation helpful? Give feedback.
All reactions