NO

Author Topic: Why does Pelles IDE have such a low profile on the web? /Introducing myself  (Read 12703 times)

Offline Tom

  • Member
  • *
  • Posts: 2
Indeed...
I became acquainted with Pelles work by simply googling "C ide for windows".
Visual studio is kinda nice for C++ and such work in windows side, but its C-support has always been something of a bastard child.

Pelles C seems to be filling a lovely niche for me, when it comes to using pure C ( unlike the god-knows what subset enforced by visual studio ) in conjunction with learning more about x86/64 assembly.

It's light-weight, a bit quirky, but simple, non-bloated, rather simple to use and free.
What's there not to like?

I think the current situation is a matter of timing, kinda....
These days, most programmers start and end at highest level languages, never bothering to stop at C, let alone assembly, especially in windows side.

The niche is always alive and well, but in the grand scheme of things, IDE like this has a hard time attracting mainstream appeal.
I think the whole compiler/ide/assembler package is amazing for what it is, but try explaining it to a "modern" programmer.  :-\

Overall, a lovely IDE for windows side.
It's currently my primary lower-than-c++ developing environment.

Offline Arturo Mascorro García

  • Member
  • *
  • Posts: 1
Re: Why does Pelles IDE have such a low profile on the web? /Introducing myself
« Reply #16 on: December 24, 2021, 07:59:11 am »
I found the next reference to Pelles C compiler in Book:

Beginning C, From Beginner to Pro 6th ed, Apress 2020
ISBN 978-1-4842-5975-7e-ISBN 978-1-4842-5976-4
https://doi.org/10.1007/978-1-4842-5976-4
© German Gonzalez-Morris and Ivor Horton 2020

What You Need to Use This Book
"To use this book, you’ll need a computer with a C compiler and library installed, so you can execute the examples, and a program text editor for preparing your source code files. The compiler you use should provide good support for the current international standard for the C language, C17 (ISO/IEC 9899:2018), which is a bug fix version for C11, commonly referred to as C17 or C18. You’ll also need an editor for creating and modifying your code. You can use any plain text editor such as Notepad or vi to create your source program files. However, you’ll get along better if your editor is designed for editing C code.

I can suggest two sources for a suitable C compiler, both of which are freeware:
The GNU C compiler, GCC, is available from www.gnu.org and supports a variety of operating system environments.

The Pelles C compiler for Microsoft Windows is downloadable from www.smorgasbordet.com/pellesc/ and includes an excellent integrated development environment (IDE)."

...Long life to Pelles C!

Merry christmas



Offline 1e9t8m29

  • Member
  • *
  • Posts: 6
Today it's mostly about GNU and LLVM, not only Pelles C but other compilers of the past, DMC, Watcom,... all faded into oblivion. Pelles C is better as it could keep up with the latest standards. DMC, Watcom,... are way too outdated.

The problems with Pelles C is most libraries out there doesn't support it (there is no ifdef for Pelles C at all!). Pelles C also too different to GNU and LLVM and even different from MSVC. Believe me or not, I downloaded the code for MSVC and I expected it should work with Pelles C then it turns out it doesn't work. LLVM success because it was developed a way it could serve as the drop-in replacement for GCC. Clang and GCC are mostly compatible. Only after Clang gains enough support to stand against GCC it started to introduce incompatible to GCC changes (it own extensions, different designs,...).

To my observation, the header name on Pelles C is sometimes different than GCC (OpenGL header come to mind), the way Pelles C define Win32 also different. The __WIN32__ macro of MinGW GCC is not defined on Pelles C. Either does __WIN64__ (on Pelles C it's _WIN64 isn't it?). This alone drags in so many problems.

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1917
The problems with Pelles C is most libraries out there doesn't support it (there is no ifdef for Pelles C at all!). Pelles C also too different to GNU and LLVM and even different from MSVC. Believe me or not, I downloaded the code for MSVC and I expected it should work with Pelles C then it turns out it doesn't work. LLVM success because it was developed a way it could serve as the drop-in replacement for GCC. Clang and GCC are mostly compatible. Only after Clang gains enough support to stand against GCC it started to introduce incompatible to GCC changes (it own extensions, different designs,...).

To my observation, the header name on Pelles C is sometimes different than GCC (OpenGL header come to mind), the way Pelles C define Win32 also different. The __WIN32__ macro of MinGW GCC is not defined on Pelles C. Either does __WIN64__ (on Pelles C it's _WIN64 isn't it?). This alone drags in so many problems.
Yes you're right, but the point is that MSVC and GCC have defined their standards (both are famous to be not fully compliant to C standards), while PellesC has as main goal the strict adherence to the C standards.
MSVC programs are absolutely deviated from standards so it is normal that you need to adapt them.
I can't say if this is good as "commercial" strategy (withstanding that PellesC is completely free for personal or commercial use), but to use it you have to code in compliant C even when MS extensions are on...

Offline John Z

  • Member
  • *
  • Posts: 433
The problems with Pelles C is most libraries out there doesn't support it (there is no ifdef for Pelles C at all!).
I think you put the finger on the problem right here.  But think of it in reverse.  If all compilers were compliant to the standard you would not need any ifdef for a compiler name, they all would work. 

C was imagined to be a true write once programming language.  It fails at that because of deviations from the standard in the implementations thus requiring all these exceptions partially identified by ifdef statements.  Same thing that happened in the browser wars. look how many years web developers had to battle/accomodate Micro$soft internet explorer deviations....

IMO Pelle has taken the right path and with the right goal; strict adherence to the C standards. 
 
 
John Z