Pelles C forum

Pelles C forum => General discussion => Topic started by: Grincheux on May 01, 2021, 12:39:24 PM

Title: Not enougth people for exchange
Post by: Grincheux on May 01, 2021, 12:39:24 PM
I think that the administrators would have to make something for many people post.
In this forum there are no members but GHOSTS.
Only 5/6 people make posts, that's poor!
It's time to make something, the forum will die...
Title: Re: Not enougth people for exchange
Post by: MrBcx on May 01, 2021, 03:38:55 PM
Quality is more important than quantity.

Every forum has a regular number of lurkers ( ghosts, as you call them ).  That's the nature of things.
Only a few people (create) TV shows while most people just want to sit back and (watch) TV shows.

The trick to getting more (participation) on a programming forum is to find topics and projects that
are interesting to many people.  That's a hard thing to do but it's not impossible.  You could begin by
starting a thread that asks forum users what kind of open source app that they would like to see developed
using Pelles C. 

Depending on the response that you get, next step is to set out a roadmap and a few basic rules for people
who want to participate in the project.  Keep things loose, fun, and interesting otherwise the project will
almost certainly fail.

That's my 2¢
Title: Re: Not enougth people for exchange
Post by: Grincheux on May 01, 2021, 03:59:05 PM
Why do you don't do what you say?
Title: Re: Not enougth people for exchange
Post by: MrBcx on May 01, 2021, 04:18:25 PM
Why do you don't do what you say?

Maintaining this website: https://bcxbasiccoders.com , administering the BCX forum, and
being a Moderator on Pelles' forum ( mostly blocking spammers ) keeps me pretty busy.
Title: Re: Not enougth people for exchange
Post by: Grincheux on May 01, 2021, 04:21:44 PM
OK.
I have looked at your site. Could tell me more about it?


I stay on this forum for some persons : Mr Pelle, Frankie, TimoVJL, JohnZ and Vortex.
If they  were not here I would go to another forum.
Title: Re: Not enougth people for exchange
Post by: MrBcx on May 01, 2021, 04:51:59 PM
OK.
I have looked at your site. Could tell me more about it?


https://en.wikipedia.org/wiki/BCX
Title: Re: Not enougth people for exchange
Post by: Pelle on May 01, 2021, 07:37:16 PM
This is what I have to say (more or less):

If people are still around, and have something to say, they will post - no matter what any "administration" (or lack there of) do or don't.

I think the general "problem" is that most C code has already been written. The professionals, even for hobby projects, are using newer/shinier languages, and many hobbyists are using other languages because they are "easier" (and fast enough on newer hardware).

It seems that many C compilers today are used for either 1) compiling some already written open source "library" or 2) as the code generator for higher level language compilers/translators, that produce C code, and need a way to turn this into machine code. There are of course always other uses, but probably less so than in the past. Assembly programming has unfortunately never been a big topic in this forum.

I think some of this can be seen with the upcoming new C standard (C2X, expected in 2023), where not everything can be blamed on the pandemic. Apparently there is now a shortage of "C experts" on the committee, so too many (in my opinion) suggestions are coming from C++ wannabees: either to make C look more like C++, or to introduce some other personal pet project feature. This makes me sad, but this is probably the reality.

For now I'm concentrating on the next version of Pelles C, and then we'll see what happens. I can't do everything myself, so if there is little action in this forum perhaps this is an indication that all is said and done. I dunno...
Title: Re: Not enougth people for exchange
Post by: MrBcx on May 01, 2021, 08:21:04 PM
The tiobe index consistently shows that "C" has lots of life left in it and
that it will likely remain in the top percentile for a long time to come.

https://www.tiobe.com/tiobe-index/

When I first dabbled in "C" 20+ years ago, LccWin32, and soon after, Pelles C
were my incubators.  Later still, I would dabble with Borland, Mingw, MSVC,
and TCC.  And whereas each had strengths and weaknesses, working with the
Pelles IDE and toolset always felt most comfortable to me.  Small is beautiful.

Title: Re: Not enougth people for exchange
Post by: frankie on May 01, 2021, 11:04:06 PM
I agree with Pelle, but I would like to add some more considerations.
Most of 'C' code has been written, mainly libraries, and for each of them has been written wrappers to use their functionalities in almost all languages. This is a point for the superior 'portability' of pure 'C' code. For this reason the use of the language may resist on (?). As a drawback the 'C' language isn't very friendly, and to use it correctly at the top of its capabilities requires some knowledge that isn't basic.
In the same time the producers of OS's, MS & friends, to make available the every day increasing functions and features push on more advanced languages, privileging OOP. To work with objects is in some way easier, you have the object and methods to use it. The programmer can program with limited knowledge, the programming errors are reported and, sometimes transparently corrected, by the object class code. You can see that even on toys, i.e. see Arduino, using C++ they allows absolute beginners to program even bare metal.
The spreading of OOP is, anyway, also due to compiler technologies that elaborates more in deep analysis emitting effective static code where in older compilers were used runtime libraries to dynamically resolve part of the job. These capabilities together with nowadays powerful hardware makes the job.
But for now 'C' will resist, at least until new hardware with instruction set optimized for OOP will come...

I think some of this can be seen with the upcoming new C standard (C2X, expected in 2023), where not everything can be blamed on the pandemic. Apparently there is now a shortage of "C experts" on the committee, so too many (in my opinion) suggestions are coming from C++ wannabees: either to make C look more like C++, or to introduce some other personal pet project feature. This makes me sad, but this is probably the reality.
Me too think it is so...  :'(

Keep on and look forward for next version of PellesC  8)
Title: Re: Not enougth people for exchange
Post by: bitcoin on May 02, 2021, 12:32:24 PM
And what is the alternative to C? None, maybe C ++. Many people write that Rust will kill C, but I doubt it.

And the forum is very good, I asked a question - everyone answered on the case.
Title: Re: Not enough people for exchange
Post by: John Z on May 02, 2021, 12:45:32 PM
My 2 cents -

I don't agree that most "C" code has been written, sure there is a huge, huge, volume out there but there is still opportunity to be as creative as one would/could be with any newer language. 

I do agree that one of the issues with "C" is it's longevity. The longevity of "C" results in 1) a plethora of "C" development packages, 2) a highly capable base of C users, 3) a large store of "C" code for almost anything, but not quite everything :). 4) ageism, the perception that "C" is so last century, not quite COBOL old but not far behind.  Yes, I've used COBOL.....heard it is making a comeback  ;)

The result is that less people doing "C" (development, programing, coding - what is politically correct term?) need to seek out help or input on "C". The majority have already picked their favorite development package, more questions arise from doing "Windows" than doing "C".  So forums get less traffic for "C" questions/help etc. However as seen from the above post we can still be of help to some.

IMO "C" gives the user a strong useful minimal set of core functions (actually abstractions) that provide a base for writing applications.  Who wants to write code for fprintf for every "C" program they write?  Even MASM32 provides these abstractions along with many for doing "Windows" programing (they also use some Pelles binaries).

So programing is moving more and more towards higher and higher level of abstractions.  The education system pushes towards these higher level abstractions which new programing languages promote.  Of course there are important improvements in some fundamental areas such as memory management, safe code practices, but generally newer languages are promoted and being taught as being more efficient by using predefined higher level abstractions. How many times have you seen "create a web brower in two lines of code, no wait, use this one it only takes one line of code"?  Of course you are then stuck with the web abstraction concept of that developer...

What can be done is to promote Pelles C in our projects to increase visibility.  Reference PellesC web site in the sofware documentation and credit PellesC use.  I hope Pelles C continues to grow and advances, I'll continue to use it regardless.  When you just tell your AI here is my program concept, write it, then we will be an abstraction too.

John Z
Title: Re: Not enougth people for exchange
Post by: Pelle on May 02, 2021, 01:04:03 PM
I think there is enough momentum/money/consultants/whatever behind C++ to make it popular for new projects in a shorter time span (could still be 20 years or more). Especially on Windows, but probably in general, C peaked a long time ago. Can't deny that.

One thing in favor of C right now is that you can be almost certain there is a C compiler "everywhere" (on any platform). This may not always be true for a bigger and more complex language like C++, but I think this is gradually changing.

So much code has been written in C that it will survive for a long time, could perhaps even outlive C++ some day, but predicting the future is hard impossible.
Title: Re: Not enougth people for exchange
Post by: Grincheux on May 02, 2021, 01:04:28 PM
Like many programmers I used APL, COBOL (DPS6/7, IBM 3090, AS400), FORTRAN (VAX,PDP), ASM (VAX, PDP, PC, ATARI), C (VAX, PDP, PC, ATARI) and they all continue to exist. Tell the scientist that FORTAN must be replaced with C++... You must run very quick.


Even if C is dead, that's to the admins, to the users to make live the language.
I am thinking as something like "ASTERIS & OBELIX" (https://en.wikipedia.org/wiki/Asterix (https://en.wikipedia.org/wiki/Asterix)).


You who are coming here give us your advices, learn us new technics, new algos...
Title: Re: Not enough people for exchange
Post by: MrBcx on May 03, 2021, 12:44:14 AM

I don't agree that most "C" code has been written,
..... there is still opportunity to be as creative as one would/could be with any newer language. 

What can be done is to promote Pelles C in our projects to increase visibility.  Reference PellesC web site in the sofware documentation and credit PellesC use.  I hope Pelles C continues to grow and advances, I'll continue to use it regardless.  When you just tell your AI here is my program concept, write it, then we will be an abstraction too.

John Z

I strongly agree with those points.  The fact is, some people are creative and some are not. 
And some will always seek the tools that helps them to best express their creativity. 

I am an amateur guitar player with a fair number of instruments in my collection.  My favorite
instruments ( to play ) are 50+ years old, and bear the battle scars of time.  Yet the tone that
comes out of those instruments, whose wood is even older, cannot be matched with the sexy
looking, shiny new guitars.  Newer is not always better.  Small is beautiful.  Keep it simple!
Title: Re: Not enougth people for exchange
Post by: Bitbeisser on May 12, 2021, 10:40:56 PM
Tell the scientist that FORTAN must be replaced with C++... You must run very quick.
Around here, a lot of code that would typically written in Fortran (nobody writes FORTRAN these days anymore  ;) ), in scientific or engineering scenarios, is now written in Julia instead.

Ralf
Title: Re: Not enougth people for exchange
Post by: 1e9t8m29 on April 27, 2022, 07:39:51 PM
I agreed with the OP. There is no one there. People occasionally visit and sometimes post something but generally speaking there is no longer any new activities.
Title: Re: Not enougth people for exchange
Post by: Bitbeisser on October 06, 2022, 11:34:29 PM
Well, out of my perspective, of someone who is just visiting a couple of times a year, I just use Pelle's C for a lot of little "odds and ends", not for any major (Windows) GUI projects.

I have a handful of slightly larger, Open Source projects I am working on, on and off, which I would announce in here, just because...  ;)

One is a 32bit/64bit Windows version of the (very) old LIB archiving tool, back from the CP/M days. I find myself every now and then searching through some old retro archives and there simply is no tool on a current Windows that can read/extract those files. Similar with old .ARC archives, a lot of current archivers seemed to have dropped those as well.

And another project I have on the very slow burner is a new version/fork of OpenComal, a programming language that was kind of popular in the early '80s for a while, for various computer systems. While my main focus here is a 16bit version to run on FreeDOS, I am also thinking of making a version for current Windows.

And then I might consider making a Windows version of a BASIC interpreter I have been working on for quite a while, but that is kind of paused until I find more consecutive time to work on it again, which is a binary compatible clone of GW-BASIC, but that old MBF float format is a bitch for me to work on... :(

By and large, the truth is simply that C isn't very popular in the first place any more, unless it is for some low level stuff, for which Pelle's C just doesn't lend itself very easily.
Another missed opportunity (for creating a lot of work :) ) would be to if Pelle could decide to take the ARM version of the compiler, which existed for Windows CE in the past and create at least a command line compiler for the Raspberry Pi series of computers. Using GCC is really a b!t*h a lot of times...

Ralf
 
Title: Re: Not enougth people for exchange
Post by: MrBcx on October 07, 2022, 05:47:04 AM
 
By and large, the truth is simply that C isn't very popular in the first place any more ...


Please share your sources that validate that purported "truth".

This company has consistently ranked "C" in the top 2 for the past two decades.

https://www.tiobe.com/tiobe-index/

Title: Re: Not enougth people for exchange
Post by: CandCPlusPlus on October 07, 2022, 06:18:46 AM
I am a little confused by the earlier post. C is still one of the most used programming languages out there. There are good number of active win32 windows GUI apps written in C all over github for example and I've seen some on sourceforge as well. Both C and C++ are still quite popular and C definitely occupies a certain niche.

I do see people discuss that one programming language or another is going extinct when it's actually rare for a programming language to disappear once it enters mainstream usage and that's partially due to all the code previously written in a particular language. C has been mainstream since the 1970s and C++ since the 1980s. For example, I do still see apps written in Visual Basic 6 and that's despite the fact Microsoft ended support for it in 2008. COBOL is apparently quite commonplace in businesses as well.

I can also see new uses for C in the years and decades to come. CPU manufacturers are hitting the limits of physics with CPU performance. You may start to see yet more programmers using C and C++ in the years ahead while trying to eke out more performance from their software with relatively static CPU performance.
Title: Re: Not enough people for exchange
Post by: John Z on October 07, 2022, 11:56:32 AM
By and large, the truth is simply that C isn't very popular in the first place any more ...

LIke MrBcx your source would be nice to see.  Perhaps it is the use of the word 'popular' instead of something more objective?

Here is a Link to an IEEE 2022 article   "Top Programming languages 2022"  -

https://spectrum.ieee.org/top-programming-languages-2022

Quote from: IEEE Article by Stephen Cass
"Python remains on top but is closely followed by C. Indeed, the combined popularity of C and the big C-like languages—C++ and C#—would outrank Python by some margin.
The IEEE has done this mulitmetric survey for a number of years.

John Z

Full disclosure: Yes I am a member of the IEEE

Update - I'm also a member of SourceForge and have a number of projects there all using Pelles C.  Attached below is a snapshot of the SourceForge programming languages used for Windows projects on SourceForge.  C and its two children easily take the top spot for Windows.  It is also the top for Linux programming.
Title: Re: Not enougth people for exchange
Post by: rapte on July 07, 2023, 08:55:28 AM
Don't know if I should be posting this here.

But here is a YouTube link for https://youtu.be/lLv1s7rKeCM (https://youtu.be/lLv1s7rKeCM) Programming in Modern C with a sneak peak into C23.

Pelles C is modern and light weight and we love using it!  :)
Title: Re: Not enougth people for exchange
Post by: frankie on July 07, 2023, 10:26:11 AM
Don't know if I should be posting this here.

But here is a YouTube link for https://youtu.be/lLv1s7rKeCM (https://youtu.be/lLv1s7rKeCM) Programming in Modern C with a sneak peak into C23.

Pelles C is modern and light weight and we love using it!  :)
Interesting!  :)
C23, as also Pelle said, will be a mutant C++, regressive to C. A bloated language with even more obfuscation than actual standards allows.
I attached the sample proposed in the youtube link twicked to be compiled with PellesC /std=C2X switch.

EDIT: Removed the stdbool.h not required by C2X.
Title: Re: Not enougth people for exchange
Post by: Robert on July 09, 2023, 02:17:28 AM
C23 implications for C libraries

Jens Gustedt

2023-06-24

https://gustedt.gitlabpages.inria.fr/c23-library/ (https://gustedt.gitlabpages.inria.fr/c23-library/)