Blog post !

Developed or developing a new product in PureBasic? Tell the world about it.
dige
Addict
Addict
Posts: 1102
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Blog post !

Post by dige »

I love to see how constructively things are discussed here. Seems like there are pretty nice people around here. Glad to be a part of the PB community! :-)
"Daddy, I'll run faster, then it is not so far..."
User avatar
captain_skank
Enthusiast
Enthusiast
Posts: 610
Joined: Fri Oct 06, 2006 3:57 pm
Location: England

Re: Blog post !

Post by captain_skank »

Hotly anticipated, can't wat to see what Fred and the team come up with.

A queestion, will this mean we can compile for multiple targets from one OS ?
infratec
Always Here
Always Here
Posts: 5527
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Blog post !

Post by infratec »

captain_skank wrote:A queestion, will this mean we can compile for multiple targets from one OS ?
I don't think so.
It is still never talked about a cross-compiler.

But for me such a thing makes no sense at all:
You still need to test the result on a target machine.
So you can also compile it directly on that machine.
User avatar
the.weavster
Addict
Addict
Posts: 1389
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: Blog post !

Post by the.weavster »

infratec wrote:But for me such a thing makes no sense at all:
You still need to test the result on a target machine.
So you can also compile it directly on that machine.
How about a CGI?
I test it on my Windows PC during development then cross-compile and upload it to my Linux host to test it there.
Fred
Administrator
Administrator
Posts: 14413
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Blog post !

Post by Fred »

StarBootics wrote:Hello everyone,

I have some questions about some stuff since C compilers are capable to deal with :
  • 1. unsigned long and unsigned long long (sorry to ask again)
    2. Static arrays outside structures
    3. Multi-dimensions static arrays inside and outside structures
    4. The possibility initialize static arrays like : ArrayName.f[4] = {0.0, 1.0, 2.0, 3.0}
    5. The ternary operator
Will all this be introduced into the PureBasic language :?:

Best regards
StarBootics
No new features will be added to PureBasic. It's just a new back-end to be able to mainly support new CPU (I wasn't even sure to support Windows at first).
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: Blog post !

Post by Saki »

It is the right way for now to leave everything as it is.
This is the only way to check compatibility and restore it if necessary.
地球上の平和
User avatar
skywalk
Addict
Addict
Posts: 3555
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Blog post !

Post by skywalk »

Do you mean v6 would require importing a C gui framework or user created windows and gadgets and manage their own event loop?
Same for multithreading?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Thorium
Addict
Addict
Posts: 1268
Joined: Sat Aug 15, 2009 6:59 pm

Re: Blog post !

Post by Thorium »

I think it's a very good decision you made.
Never understood why compile speeds are so important to PB users. And CPU's are so fast today, we are probably talking about seconds for the majority of PB projects, not even minutes for compiling with C backend and optimization on.

For code optimization, yes, i expect a significant speed up in code execution. But they will not magically convert your code to work with vector registers SSE/AVX. Some features of these instruction sets can be used automatically by the compiler. But the real speed comes from using SIMD and that only works if you also structure your data accordingly. No compiler can do that for you. Thats why C/C++ has special commands for that called SIMD intrinsics.
User avatar
mk-soft
Addict
Addict
Posts: 3194
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Blog post !

Post by mk-soft »

I also think it is the right way to go.
I was already worried when my Mac mini stopped running or became too old and Apple stopped making Macs with Intel. I hope that my Mac will last a long time, because all my other OSes run as VMs on macOS.

First of all, I want everything to run on the new back-end. Then maybe we can expect new features.
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace
User avatar
Keya
Addict
Addict
Posts: 1865
Joined: Thu Jun 04, 2015 7:10 am

Re: Blog post !

Post by Keya »

Fred wrote:(I wasn't even sure to support Windows at first).
gotta admit, reading that sent a chill up my spine! :( I am so relieved you will continue to support Windows, I think it'd be a *crazy* decision not to, especially given the PB userbase which is predominantly Windows
User avatar
DoubleDutch
Addict
Addict
Posts: 3206
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: Blog post !

Post by DoubleDutch »

I think this is great news and a really good way for PB to cope with new CPUs. Takes a lot of work maintenance work away from the team to concentrate on adding more features in the long run.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
spacebuddy
Enthusiast
Enthusiast
Posts: 344
Joined: Thu Jul 02, 2009 5:42 am

Re: Blog post !

Post by spacebuddy »

Take my money now :D :D :D
normeus
Enthusiast
Enthusiast
Posts: 322
Joined: Fri Apr 20, 2012 8:09 pm
Contact:

Re: Blog post !

Post by normeus »

Fred wrote:(I wasn't even sure to support Windows at first).
Using google translate it sounds like he was thinking about changing the back end for Linux and Apple and leaving windows with the same back end, but don't quote me on that.

To support PureBasic, you might want to buy another license and just gift it to a young programmer. share the fun!

Norm
google Translate;Makes my jokes fall flat- Fait mes blagues tombent à plat- Machte meine Witze verpuffen- Eh cumpari ci vo sunari
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: Blog post !

Post by Saki »

Windows is the mainstream.
But when I look at DPI aware, I can immediately follow this thought.
The development effort increases quite enormously.
How one can burden developers with such gobbledygook is absolutely incomprehensible to me.
I would like to say that on the last tool I made, the Odometer, I spent twice as long on DPI aware problems as the actual development took.
It's really not fun and the thought of switching to Mac is gnawing away.
地球上の平和
User avatar
Demivec
Addict
Addict
Posts: 3847
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Blog post !

Post by Demivec »

normeus wrote:
Fred wrote:(I wasn't even sure to support Windows at first).
Using google translate it sounds like he was thinking about changing the back end for Linux and Apple and leaving windows with the same back end, but don't quote me on that.
@normeus: I think Fred was referring to the distant past when PureBasic existed on the Amiga only.

Note, please excuse me for quoting you. In my defense I didn't notice you wrote about that until after I had finished responding. :)
Last edited by Demivec on Tue Mar 23, 2021 11:54 pm, edited 1 time in total.
Post Reply