Re:Enable Node.js to Run with Microsoft's ChakraCore Engine
by magicalist on Tuesday January 19, 2016 @10:34PM
(#10935901)
I think you're confused. It's not a bug, try/catch executes just fine.
try/catch just isn't supported by V8's Crankshaft so some people avoid putting it in potentially hot code.
Re:Enable Node.js to Run with Microsoft's ChakraCore Engine
by kuschku on Wednesday January 20, 2016 @07:00AM
(#10937475)
Why do they avoid using it?
That's like not using CSS3 because IE6 doesn't support it.
Sure, some users of an antiquated browser will not get the full performance, but I have no sympathy for them.
If something doesn't work on Firefox, it's always "just switch to Chrome, our site only works on Chrome". If it doesn't work on Chrome, all hell breaks loose.
You are just turning V8 into the new IE6 by adapting to it.
(Although, in reality, you probably won’t be able to do this, and will end up having to support the non-standard behaviour of V8.)