OLD | NEW |
1 C++11 in Skia | 1 C++11 in Skia |
2 ============= | 2 ============= |
3 | 3 |
4 Skia is exploring the use of C++11. As a library, we are technically limited | 4 Skia is exploring the use of C++11. As a library, we are technically limited |
5 by what our clients support and what our build bots support. | 5 by what our clients support and what our build bots support. |
6 | 6 |
7 Skia may also be limited by restrictions we choose put on ourselves. This | 7 Skia may also be limited by restrictions we choose put on ourselves. This |
8 document is not concerned with C++11 policy in Skia, only its technical | 8 document is not concerned with C++11 policy in Skia, only its technical |
9 feasibility. This is about what we can use, a superset of what we may use. | 9 feasibility. This is about what we can use, a superset of what we may use. |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 ---- | 54 ---- |
55 | 55 |
56 Most of our bots are pretty up-to-date: the Windows bots use MSVC 2013, the Mac | 56 Most of our bots are pretty up-to-date: the Windows bots use MSVC 2013, the Mac |
57 bots a recent Clang, and the Linux bots GCC 4.8 or a recent Clang. Our Android | 57 bots a recent Clang, and the Linux bots GCC 4.8 or a recent Clang. Our Android |
58 bots use a recent toolchain from Android (see above), and our Chrome bots use | 58 bots use a recent toolchain from Android (see above), and our Chrome bots use |
59 Chrome's toolchains (see above). I'm not exactly sure what our Chrome OS bots | 59 Chrome's toolchains (see above). I'm not exactly sure what our Chrome OS bots |
60 are using, but they've never been a problem. | 60 are using, but they've never been a problem. |
61 | 61 |
62 A few miscellaneous compile-only bots are actually our current overall weak link
: | 62 A few miscellaneous compile-only bots are actually our current overall weak link
: |
63 | 63 |
64 - Our NaCl builds use an old non-PNaCl toolchain, which is based on GCC | |
65 4.4. GCC 4.4 has some support for C++11, but it's not nearly complete. | |
66 There is no upgrade path except PNaCl; even the very latest NaCl toolchain | |
67 is GCC 4.4, while PNaCl is based on Clang 3.4 (with complete C++11 support). | |
68 - Our iOS builds are driven from a Mac 10.7 machine using some unknown old Cla
ng. | 64 - Our iOS builds are driven from a Mac 10.7 machine using some unknown old Cla
ng. |
69 Who knows how old that is or what it supports? It's probably due for an upd
ate. | 65 Who knows how old that is or what it supports? It's probably due for an upd
ate. |
70 | 66 |
71 If we were to eliminate the problems of the NaCl and iOS bots, our ability to | 67 If we were to eliminate the problems of iOS bots, our ability to |
72 use C++11 would match Mozilla's list nearly identically. | 68 use C++11 would match Mozilla's list nearly identically. |
OLD | NEW |