Dragging C++ into the Modern era - Guy Davidson - Meeting C++ 2017

  Рет қаралды 4,478

Meeting Cpp

Meeting Cpp

Күн бұрын

Пікірлер: 11
@guydunton1134
@guydunton1134 6 жыл бұрын
I saw the original of this talk at ACCU last year. It’s interesting to see how both this talk and the graphics proposal have come along since then. The talk is a lot better now that it focuses on the proposal. The proposal itself also feels a lot more C++ like now that the backend is implementation defined. Well done Guy in pushing this proposal forwards.
@thestickbot
@thestickbot 6 жыл бұрын
As I am a 2D game programmer, this is definitely relevant for me and it is a very interesting proposal. But I kind of feel like the focus of this talk was a bit off. Instead of naming all the classes of the library, talking about how shapes are connected, showing non-graphics code from an Asteroids clone and talking about the history of displays, I would have liked to hear more about: - A motivation for the title of the talk. How does having standard support for graphics correlate to being in the modern era? - Why would I use this instead of SDL? I would really love to use a modern C++ library rather than the very C-like SDL, but SDL is so solid that I need to be convinced that this can match it. - A better answer about the scope of the proposal. Does it handle windows and window events, or is it strictly rendering? As Guy talked about input, I'm assuming that the library will be the owner of the windows which it draws on. - Input. I know it's not done yet, but if the graphics library owns a window, it's probably responsible for window events, which means it handles input as well. Once again, could the input capabilities of this library be as good as the brilliant input handling in SDL? What about gamepad support and all that? - Game consoles. If it is part of the standard, I would assume I could use it on any game console as well. But then input handling comes up again. Game consoles might have pretty different input than PCs, so maybe input should be completely separate from rendering somehow? - UI programming for non-game applications. The talk barely mentions anything other than games. Would this be useful for cross-platform UI libraries? I think Guy did well with the points he talked about, but it's just that the talk didn't really focus much on what really interests me. It was nice to see some example code, though!
@MeetingCPP
@MeetingCPP 6 жыл бұрын
I think for input it should be the same as it is for the drawing apis: these are customization points which are specified by the implementation or user. We standardize an interface, not an implementation.
@thestickbot
@thestickbot 6 жыл бұрын
Yeah, absolutely. But still, different input devices require different interfaces, so I guess you would end up with different input libraries anyway. But if different input methods could be externally hooked up with a standardized window in a practical way, that would be really cool. Also, of course input can be completely separate from a window anyway, but some input is usually generated as events to the window.
@MrAbrazildo
@MrAbrazildo 6 жыл бұрын
- Alpha per pixel or surface/canvas? - Will it work with C++11 right away? - No 64 bit color, is that right?
@ratgr
@ratgr 6 жыл бұрын
-Alpha per pixel -no, i think they are trying to push in to c++20 (wouldn't bet on it, more like > c++23), still as it can be downloaded as a library there may be backports -Not in the default implementation, (can use custom one) PS. not involved on the project, i just browsed the code a little
@MrAbrazildo
@MrAbrazildo 6 жыл бұрын
I asked about C++11 because most compilers "stopped" on it. A C++20/23 could be incompatible.
@ratgr
@ratgr 6 жыл бұрын
gcc, clang, msvc, intel-compiler are all pretty near full c++17, avr-g++(based on gcc) is following pretty close so "most compilers"?
@MrAbrazildo
@MrAbrazildo 6 жыл бұрын
Hm... then I'll have to look why my Linux doesn't upgrade my C++ compilers.
@ratgr
@ratgr 6 жыл бұрын
yeah, depending on your distro they may come with a pretty old compiler, i think ubuntu ships with gcc-5 that is mostly c++14 complete using the flag -std=c++1y
Parallel Computing Visualization - Dori Exterman - Meeting C++ 2017
56:52
SHAPALAQ 6 серия / 3 часть #aminkavitaminka #aminak #aminokka #расулшоу
00:59
Аминка Витаминка
Рет қаралды 1,8 МЛН
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,4 МЛН
Winning Facebook (Meta) Hacker Cup Qual Round 2022?
53:55
Neal Wu
Рет қаралды 2,4 МЛН
How To Think Like A Programmer
1:00:07
Coding Tech
Рет қаралды 2 МЛН
Errichto Stream, POI 22/1
3:55:08
Errichto Algorithms
Рет қаралды 157 М.
Is Computer Science still worth it?
20:08
NeetCodeIO
Рет қаралды 336 М.
Clean Code - Uncle Bob / Lesson 1
1:48:42
UnityCoin
Рет қаралды 1,9 МЛН
Bjarne Stroustrup: C++ | Lex Fridman Podcast #48
1:47:13
Lex Fridman
Рет қаралды 1 МЛН
The Tragedy of systemd
47:18
linux.conf.au
Рет қаралды 1,1 МЛН
"Clean" Code, Horrible Performance
22:41
Molly Rocket
Рет қаралды 890 М.
SHAPALAQ 6 серия / 3 часть #aminkavitaminka #aminak #aminokka #расулшоу
00:59
Аминка Витаминка
Рет қаралды 1,8 МЛН