Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not your main point, but how would monomorphization of generics work with binary dependencies?


It wouldn’t, there would have to be dynamic dispatch. Swift provides some prior art for “monomorphization in the same binary, dynamic dispatch across linker boundaries” as a general approach, and it works pretty well.




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

Search: