The Mysterious Realm of JavaScriptCore (2021)
cyberark.com
The Mysterious Realm of JavaScriptCore (2021)
1–7 of 7 posts
Re: The Mysterious Realm of JavaScriptCore (2021)
#2I've often thought about the possibility of implementing a language that can compile directly to optimized byte code (either for V8 or JSC), in order to get "hot code" that does not need runtime optimization, has anybody explored this idea?
Re: The Mysterious Realm of JavaScriptCore (2021)
#3Author's talk from around that time (Apr 2021)
[Finding] JS bugs in JSC with CodeQL
Re: The Mysterious Realm of JavaScriptCore (2021)
#4Author used CodeQL to rediscover a CVE in JSC that was exploited by Pwn2Own in 2018. Very interesting. I guess now with increasing automation we'll see more CVE discovery through such tools.
Re: The Mysterious Realm of JavaScriptCore (2021)
#5A lot more details here: https://webkit.org/blog/10308/speculation-in-javascriptcore/
Re: The Mysterious Realm of JavaScriptCore (2021)
#6I've often thought about the possibility of implementing a language that can compile directly to optimized byte code (either for V8 or JSC), in order to get "hot code" that does not need runtime optimization, has anybody explored this idea?
That won't work for JS because you need runtime profiling to be able to do any meaningful optimizations
Re: The Mysterious Realm of JavaScriptCore (2021)
#7I've often thought about the possibility of implementing a language that can compile directly to optimized byte code (either for V8 or JSC), in order to get "hot code" that does not need runtime optimization, has anybody explored this idea?
That's WebAssembly / asm.js. Well, that's the target, you could still design a language for it.