Hacker News new | past | comments | ask | show | jobs | submit login
Fine-grained language composition (tratt.net)
14 points by ingve on Oct 9, 2023 | hide | past | favorite | 1 comment



This is neat, though I wonder how much cognitive overhead comes from swapping between two languages. IDE support becomes more complicated too, as does all of the other tools we use to improve software development practice and experience.

WASM seems like a better approach. If every language can have a WASM runtime built in and can also target WASM, then the developer is free to choose the language they work with and import a library without caring what language it was written in. I don't know the guts of WASM runtimes, but it seems like their idea for meta-tracing ought to be possible and with source maps, could make for a pretty good experience.

I'm particularly interested in the CUE + WASM work going on. It can lead to a place where the evaluator can schedule the granular code lazily and based on dependencies and inputs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: