News for hackers. Stuff that matters.
Re:Show HN: Fast.js – faster reimplementations of native Jav... by cristiantincu on Tuesday June 24, 2014 @09:21AM (#7937521)
> In fact, native functions often have to cover complicated edge cases from the ECMAScript specification, which put them at a performance disadvantage.

What. Is. This. I don’t even.

Re:Show HN: Fast.js – faster reimplementations of native Jav... by sp332 on Tuesday June 24, 2014 @09:24AM (#7937541)
So if you simplify the implementation, it gets faster but more fragile. Why is that confusing?
Re:Show HN: Fast.js – faster reimplementations of native Jav... by pestaa on Tuesday June 24, 2014 @09:33AM (#7937595)
If you simplify the specification, a proper implementation gets faster with no downside.

Why can't we build software on simpler platforms with better implementations?

Re:Show HN: Fast.js – faster reimplementations of native Jav... by sp332 on Tuesday June 24, 2014 @09:34AM (#7937602)
Doing something complex on a simple platform requires complex code. https://en.wikipedia.org/wiki/Turing_tarpit Having a more complex platform can make things a lot easier for the programmer.
Re:Show HN: Fast.js – faster reimplementations of native Jav... by pestaa on Tuesday June 24, 2014 @12:30PM (#7938629)
Simplicity never meant easy. Doing something complex on a simple platform may as well use simple constructs and benefit from no edge cases.

For example, Haskell provides only a handful of constructs but allows the developer to build sophisticated systems.

Though I agree complex platforms are not necessarily complicated.

Re:Show HN: Fast.js – faster reimplementations of native Jav... by ulisesrmzroche on Tuesday June 24, 2014 @10:31AM (#7937936)
You programmed before? Implementations dont get simpler just because you wish them to.
Re:Show HN: Fast.js – faster reimplementations of native Jav... by pestaa on Tuesday June 24, 2014 @12:36PM (#7938668)
Why the ad hominem?

I can make the implementation simpler if the underlying specification is simpler. If a language is full of edge cases, it was not designed carefully. If there exists a significantly faster implementation in a significantly slower language that covers 99% of the specification, I'd look for opportunities to simplify.