Blog post !
Re: Blog post !
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..."
- captain_skank
- Enthusiast
- Posts: 636
- Joined: Fri Oct 06, 2006 3:57 pm
- Location: England
Re: Blog post !
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 ?
A queestion, will this mean we can compile for multiple targets from one OS ?
Re: Blog post !
I don't think so.captain_skank wrote:A queestion, will this mean we can compile for multiple targets from one OS ?
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.
- the.weavster
- Addict
- Posts: 1537
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Re: Blog post !
How about a CGI?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.
I test it on my Windows PC during development then cross-compile and upload it to my Linux host to test it there.
Re: Blog post !
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).StarBootics wrote:Hello everyone,
I have some questions about some stuff since C compilers are capable to deal with :
Will all this be introduced into the PureBasic language
- 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
Best regards
StarBootics
Re: Blog post !
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.
This is the only way to check compatibility and restore it if necessary.
地球上の平和
Re: Blog post !
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?
Same for multithreading?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Blog post !
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.
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.
Re: Blog post !
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.
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 / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Blog post !
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 WindowsFred wrote:(I wasn't even sure to support Windows at first).
- DoubleDutch
- Addict
- Posts: 3219
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: Blog post !
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
https://reportcomplete.com <- School end of term reports system
-
- Enthusiast
- Posts: 347
- Joined: Thu Jul 02, 2009 5:42 am
Re: Blog post !
Take my money now
Re: Blog post !
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.Fred wrote:(I wasn't even sure to support Windows at first).
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
Re: Blog post !
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.
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.
地球上の平和
Re: Blog post !
@normeus: I think Fred was referring to the distant past when PureBasic existed on the Amiga only.normeus wrote: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.Fred wrote:(I wasn't even sure to support Windows at first).
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.