Hacker News new | past | comments | ask | show | jobs | submit login

> Does chrome not ever get bogged down by javascript?

Yes. This is pretty subjective as a user, but I'd classify Chrome as slightly better here. They're close enough that it doesn't usually matter unless you're playing JS based games or have a potato for a computer.

> Do they have a different javascript library/engine?

Yes, Chrome uses V8, Firefox uses SpiderMonkey

> Can you change the javascript libraries used by Firefox and Chrome?

No, not easily. It's all open source so technically you could with enough effort. But for example Chrome relies on some shared GC code between Blink and V8 [1]; I expect various feature needs like this would make swapping for SpiderMonkey infeasible.

[1] https://v8.dev/blog/high-performance-cpp-gc




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: