This illustrates one of the serious issues with C++: numerous code files in a project authored relatively recently that are dedicated to basic application plumbing such as memory allocation/tracking and concurrency. Its 2016. There are a number of performant cross-platform systems/languages that have good built-in facilities for these basic plumbing problems. C++ is an outdated language, and the entire mindset and ec…
To provide performance improvements that you don't get using the built in facilities. You don't have to write these things yourself, but if you're trying to eke out every last drop of performance (either at runtime or build time) then you have the option to do so.
Ion: Cross-platform OpenGL library from Google
21–30 of 46 posts
Re: Ion: Cross-platform OpenGL library from Google
#22This illustrates one of the serious issues with C++: numerous code files in a project authored relatively recently that are dedicated to basic application plumbing such as memory allocation/tracking and concurrency. Its 2016. There are a number of performant cross-platform systems/languages that have good built-in facilities for these basic plumbing problems. C++ is an outdated language, and the entire mindset and ec…
I'm not exactly a fan of C++, but this isn't fair. What you're describing is more of a problem with this project's coding style than the language. Most of https://github.com/google/ion/tree/master/ion/base is covered either by the STL or Boost; most of what the C++ committee has been doing lately consists of trying to encourage people to not do what this project is doing (by improving the breadth of the standard libr…
Re: Ion: Cross-platform OpenGL library from Google
#23This illustrates one of the serious issues with C++: numerous code files in a project authored relatively recently that are dedicated to basic application plumbing such as memory allocation/tracking and concurrency. Its 2016. There are a number of performant cross-platform systems/languages that have good built-in facilities for these basic plumbing problems. C++ is an outdated language, and the entire mindset and ec…
"one of the serious issues with C++: numerous code files in a project authored relatively recently that are dedicated to basic application plumbing such as memory allocation/tracking and concurrency." For some applications, manually tending to the basic plumbing is a necessity and not a burden. I.e high performance applications tend to be memory bouns. I agree that C++ is not a right tool for every job and that as a…
Re: Ion: Cross-platform OpenGL library from Google
#24Earlier quoted context omitted.
I'm not exactly a fan of C++, but this isn't fair. What you're describing is more of a problem with this project's coding style than the language. Most of https://github.com/google/ion/tree/master/ion/base is covered either by the STL or Boost; most of what the C++ committee has been doing lately consists of trying to encourage people to not do what this project is doing (by improving the breadth of the standard libr…
Should be covered by core aspects of the language, and like you said its most. Its 2016, the standard library and language should handle concurrency and memory allocation which all programs have to do.
Re: Ion: Cross-platform OpenGL library from Google
#25Since it is also from Google, even though not officially, maybe the Android NDK team could learn a few things about C++ code quality.
Ion's code looks so much nicer than any these APIs
Re: Ion: Cross-platform OpenGL library from Google
#26Earlier quoted context omitted.
"one of the serious issues with C++: numerous code files in a project authored relatively recently that are dedicated to basic application plumbing such as memory allocation/tracking and concurrency." For some applications, manually tending to the basic plumbing is a necessity and not a burden. I.e high performance applications tend to be memory bouns. I agree that C++ is not a right tool for every job and that as a…
After decades we should have good performant ways to do those things by now, without these guys having to reinvent it.
Also, that library seems to run on a quite large subset of common platforms. I don't think there is a high level language with as painless integration to as many platforms as C++ does.
The thing with multiple platform support is that it's a really dirty realworld-bound problem. That is, no matter what one does, there will be incompatibilities and unexpected bugs. The best anyone can do, is to pick a platform with as wide userbase on the platforms one wants to support and use that if one wants to minimize headache caused by problems between third party components.
There is no joy in high level abstractions if the execution stalls on implementation related bugs.
Re: Ion: Cross-platform OpenGL library from Google
#27This illustrates one of the serious issues with C++: numerous code files in a project authored relatively recently that are dedicated to basic application plumbing such as memory allocation/tracking and concurrency. Its 2016. There are a number of performant cross-platform systems/languages that have good built-in facilities for these basic plumbing problems. C++ is an outdated language, and the entire mindset and ec…
Curious notion. C++ has perhaps the richest library set in the world.
Re: Ion: Cross-platform OpenGL library from Google
#28Re: Ion: Cross-platform OpenGL library from Google
#29This illustrates one of the serious issues with C++: numerous code files in a project authored relatively recently that are dedicated to basic application plumbing such as memory allocation/tracking and concurrency. Its 2016. There are a number of performant cross-platform systems/languages that have good built-in facilities for these basic plumbing problems. C++ is an outdated language, and the entire mindset and ec…
To provide performance improvements that you don't get using the built in facilities. You don't have to write these things yourself, but if you're trying to eke out every last drop of performance (either at runtime or build time) then you have the option to do so.
Having been coding since the days of Assembly being a normal language for business applications, I never seen a programming community so obsessed with micro-optimizations per code line, (without using profilers, because programmer knows best), like the C one.
And by correlation the C sub-communities from C++ and Objective-C ones.
Other communities think first into getting their data-structures and algorithms right, use the profiler and then optimize.
Re: Ion: Cross-platform OpenGL library from Google
#30This illustrates one of the serious issues with C++: numerous code files in a project authored relatively recently that are dedicated to basic application plumbing such as memory allocation/tracking and concurrency. Its 2016. There are a number of performant cross-platform systems/languages that have good built-in facilities for these basic plumbing problems. C++ is an outdated language, and the entire mindset and ec…
I'm not exactly a fan of C++, but this isn't fair. What you're describing is more of a problem with this project's coding style than the language. Most of https://github.com/google/ion/tree/master/ion/base is covered either by the STL or Boost; most of what the C++ committee has been doing lately consists of trying to encourage people to not do what this project is doing (by improving the breadth of the standard libr…
This goes for every code line that one writes, most of the time backed up by urban legends and popular beliefs instead of profiling the code.
Whereas other programming languages cultures, tend have a more meaningful approach to optimizing software.