News for hackers. Stuff that matters.
Re:Type-Safe Printf for C by nikki93 on Tuesday December 14, 2021 @02:17PM (#29556035)
Have you compared the performance and generated binary size of C vs. Go on WebAssembly?
Re:Type-Safe Printf for C by 37ef_ced3 on Tuesday December 14, 2021 @03:33PM (#29557210)
For WebAssembly, use the TinyGo Go compiler:

https://tinygo.org/

Re:Type-Safe Printf for C by nikki93 on Tuesday December 14, 2021 @06:02PM (#29559351)
Yeah the Go -> C++ compiler I linked from my other comment is pretty much overlapping with this idea. TinyGo is still a bit early afaict and also tries to exactly implement Go semantics but I'm kind of interested in extending / adapting it to my use case.