Often people ask questions - which programming language is easier, which is the most popular, which one to start learning and so on. In this article we will compare two languages Python and Ruby; their reference implementations CPython and MRI, to be exact.

We took the latest versions of the source code from the repositories (Ruby, Python) for the analysis. There weren’t many glaring errors in these projects. Most of them are related to the usage of macros, although this code is quite innocent from the point of view of the developer. But at the same time, such suspicious fragments that occurred because of copy paste, comparing SOCKET type with null, undefined behavior, storing values to the variables that are already used or null pointer dereferencing are really worth reviewing.

Having analyzed all the warnings of general analysis diagnostics and removed all the false positives, we have come to the following conclusion concerning the error density:


More details about the code fragments where these suspicious code fragments were found:

It’s worth saying that despite these flaws, the code is still of high quality. We should also take such factors into account as the size of the codebase , or the fact that some fragments are erroneous only from the point of view of C++ language and they don’t affect the program in any way. That’s why this analysis may be rather subjective, because previously we haven’t evaluated the error density of these projects. We’ll try to do that in the future, so that we can later compare the result of the checks.
Kate Milovidova 22 july 2016, 12:36

You got tired of politics! This is quite an interesting pastime for today (and not only for today).
Mari0 is a pretty good combination of Mario games and Portal. Perhaps, somebody was waiting for a release of this game. So, you have it today. What is notable? You can download the complete source codes, along with the shaders, sound and the graphics. It is written in Lua, and it has the engine for 2D games LÖVE. All is archived in a file with extension .love that in fact is a zip file. You can unpack it and see what's inside. Also, you can go and see what is here: https://love2d.org/.
Tags: Mario, Portal
Sparks 9 march 2012, 15:27