The official mirror of the V8 Git repository

Overview

V8 JavaScript Engine

V8 is Google's open source JavaScript engine.

V8 implements ECMAScript as specified in ECMA-262.

V8 is written in C++ and is used in Google Chrome, the open source browser from Google.

V8 can run standalone, or can be embedded into any C++ application.

V8 Project page: https://v8.dev/docs

Getting the Code

Checkout depot tools, and run

    fetch v8

This will checkout V8 into the directory v8 and fetch all of its dependencies. To stay up to date, run

    git pull origin
    gclient sync

For fetching all branches, add the following into your remote configuration in .git/config:

    fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
    fetch = +refs/tags/*:refs/tags/*

Contributing

Please follow the instructions mentioned at v8.dev/docs/contribute.

Comments
  • Travis CI: Use flake8 to find Python syntax errors

    Travis CI: Use flake8 to find Python syntax errors

    Bug report: https://bugs.chromium.org/p/v8/issues/detail?id=8594

    Just 1.4% of the v8 codebase is Python but that code contains:

    • Python 2: ~4 syntax errors and 26 undefined names.~
    • Python 3: ~76 syntax errors and 42 undefined names.~

    UPDATE:

    • Python 2: 0 syntax errors and 0 undefined names.
    • Python 3: 1 syntax errors and 1 undefined names.

    Output: https://travis-ci.com/cclauss/v8

    E901,E999,F821,F822,F823 are the "showstopper" flake8 issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety.

    • F821: undefined name name
    • F822: undefined name name in __all__
    • F823: local variable name referenced before assignment
    • E901: SyntaxError or IndentationError
    • E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
    opened by cclauss 15
  • Define basestring in Python 3

    Define basestring in Python 3

    The Python builtin basestring has been removed from all currently supported versions of Python so define basestring in Python 3 so that line 60 does not raise a NameError at runtime. @bmsdave @targos Please submit upstream.

    opened by cclauss 7
  • Updated functions for python3

    Updated functions for python3

    Updated all the issues (in all 3 files) mentioned in https://github.com/v8/v8/pull/29#issuecomment-537490614 and https://github.com/nodejs/node/issues/24512#issuecomment-537665892 with their respective python3 functions

    opened by AgentJ08 5
  • Version 8.5.133

    Version 8.5.133

    Hello I want to let you know that I have recently developed a function similar to Document.execCommand() with the latest javascript. As you might know, the mentioned function is obsolete and is subject to stop functioning on browsers, however, there is no alternative to it. Now I want to know if it is possible to implement the function I made into javascript source so that everyone can use it and do not waste their time on making it again.

    opened by zyadomer999 3
  • Fix field escape parsing error in csvparser

    Fix field escape parsing error in csvparser

    This fixes a bug in CsvParser.prototype.escapeField that improperly handles single-character escapes like \\, which affects parsing paths on DOS-based file systems.

    Originally found in https://github.com/thlorenz/v8-tools-core/pull/1 and needed for https://github.com/thlorenz/deoptigate/pull/13.

    opened by rbuckton 3
  • v8-5338: Proposed fix to V8 issue 5338 (authored by kentonv)

    v8-5338: Proposed fix to V8 issue 5338 (authored by kentonv)

    This proposed patch is based on the work of @kentonv here: https://github.com/nodejs/node/commit/0b882566078cb14537f9f91220f1a58530fa7687

    It intends to fix this issue: https://bugs.chromium.org/p/v8/issues/detail?id=5338

    As @kentonv mentions here (https://github.com/meteor/meteor/issues/9796#issuecomment-381715608) the patch created is probably not yet entirely suitable to be applied here, but placing this here for review.

    Maybe someone with a better understanding of the internal workings of V8 can pick this up?

    opened by KoenLav 3
  • [platform] fix uninitialized variable

    [platform] fix uninitialized variable

    On line number 628 of time.cc, the variable ticks may be accessed without an initialized value. And while the return value of TimeTicks::HighResolutionNow will never be zero, it's always good to initialize variables, because if we try to access a value before it gets assigned any actual (non-garbage) value, then it results in undefined behavior.

    opened by bryonglodencissp 3
  • Stage 3 Proposal: Object.getOwnPropertyDescriptors

    Stage 3 Proposal: Object.getOwnPropertyDescriptors

    There's a stage 3 proposal waiting to be implemented in at least two browsers in order to make it to stage 4.

    Tests has been submitted to test262 by the champion ( @ljharb ) so the last bit would be to actually implement it in core.

    These changes have been successfully tested already after a clean make native and double-verified manually within d8 console itself.

    Thanks in advance for considering this PR or for clarifying what else is needed in order to integrate such proposal.

    Best Regards

    opened by WebReflection 3
  • Replaced

    Replaced "the open source browser from Google"

    Replaced "the open source browser from Google" and replaced it with "the web browser from Google", because Google Chrome is not open source.

    opened by maytees 2
  • Version 10.1.60

    Version 10.1.60

    Change-Id: Ie7a653545ac34fe3ce2100a5e03eced57bc773b0 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3498173 Bot-Commit: v8-ci-autoroll-builder v8-ci[email protected] Cr-Commit-Position: refs/heads/10.1.60@{#1} Cr-Branched-From: 995217a31b1c110de5b1aceae2e0d8fc34a1142d-refs/heads/main@{#79353}

    opened by xrtuen 2
  • Undefined name: 'Error' use 'Exception' instead

    Undefined name: 'Error' use 'Exception' instead

    @jakobkummerow https://docs.python.org/3/library/exceptions.html#Exception is the base class for most Python errors and Error is undefined in this context so NameError will be raised instead of the desired exception message.

    opened by cclauss 2
Owner
V8
The official V8 GitHub account
V8
Repository for the Object-oriented programming course for academic year 2020/21

Object-Oriented Programming 2020/21 Repository for the Object-oriented programming course for the 2020/21 academic year. Structure exam -- tasks given

Atanas Semerdzhiev 19 Oct 21, 2021
This repository is a summary of the basic knowledge of recruiting job seekers and beginners in the direction of C/C++ technology, including language, program library, data structure, algorithm, system, network, link loading library, interview experience, recruitment, recommendation, etc.

?? C/C++ 技术面试基础知识总结,包括语言、程序库、数据结构、算法、系统、网络、链接装载库等知识及面试经验、招聘、内推等信息。This repository is a summary of the basic knowledge of recruiting job seekers and beginners in the direction of C/C++ technology, including language, program library, data structure, algorithm, system, network, link loading library, interview experience, recruitment, recommendation, etc.

huihut 27k Dec 31, 2022
Public Code Repository of the iRotate Active SLAM for Omnidirectional robots at the Max Planck Institute for Intelligent Systems, Tübingen

iRotate: Active Visual SLAM for Omnidirectional Robots This repository contains the code of iRotate, an active V-SLAM method submitted to RA-L + IROS2

Elia Bonetto 36 Nov 25, 2022
Welcome to my dungeon. Here, I keep all my configuration files in case I have a stroke and lose all my memory. You're very welcome to explore and use anything in this repository. Have fun!

Fr1nge's Dotfiles Welcome to my dungeon. Here, I keep all my configuration files in case I have a stroke an d lose all my memory. You're very welcome

Fr1nge 33 Oct 28, 2022
This repository is build for reviewing the CodingInterviews, Coding in ACM mode with C++.

CodingInterviews(剑指 Offer) 建立这个仓库为了重新复习一下《剑指 Offer》,上传的是ACM模式版本。 如果本仓库对你有任何帮助,请点 ?? 支持,谢谢! ??

Mike Zheng 17 Mar 4, 2022
This is the code repository for my book C++20 - Get the Details.

Cpp20 This is the code repository for my book C++20 - Get the Details. It has more than 200 running examples. The names of the directories reflect the

Rainer Grimm 45 Dec 31, 2022
This repository contains notes and starter code for Bit manipulation and mathematics session for DSA bootcamp organized by Codeflows.

Bitmanipulation_maths This repository contains notes and starter code for Bit manipulation and mathematics session for DSA bootcamp organized by Codef

Joe 7 Jun 15, 2022
This repository Contains PPTs and Sample Codes for IoT workshop 21st to 24th Aug 2021

IoT-workshop This repository Contains PPTs and Sample Codes for IoT workshop 21st to 24th Aug 2021 Fritzing Download Link: https://www.filehorse.com/d

Aman Singh 2 Feb 8, 2022
This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.

CPP-Questions-and-Solutions ?? This repository aims to solve and create new problems from different spheres of coding, which will serve as a single po

null 49 Oct 3, 2022
The Repository Contains the Set Way of Learning Cpplus With the help of programs And Notes.

Preface Since the C++ language varies so heavily between versions (e.g. C++0x, C++11, C++17, etc.), I will preface this cheat sheet by saying that the

Pawan Roshan Gupta 5 Oct 6, 2022
This repository consists a set of problems that a beginner can starts with.

Beginner's Coding Sheet ?? ?? This Coding Sheet is provided by SIDDHARTH SINGH on his YouTube Channel. Here are the set of problems with its respectiv

Kishan Kumar Rai 5 Sep 30, 2022
The Repository Contains all about Data Structure and Algorithms with Practice problems, series, and resources to follow!

?? The Complete DSA Preparation ?? This repository contains all the DSA (Data-Structures, Algorithms, 450 DSA by Love Babbar Bhaiya,STriver Series ,FA

Pawan Roshan Gupta 5 Oct 6, 2022
C - A repository containing C code samples and concepts for beginners.

C - A repository containing C code samples and concepts for beginners. A repository containing C concepts I made when I was bored. You can also use th

doxxable3 1 Nov 1, 2021
📘 MIPT University - Olympiad School of Competitive Programming (C++) Curated repository with full explanations, solutions & written lectures collected throughout my academic experience at MIPT school

MIPT - Olympiad School of Competitive Programming (with C++) Outcomes: Studying at this school has allowed be to explore numerous algorithms, data str

Artem Moshnin 1 Nov 24, 2021
All those who are willing to participate in the 7-day coding event Commit-Your-Code organized by GDSC, UIET have to fork this repository and contribute their solutions as per defined rules.

????‍?? Commit-Ur-Code ????‍?? GDSC UIET KUK ?? , welcomes you all to this amazing event where you will be introduced to the world of coding ?? . It i

Google Developer Student Club UIET KUK 9 Mar 24, 2022
Programming-Basics - This Repository Contains source codes of various programming languages. Please Contribute to make this Useful.

Programming-Basics About ❓ Want To Start your Open-Source Journey Without Facing Difficulties?,If Yes, Then You Are at The Right Place! ?? Don't Know

Mr. Ånand 67 Dec 8, 2022
This repository is to collect all my learnings about the C++ languag

C++ learning About The Project The objective of this repository is to collect all my learnings about the C++ language, you can explore all the differe

Esteban Gonzalez Tamayo 3 Jan 30, 2022
The repository contains DP problems.

Dyannamic Programming Question :- This repository contains solutions for the CSES Prblem Set Solution of DP seciton as well as different coding platfo

Niteesh Kumar 2 Jan 28, 2022
Cpp-btree - Git mirror of the official (mercurial) repository of cpp-btree

This library is a C++ template library and, as such, there is no library to build and install. Copy the .h files and use them! See http://code.googl

Algorithm Ninja 64 Nov 30, 2022
Libav github mirror, clone of git://git.libav.org/libav

Libav Libav is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata. Libraries libav

Libav 949 Dec 30, 2022