News for hackers. Stuff that matters.
Re:Show HN: Write your BPF programs in Go, not C by mickael-kerjean on Monday May 25, 2026 @09:26PM (#48273917)
I did work on a plugin system for Filestash leveraging wasm. Plugins made with tinygo were 10x slower than the same code in rust or c compiled to wasm

[1] https://github.com/mickael-kerjean/filestash/blob/master/ser...

Re:Show HN: Write your BPF programs in Go, not C by hnlmorg on Tuesday May 26, 2026 @03:27AM (#48276316)
Yeah I’m not surprised by that. TinyGo might leverage LLVM but it still has all of the Go conveniences that would make it benchmark slower compared to C and Rust. Though I’m sure that gap could be closer if TinyGo had the same level of investment that Rust or Googles Go compiler had.

What I was more curious about was how TinyGo compared with Googles Go compiler and whether TinyGo’s LLVM compiler is compatible with vanilla LLVM compilers (eg can TinyGo compile to all the same targets that, for example Rust, could?)