C++ 26 will be a game changer !

For everything that's not in any way related to PureBasic. General chat etc...
threedslider
Enthusiast
Enthusiast
Posts: 425
Joined: Sat Feb 12, 2022 7:15 pm

C++ 26 will be a game changer !

Post by threedslider »

Source here for those who like C++ ^^ : https://www.modernescpp.com/index.php/c ... -standard/

If ever the Purebasic supports to C++ as backend it will be awesome, really !

But of course it is an another history :mrgreen:
Fred
Administrator
Administrator
Posts: 18312
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: C++ 26 will be a game changer !

Post by Fred »

Could you explain why it would be so good for PureBasic ?
threedslider
Enthusiast
Enthusiast
Posts: 425
Joined: Sat Feb 12, 2022 7:15 pm

Re: C++ 26 will be a game changer !

Post by threedslider »

Because of OOP in C++ provides a clear and structured way to design software. It is essential for managing complexity in large systems and offers benefits like modularity, reusability, and maintainability, which help developers create better code faster.

The force of OOP is reusability and modularity which it doesn't broke the code, it lets to Purebasic to create at large scale in programming and with an interchangeable it makes more powerful than you may think.

Of course it may be complex at first but then that it makes more easily to do in complexity to later. And It opens more to programs as unsuspected to use libs in C++ for Purebasic, I am sure ! :shock: :mrgreen:

But of course it is my opinion and I share you my thought with a proposal very open :wink:
User avatar
Piero
Addict
Addict
Posts: 1003
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: C++ 26 will be a game changer !

Post by Piero »

Would that allow EASY management of events and inter-applications communication?

You can use javascript for that (I'm being VERY sarcastic here…)

How I miss good old OOP… (I'm not talking about PB)………
threedslider
Enthusiast
Enthusiast
Posts: 425
Joined: Sat Feb 12, 2022 7:15 pm

Re: C++ 26 will be a game changer !

Post by threedslider »

@Piero : Easy management ? Well the C++ supports the procedural programming as well too, it is a multi paradigm programming. C++ is little a bit complex to PB, that is for sure but when you want to create at large scale, the C++ is king. It opens by exchange in backend more powerful and it makes more secure and robust.

In other hand I don't follow you for Javascript, it is an interpreter for web ...

Sorry I am not angaist to procedural programming :| , I mean making to support for C++ is more choice, more open, more powerful programming so PB + C++ is something great for coders, that is for sure ! Because of PB is so easy but with C++ more easy to create more great programs too !

C++ is an another of philosophy to code by object, it is another to conceive it in mind... Hope for your understanding :oops:
User avatar
NicTheQuick
Addict
Addict
Posts: 1526
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: C++ 26 will be a game changer !

Post by NicTheQuick »

We already had discussions about OOP quite a lot in this board and I think the answer will stay the same.

I think Fred wanted you to describe what the benefits of C++26 are, not OOP or C++ in general.
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
User avatar
Piero
Addict
Addict
Posts: 1003
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: C++ 26 will be a game changer !

Post by Piero »

threedslider wrote: Mon Oct 06, 2025 5:45 pmHope for your understanding :oops:
It's me the one hoping for your understanding :oops:
I like "low-level" stuff because you have "more control" (but you must be much more careful………)
What I meant was stuff like livecode or xojo (modern OOP examples you can try, but then to publish your app you must pay a monthly fee or MORE…)
In theory, if you don't need extreme speed, you just need to """code events""" on UI elements (but you can also do threads etc.)
I'm kinda angry… programming stuff didn't really evolve from that; it just became monthly paid (I'm not talking about PB…)
A free project is openxtalk (ex livecode…………………………………)

PS: AppleScript
Last edited by Piero on Mon Oct 06, 2025 6:32 pm, edited 1 time in total.
threedslider
Enthusiast
Enthusiast
Posts: 425
Joined: Sat Feb 12, 2022 7:15 pm

Re: C++ 26 will be a game changer !

Post by threedslider »

NicTheQuick wrote: Mon Oct 06, 2025 6:10 pm We already had discussions about OOP quite a lot in this board and I think the answer will stay the same.
I did not want to change to PB but just adding as extension to C++ that's all. Do you agreed of that ?
NicTheQuick wrote: Mon Oct 06, 2025 6:10 pm I think Fred wanted you to describe what the benefits of C++26 are, not OOP or C++ in general.
Sorry, do you have to read the features of C++ from the link ? It will be to benefit a great stuff for PB if it ever to support it !
threedslider
Enthusiast
Enthusiast
Posts: 425
Joined: Sat Feb 12, 2022 7:15 pm

Re: C++ 26 will be a game changer !

Post by threedslider »

Piero wrote: Mon Oct 06, 2025 6:18 pm
threedslider wrote: Mon Oct 06, 2025 5:45 pmHope for your understanding :oops:
It's me the one hoping for your understanding :oops:
I like "low-level" stuff because you have "more control" (but you must be much more careful………)
What I meant was stuff like livecode or xojo (modern OOP examples you can try, but then to publish your app you must pay a monthly fee or MORE…)
In theory, if you don't need extreme speed, you just need to """code events""" on UI elements (but you can also do threads etc.)
I'm kinda angry… programming stuff didn't really evolve from that; it just became monthly paid (I'm not talking about PB…)
A free project is openxtalk (ex livecode…………………………………)
Yes, I do ! :oops: But not yet to try for Xojo, Thanks again your sharing info !
User avatar
Piero
Addict
Addict
Posts: 1003
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: C++ 26 will be a game changer !

Post by Piero »

threedslider wrote: Mon Oct 06, 2025 6:30 pmyet to try
If you never did, you must try: imagine coding by double-clicking buttons or windows and writing stuff into their EVENTS (like right-click) :!:

PS again: AppleScript (it's not "interface events based" like the above, but IMHO all programmers should know at least something about it, as an EXAMPLE……………)

PPS: what about shell? :wink:
Post Reply