What C++ language standard for V8?

24 views
Skip to first unread message

Thomson Tan

unread,
Apr 18, 2018, 12:35:27 AM4/18/18
to v8-users
As V8 is written mostly in C++, what standard does it obey, C++11, or later?

Zac Hansen

unread,
Apr 18, 2018, 4:03:48 AM4/18/18
to v8-users
It's been a while since I've built it, but can't you see the command line it uses?   It should say the version -std=c++??

Ben Noordhuis

unread,
Apr 18, 2018, 4:31:42 AM4/18/18
to v8-users
On Wed, Apr 18, 2018 at 6:35 AM, Thomson Tan <lil...@gmail.com> wrote:
> As V8 is written mostly in C++, what standard does it obey, C++11, or later?

I believe it's still C++11 as of this writing but, since Chromium is
C++14 now, I expect V8 will follow suit in the not too distant future.
Reply all
Reply to author
Forward
0 new messages