Hi Hannes, See my longer post, but how it will work to have both `std::` implementations for code like https://source.chromium.org/chromium/chromium/src/+/main:v8/include/v8-cppgc.h;l=36-38
In the embedder code, `std::vector` comes from Microsoft, for V8 - from libc++ ? Dimitar On Tuesday, June 18, 2024 at 7:17:05 PM UTC+3 hpa...@google.com wrote: > Hi Jean-Claude, > > The preferred way would be to link both standard libraries. In your case, > libc++ could be private to V8 and Microsoft standard library could be used > for the rest. > > Cheers, > Hannes > > On Tue, Jun 18, 2024 at 9:41 AM Jean-Claude Monnin <jc_m...@emailplus.org> > wrote: > >> Hi Hannes, >> >> Just a clarification: Does that mean only MSVC the compiler isn't >> supported anymore, but the Microsoft C++ Standard Library still works [1]? >> As you said, clang-cl is ABI compatible with MSVC, so I don't care which >> compiler is used to compiled v8, as long as I can link v8 with other code. >> >> It's not always possible to use libc++ on Windows. In my case it's the >> precompiled Qt (possibly Qt works with libc++ on Windows, but I think it's >> unsupported). Mixing two huge libraries which require different C++ >> standard libraries wouldn't be fun. Additionally, I use closed source SDK's >> which mandate the Microsoft C++ standard library. I probably can't convince >> you if you want to support only libc++ on Windows, but I hope the Microsoft >> standard library is still supported so that v8 can be used in a standard >> Windows executable (fingers crossed). >> >> Cheers, >> Jean-Claude >> >> [1]: >> https://learn.microsoft.com/en-us/cpp/standard-library/cpp-standard-library-overview?view=msvc-170 >> >> On Tue, Jun 18, 2024, at 8:16 AM, 'Hannes Payer' via v8-users wrote: >> >> Hi all, >> >> We acknowledge that this is a change for everybody who is using MSVC. >> However there is a solution which hopefully works for many projects: >> clang-cl produces ABI-compatible output to MSVC. You can build v8 with >> clang-cl and link it to the code which is built with MSVC. The MSVC >> installer includes clang-cl as an install option. >> >> Cheers, >> Hannes >> >> On Mon, Jun 17, 2024 at 9:27 PM Ben Ernst <boi...@gmail.com> wrote: >> >> Ouch! We do use V8 on a live project compiled with MSVC. Thought it was >> worth throwing a comment out there, although I'm sure this isn't a decision >> that was taken lightly. >> Cheers, >> Ben >> >> >> >> >> >> On Mon, 17 Jun 2024 at 11:58, Hannes Payer <hpa...@chromium.org> wrote: >> >> Hi all, >> >> V8 will follow Chromium's lead >> <https://groups.google.com/a/chromium.org/g/chromium-dev/c/fuVUxe1q6EA> >> and will discontinue support for MSVC. To give projects time to adjust, we >> will stop support after V8 version 13.0 in September 2024. After that, we >> will remove the infrastructure bots and MSVC compatibility hacks in the >> code base. >> >> Cheers, >> Hannes >> >> >> -- >> -- >> v8-dev mailing list >> v8-...@googlegroups.com >> http://groups.google.com/group/v8-dev >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to v8-dev+un...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/v8-dev/CANaZRYwBjN3wR7MJEdk-fmkNPHWzJFd1RU1iC3SBA32MnD-uoA%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/v8-dev/CANaZRYwBjN3wR7MJEdk-fmkNPHWzJFd1RU1iC3SBA32MnD-uoA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> >> -- >> -- >> v8-users mailing list >> v8-u...@googlegroups.com >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to v8-users+u...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/v8-users/CABexdQ4DUQrq74GTwtsnAhRO5WH1gN1Z9wZUr9J4aJLckWsEhw%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/v8-users/CABexdQ4DUQrq74GTwtsnAhRO5WH1gN1Z9wZUr9J4aJLckWsEhw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> >> >> -- >> >> >> Hannes Payer | >> V8 | >> Google Germany GmbH | >> Erika-Mann Str. 33, 80636 München >> >> Geschäftsführer: Paul Manicle, Liana Sebastian >> >> Registergericht und -nummer: Hamburg, HRB 86891 >> >> Sitz der Gesellschaft: Hamburg >> >> Diese E-Mail ist vertraulich. Falls Sie diese fälschlicherweise erhalten >> haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, >> löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, >> dass die E-Mail an die falsche Person gesendet wurde. >> >> >> >> This e-mail is confidential. If you received this communication by >> mistake, please don't forward it to anyone else, please erase all copies >> and attachments, and please let me know that it has gone to the wrong >> person. >> >> >> -- >> -- >> v8-users mailing list >> v8-u...@googlegroups.com >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to v8-users+u...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/v8-users/CAKEgpyH%2B8HrOKLAxRW%2BU-S6d_n4NNOxw1e6uBGZqguqa%3D%3DS0Ww%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/v8-users/CAKEgpyH%2B8HrOKLAxRW%2BU-S6d_n4NNOxw1e6uBGZqguqa%3D%3DS0Ww%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> >> -- >> -- >> v8-users mailing list >> v8-u...@googlegroups.com >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to v8-users+u...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/v8-users/8dd6a11c-f3ba-48dc-b19b-7787aee41d50%40app.fastmail.com >> >> <https://groups.google.com/d/msgid/v8-users/8dd6a11c-f3ba-48dc-b19b-7787aee41d50%40app.fastmail.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > > > Hannes Payer | V8 | Google Germany GmbH | Erika-Mann Str. 33, 80636 > München > > Geschäftsführer: Paul Manicle, Liana Sebastian > > Registergericht und -nummer: Hamburg, HRB 86891 > > Sitz der Gesellschaft: Hamburg > > Diese E-Mail ist vertraulich. Falls Sie diese fälschlicherweise erhalten > haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, > löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, > dass die E-Mail an die falsche Person gesendet wurde. > > > > This e-mail is confidential. If you received this communication by > mistake, please don't forward it to anyone else, please erase all copies > and attachments, and please let me know that it has gone to the wrong > person. > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/584fc7ea-30cc-4236-94ba-ff9936cf5cfen%40googlegroups.com.