Comment

Comment by kccqzy

But the difference between a closure and a function pointer is essential complexity, not accidental complexity.

If a language were to provide only closures and not function pointers, it would not be low level enough to interface with C code and C ABI. That's definitely not what Rust needs.

parent kccqzy 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton