News for hackers. Stuff that matters.
Re:SwiftWasm: Run Swift in Browsers by paavohtl on Saturday May 11, 2019 @09:09AM (#19885970)
> C-likes also don't often have first-class functions/closures

I think C is the only remaining C-like language not to have first-class functions. And there are compiler extensions for that too.

Re:SwiftWasm: Run Swift in Browsers by _bxg1 on Saturday May 11, 2019 @10:31AM (#19886362)
My understanding is that in cases like Java and C++, the lambdas aren't truly first-class; they come with limitations. I could be wrong.
Re:SwiftWasm: Run Swift in Browsers by hellofunk on Saturday May 11, 2019 @03:46PM (#19888028)
That's true about Java but not C++. C++11 introduced true lambdas, but Java's idea of lambdas is rather laughable by comparison and nowhere near as flexible.