Useful Tips

Choosing a programming environment


So the ubiquitous fight against computer piracy has come down to our country, punishing everyone indiscriminately. Of course, this does not mean that you urgently need to wipe all pirated software from your home archives (fortunately, law enforcement agencies still do not arrange apartment detours to identify unlicensed software). But lone programmers who publish their programs to the public need to seriously worry about their programs being made in compliance with the law.

For the average, small-scale, read - home, programmer, it is not possible to purchase such software construction monsters as personal use Visual c ++, Borland delphi. And in order to create a really beautiful design of the program interface (icons, pictures, sounds and animation), you still need a lot of money for Photoshop, Corel.

The average income of an honest person in our country is very small, and among students it is even less. And the software is very expensive. What to do, you ask? Only one way out - you need to use free development tools, free file formats. Fortunately, this good is not only under Linux, but also under Windows.

Based on the foregoing, we formulate the problem: write an application for the Windows operating system with the following qualities - reliability, speed of operation, relatively small size of the distribution package, work without third-party libraries, it is necessary to have a beautiful and convenient graphical interface, without breaking the law and without spending not a penny.

If to throw out compilers / interpreters like Java, Php, Perl, and Visual basic (which has relatively low popularity in our country) and other one-pointed and narrowly targeted programming heresies, we have at our disposal the following FREE universal development tools for computer programs for the Windows operating system:

  1. Visual C ++ Express Edition,
  2. C ++ Builder Turbo Edition,
  3. Pelles C ++ for Windows
  4. Linux ports such as GCC, LCC and other SSs,
  5. Borland Delphi Turbo Edition,
  6. Compiler Wanderer "Modula C Pascal" (supports three languages ​​C, Pascal, Modula at once). By the way, it was developed by our compatriot.

We will analyze the disadvantages and advantages of each of the development tools presented, and also determine how suitable they are for solving our task.

About a year ago, something happened at Melcosoft. Great giants of thought and lovers of squeezing a long dollar out of the pocket of gullible users decided to go for mercy and gave us a free version of their famous “visual studio”, although a little cropped, but still working and impressive, and bearing the name Visual C ++ Express Edition. We will briefly see how this gesture / tin (underline) of goodwill will help a simple Russian coder. This compiler is free for both home and family, as well as for more global distribution. Hym ... But how many of you will be limited to creating console programs under Windows 98? The thing is that Melkosoftovtsy, you see,
due to a misunderstanding, or maybe by malicious intent, they threw all header files related to visual programming from the express distribution kit. But they presented us with their new CLR visual programming library, which in its basic concepts is suspiciously similar to the Delphi VCL. But the whole trouble is that the CLR requires .NET for its work, the distribution of which weighs 300 meters. Agree that carrying 300 meters in order for a program weighing 10 meters to work is too much respect for Melkosoft.
Total: C grade - only for a bold step.

Consider another heavyweight software front. Imagine that C ++ programming has been simplified by the nth number of times. Speak can not? Maybe :). In confirmation of this, we turn our attention to C ++ Builder Turbo Edition. And as for this compiler, the public opinion radically diverges. On the one hand, the key development language is C / C ++ (which cannot but please the adherents of this language) and the visual convenience is at the highest level, and on the other, there is reason to unleash HolyWar 🙂 - the builder is written in Delphi, and on the other - you can quickly rivet the cool interface of the program, and brag to your comrades what type is written in C :).
In principle, it will do, but the fact that the insides are written in Delphi still haunts me 🙂

Pelles C ++ for Windows Is a good free development tool. We can say that this is “free Visual C” because all the settings and interface are almost the same. Can compile Native. There is a built-in editor and resource compiler. Only there’s no sense in it, there’s no more visibility than in Visual C ++ Express Edition, and writing a complicated program under such conditions is possible even before retirement.
Total: Life is short, you need to write quickly and efficiently - I'm afraid we will not be in time.

Consider the gifts of guests from the "other universe." Linux ports such as GCC, LCC and other SSs - zero visibility, the convenience is the same as the previous compiler, in addition, LCC turned out to be a little inoperative, and to download GCC from the site and make it work, you need to be an academician. 🙂
Total: Do not take.

Borland delphi turbo edition - free, there is a resource editor, allows you to write programs for Windows 32 that do not require any additional libraries. But there are some drawbacks - there is no command line compiler (in principle, there is not a big loss), over time it clogs the memory and, most unpleasantly, the Turbo environment requires dotNET to work. 🙁
Total: Fit

Compiler The wanderer "Modula-C-Pascal" is a domestic development, a promising compiler, but the disadvantages are the same as those of Pelles C ++ for Windows - extremely low visibility.
Total: Patriotic, but not cost-effective. Do not take.

Graphics and sound are illegal - unfortunately or fortunately, DOS times are over, the era of programs with visual and colorful interface has come. Pictures, icons, animation and other tinsel, which is very convenient to hide the general wretchedness of the program. 🙂 Even in the days of DOS, primitive, by today's standards, graphics were made in special programs - ASCII editors. Ideal for creating beautiful icons, pictures Adobe Photoshop, but he can’t afford an honest software front worker. We will look for an alternative. And we will find it in the camp of ported graphic editors from Linux, namely Gimp. Simple, a little uncomfortable after a pirated Photoshop, but you can get used to it. But as
same sound, you ask? The modern user is not spoiled today - tomorrow he wants the program to respond with every voice. How to do it? Wavelab, Soundforge and Adobe audition require a fee for their capabilities. Fortunately, there is a sound editor Audacitywritten by graduate student Dominic Matsoni of Carnegie Mallon University.

Format is not a format or how not to make a mistake in choosing file formats - for successful and safe, from the point of view of law, programming, it is not enough to choose a free compiler and a free multimedia editor. Imagine this situation. You make a program, which, analyzing the system time, speaks in a pleasant female voice how much has come. It is clear that to improve the quality of the voice, you will need to ask your mother, girlfriend, wife, mother-in-law, finally, to say (in the case of mother-in-law to hiss 🙂) all these numbers on the microphone. Recording, of course, you will do using Audacity. And now the question: “In what format do you save these sound files?”. In wav? Then you simply increase the distribution of your
programs. In mp3? But it is patented, that is, you must pay for its use. There is a way out - save it in the ogg format, download the header files for its use - and you will be happy.

Want to make an animation? Have you decided to use Gif? Begin to dry the crackers. He also has a patent. Your choice is Png.

Conclusion. In our difficult time, it is still possible and necessary to work honestly.


PascalABC.NET is a simple free development environment for Pascal. It is it that is most often used in schools and universities for training. This program in Russian will allow you to create projects of any complexity. The code editor will prompt and help you, and the compiler will point out errors. It has a high speed of program execution.

The advantage of using Pascal is that it is an object-oriented programming. OOP is much more convenient than procedural programming, although more voluminous.

Unfortunately, PascalABC.NET is a little demanding on computer resources and can hang on older machines.

Free pascal

Free Pascal is a cross-platform compiler, not a programming environment. With it, you can check the program for correct spelling, as well as run it. But you cannot compile it in .exe. Free Pascal has a high speed of execution, as well as a simple and intuitive interface.

Just like in many similar programs, the code editor in Free Pascal can help the programmer by completing command writing for him.

Its minus is that the compiler can only determine whether there are errors or not. It does not highlight the line in which the error was made, so the user has to look for it himself.

Turbo pascal

Almost the first tool for creating programs on a computer is Turbo Pascal. This programming environment was created for the DOS operating system, and to run it on Windows you need to install additional software. It supports the Russian language, has a high speed of execution and compilation.

Turbo Pascal has such an interesting feature as tracing. In trace mode, you can monitor the operation of the program step by step and monitor the data changes. This will help to detect errors, the most difficult to find - logical errors.

Although Turbo Pascal is simple and reliable to use, it is still slightly outdated: created in 1996, Turbo Pascal is relevant for only one OS - DOS.

This is a visual programming environment in Pascal. Its convenient, intuitive interface allows you to easily create programs with minimal language knowledge. Lazarus is almost completely compatible with the Delphi programming language.

Unlike the Algorithm and HiAsm, Lazarus nevertheless assumes knowledge of the language, in our case - Pascal. Here you not only assemble the program with the mouse in pieces, but also prescribe the code for each element. This allows you to better understand the processes taking place in the program.

Lazarus allows you to use a graphics module with which you can work with images, as well as create games.

Unfortunately, if you have questions, you will have to search for answers on the Internet, since Lazarus does not have documentation.

HiAsm is a free constructor that is available in Russian. You do not need to know the language for creating programs - here you are just piece by piece, as a constructor, assemble it. Many components are available here, but you can expand their range by installing add-ons.

Unlike the Algorithm, it is a graphical programming environment. Everything that you create will be displayed on the screen in the form of a picture and diagram, not a code. This is quite convenient, although some people like the text recording more.

HiAsm is quite powerful and it has a high program execution speed. This is especially important when creating games when using a graphics module, which significantly slows down the work. But for HiAsm, this is not a problem.

An algorithm is an environment for creating programs in Russian, one of the few. Its feature is that it uses textual visual programming. This means that you can create a program without knowing the language. An algorithm is a constructor that has a large set of components. You can find information about each component in the program documentation.

The Algorithm also allows you to work with the graphics module, but applications using graphics will run for quite some time.

In the free version, you can compile a project from .alg to .exe only on the developer's site and only 3 times a day. This is one of the main disadvantages. You can purchase a licensed version and compile projects directly in the program.

IntelliJ IDEA

IntelliJ IDEA is one of the most popular cross-platform IDEs. This environment has a free, slightly limited version and a paid one. For most programmers, the free version is enough. It has a powerful code editor that will correct errors and complete the code for you. If you make a mistake, the environment informs you of this and offers possible solutions. This is an intelligent development environment that predicts your actions.

Another convenient feature in InteliiJ IDEA is automatic memory management. The so-called "garbage collector" constantly monitors the memory that is allocated for the program, and, in the case when the memory is no longer needed, the collector frees it.

But everything has cons. A slightly confusing interface is one of the problems that novice programmers face. It is also obvious that such a powerful environment has fairly high system requirements for correct operation.

Most often, Eclipse is used to work with the Java programming language, but it also supports working with other languages. This is one of IntelliJ IDEA's main competitors. The difference between Eclipse and similar programs is that you can install various add-ons to it and it can be completely customized for you.

Eclipse also has a high compilation and execution speed. You can run each program created in this environment on any operating system, since Java is a cross-platform language.

The difference between Eclipse and IntelliJ IDEA is its interface. In Eclipse, it is much simpler and more understandable, which makes it more convenient for beginners.

But also, like all IDEs for Java, Eclipse still has its own system requirements, so it will not work on every computer. Although these requirements are not so high.

It is impossible to say with certainty which program for creating programs is the best. You must select a language and then try each environment for it. After all, every>

Thank the author, share the article on social networks.