andrew-johnson-4 / lambda-mountain

Typed Macro Assembler (x86, HTML, WASM, lots of things)
https://andrew-johnson-4.github.io/lambda-mountain/
MIT License
17 stars 0 forks source link

Migrate fragments to use blob rendering #763

Open andrew-johnson-4 opened 3 days ago

andrew-johnson-4 commented 3 days ago

Blobs are infinitely better than fragments due to Type safety and better performance etc.

TODO:

This should be about 2000 lines of code eliminated.

andrew-johnson-4 commented 3 days ago

Blob "unused" values end up as the important ones. Type checking doesn't need to change, but codegen gets more interesting.

andrew-johnson-4 commented 3 days ago

Blob codegen is just a different calling convention, similar to fragments ans still built on top of the fragment data structure.