Skip to main content

The new Python profiler increases the power of Python very much.

 The new Python profiler increases the power of Python very much. 


The Python language is an effective but slow programming tool. Python is a very popular tool in network programming. But because it's slow it is problematic in complicated solutions that run on network-based decentralized platforms. Things like AI-based Bing and Chat GPT are making programming very easy, and they can create very complicated solutions in any public and open programming language. However, those programming tools do not remove the limits of the programming language itself. 

In complex and complicated solutions the program is divided into cells. Each of those cells involves different types of information. And each of those cells is responsible for certain reactions. Another reason for cell-based programming is simple. If one of those cells is corrupt that minimizes damage. 

The problem with AI is how it can select the right cell. If AI selects a cell from an interface that controls the physical machines that thing can cause catastrophe if the selected cell is wrong. That means there must be something. That simulates the reaction before the AI makes anything. This means the AI should have layers written with different programming languages. That it can pre-process information before reactions. 



"Researchers from the University of Massachusetts Amherst introduced Scalene, a cutting-edge Python profiler. Unlike traditional profilers, Scalene uses AI to both identify and suggest fixes for code inefficiencies. This development gains significance as the future leans towards better programming for speed improvements". (ScitechDaily.com/Turbocharged Python: AI Accelerates Computing Speed by Thousands of Times)


All of those cells handle one type of situation. And if the system must react fast, that means it needs multi-level programming architecture. The AI-based applications involve extremely complicated and large code structures with even millions or billions of databases and database connections. 

If the AI must go through all that code it takes too long. But if the AI has some kind of profiler that profiles the situations that the AI sees. That helps it to select the right cells from its structure. The faster structure below the Python level makes it possible to pre-select cells. The difference between AI solutions and regular computer programs is that AI is a non-linear tool. It requires the possibility to jump back and forth in the code. 

The faster C++ core under Python makes profiles about situations. That sensor gives it. Then that C++ layer selects the right Python cell. The C++ layer simulates the sensorimotor cortex. And Python layer is like the cerebral cortex. 

So there is a possibility that Python requires some other interface that runs below Python code. That other interface might written by using some other programming language like C++. That is faster than Python. The idea is that the inner code analyzes reactions that the Python interface makes in certain situations. The C++ interface under Python can jump into Python code and pre-select the program modules suitable for a certain situation. 

That kind of faster structure below the Python interface makes the structure look like a brain. The Python structure is like a cerebral cortex, and the C++ layer is like sub-consciousness. The faster C++ can also act as a reflex layer that reacts to fast situations. The Python layer can give observations into that C++ layer, that profiles the situation. And then that faster layer will select the right cell from the Python layer. 

Comments

Popular posts from this blog

The LK-99 could be a fundamental advance even if it cannot reach superconductivity in 400K.

The next step in superconducting research is that LK-99 was not superconducting at room temperature. Or was it? The thing is that there is needed more research about that material. And even if it couldn't reach superconductivity in 400K that doesn't mean that material is not fundamental. And if LK-99 can maintain its superconductivity in 400K that means a fundamental breakthrough in superconducting technology.  The LK-99 can be hype or it can be the real thing. The thing is, anyway, that high-voltage cables and our electric networks are not turning superconducting before next summer. But if we can change the electric network to superconducting by using some reasonable material. That thing can be the next step in the environment. Superconductors decrease the need to produce electricity. But today cooling systems that need lots of energy are the thing that turn superconductors that need low temperatures non-practical for everyday use.  When the project begins there is lots of ent

Black holes, the speed of light, and gravitational background are things that are connecting the universe.

 Black holes, the speed of light, and gravitational background are things that are connecting the universe.  Black holes and gravitational waves: is black hole's singularity at so high energy level that energy travels in one direction in the form of a gravitational wave.  We normally say that black holes do not send radiation. And we are wrong. Black holes send gravitational waves. Gravitational waves are wave movement or radiation. And that means the black holes are bright gravitational objects.  If we can use water to illustrate the gravitational interaction we can say that gravitational waves push the surface tension out from the gravitational center. Then the other quantum fields push particles or objects into a black hole. The gravitational waves push energy out from the objects. And then the energy or quantum fields behind that object push them into the gravitational center.  The elementary particles are quantum fields or whisk-looking structures. If the gravitational wave is

The CEO of Open AI, Sam Altman said that AI development requires a similar organization as IAEA.

We know that there are many risks in AI development. And there must be something that puts people realize that these kinds of things are not jokes. The problem is how to take control of the AI development. If we think about international contracts regarding AI development. We must realize that there is a possibility that the contract that should limit AI development turns into another version of the Nuclear Non-Proliferation Treaty. That treaty didn't ever deny the escalation of nuclear weapons. And there is a big possibility that the AI-limitation contracts follow the route of the Nuclear Non-Proliferation Treaty.  The biggest problem with AI development is the new platforms that can run every complicated and effective code. That means the quantum computer-based neural networks can turn themselves more intelligent than humans. The AI has the ultimate ability to learn new things. And if it runs on the quantum-hybrid system that switches its state between binary and quantum states,