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

The pdk is missing Zig which is, for many developers, considerably the best for wasm target. It's as fast as Rust (from benchmark I saw, Rust is fastest), though Zig's binary size is as small as AssemblyScript's. Rust's binary size is considerably in a range of middle to large, mostly middle.

It would be nice if there's an official wasm benchmark of source languages, showing speed and binary size comparison.



Yeah, that's a good idea. C is supported on the SDK and PDK side. We are wondering if Zig can utilize the c libraries for it.


I would say Zig is the nicest C friend! Zig can compile C code. Checkout: https://ziglang.org/learn/overview/#zig-is-also-a-c-compiler Also: https://ziglang.org/documentation/master/#toc-Freestanding




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

Search: