Yes, but decrypted it makes less sense than the nonsensical ramblings I wrote down in the first place.Little John wrote:So you get perfect analog cryptography for free. Cool!srod wrote:because I can't read my own writing!
Blog post !
Re: Blog post !
I may look like a mule, but I'm not a complete ass.
Re: Blog post !
Hi
https://www.purebasic.fr/blog/?p=480
Very interesting news here.
PB back end is going to be a C compiler.
https://www.purebasic.fr/blog/?p=480
Very interesting news here.
PB back end is going to be a C compiler.
Mostly running PureBasic <latest stable version and current alpha/beta> (x64) on Windows 11 Home
Re: Blog post !
Finally, a new blog post! And it explains why the team has been so quiet lately.
Re: Blog post !
Great news and the best part no LLVM nonsense
This makes me really happy and hopeful.
This makes me really happy and hopeful.
Re: Blog post !
This is tremendous news!!!
The LLVM study was not wasted since it pointed towards a more compatible path forward.
I read and tried several new languages that jumpstarted with LLVM, but then complained and started their own compiler effort. Emitting C just seems the most logical choice for a small team driving a tight procedural language.
Big yay
The LLVM study was not wasted since it pointed towards a more compatible path forward.
I read and tried several new languages that jumpstarted with LLVM, but then complained and started their own compiler effort. Emitting C just seems the most logical choice for a small team driving a tight procedural language.
Big yay
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Blog post !
LLVM sounds good on paper, but I find its IR language is a bit of a dogs breakfast. Here's "Hello World" from the LLVM wiki page:
Here's the same in C:
I know which I prefer!
LLVM would've also required Fred and team having to learn an entirely new language, whereas they're already well versed in C (if im not mistaken PB itself is written in C). It would've also required all PB users to learn at least the basics of LLVM, whereas many of us are already at least somewhat familiar with C.
Having a C backend for PB would open up the door to many new possibilities, and would allow Fred and team to concentrate on the actual PB-to-C translations, while allowing the C compiler (assumingly gcc) to do all the grunt work in regards to assembly-level optimisations etc, and even compile to ARM/ARM64 for those who keep asking for that, without Fred having to spend time developing an entirely new backend just for ARM.
So I'm super glad they've chosen C over LLVM, and I'm super excited!
Code: Select all
@.str = internal constant [14 x i8] c"hello, world\0A\00"
declare i32 @printf(i8*, ...)
define i32 @main(i32 %argc, i8** %argv) nounwind {
entry:
%tmp1 = getelementptr [14 x i8], [14 x i8]* @.str, i32 0, i32 0
%tmp2 = call i32 (i8*, ...) @printf( i8* %tmp1 ) nounwind
ret i32 0
}
Code: Select all
#include <stdio.h>
int main() {
printf("Hello, World!");
return 0;
}
LLVM would've also required Fred and team having to learn an entirely new language, whereas they're already well versed in C (if im not mistaken PB itself is written in C). It would've also required all PB users to learn at least the basics of LLVM, whereas many of us are already at least somewhat familiar with C.
Having a C backend for PB would open up the door to many new possibilities, and would allow Fred and team to concentrate on the actual PB-to-C translations, while allowing the C compiler (assumingly gcc) to do all the grunt work in regards to assembly-level optimisations etc, and even compile to ARM/ARM64 for those who keep asking for that, without Fred having to spend time developing an entirely new backend just for ARM.
So I'm super glad they've chosen C over LLVM, and I'm super excited!
Re: Blog post !
This is exciting news! A C backend opens the door to a wide ecosystem of tools and systems.
It seems like we think the same of LLVM (sounds good in theory, but the IR syntax is ugly, and getting LLVM up and running is a huge pain)
It seems like we think the same of LLVM (sounds good in theory, but the IR syntax is ugly, and getting LLVM up and running is a huge pain)
Re: Blog post !
Why stop at C and JS?
We need to go in the direction of - one IDE for Pure(Spider)-basic with the ability to generate multiple targets.
Similar to https://haxe.org/ .
We need to go in the direction of - one IDE for Pure(Spider)-basic with the ability to generate multiple targets.
Similar to https://haxe.org/ .
Dawn will come inevitably.
Re: Blog post !
Hi
I was really amazed and thought twice before posting (first april, or similar "fooling"). It seems to be serious.
Yes, from my point of view this is the best way to keep a procedural language modern and up-to-date.
Thanks to the PB-Team
Advantage on this side: I know the language C and can also program with it. yay.
I was really amazed and thought twice before posting (first april, or similar "fooling"). It seems to be serious.
Yes, from my point of view this is the best way to keep a procedural language modern and up-to-date.
Thanks to the PB-Team
Advantage on this side: I know the language C and can also program with it. yay.
Mostly running PureBasic <latest stable version and current alpha/beta> (x64) on Windows 11 Home
Re: Blog post !
which is one of the reasons I'm not keen on Haxe - for the vast majority of us Haxe would require learning a whole new language (not another one, ugh!), whereas most of us are already familiar with/have invested time in C, and C is a very mature language, and has tonnes of libraries we can use alsoAxolotl wrote:Advantage on this side: I know the language C and can also program with it. yay.
Re: Blog post !
@keya: exactly.
I do not participate in discussions about different languages. My motto: use the language you like best, or the one that will help you get the task done the fastest, or (add your reason).
I can do windows programming in C/C++ or Delphi but I always coming back to PB.
I do not participate in discussions about different languages. My motto: use the language you like best, or the one that will help you get the task done the fastest, or (add your reason).
I can do windows programming in C/C++ or Delphi but I always coming back to PB.
Mostly running PureBasic <latest stable version and current alpha/beta> (x64) on Windows 11 Home
Re: Blog post !
Fantastic news. Thank you all.
It says on the blog that you are a small company. But those of you who run it are the biggest.
Again, thanks for your efforts.
It says on the blog that you are a small company. But those of you who run it are the biggest.
Again, thanks for your efforts.
PB 6.0x, PureVision User.
- the.weavster
- Addict
- Posts: 1531
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Re: Blog post !
Very interesting development, especially if we can include unaltered C files and then use their commands directly in PB.
PB for Raspberry Pi. Very cool !
PB for Raspberry Pi. Very cool !
Re: Blog post !
Hmm yes or for smartwatches. Still one of my secret dreams, my own software on a sexy touchable smartwatch with gps and wlan <3the.weavster wrote:PB for Raspberry Pi. Very cool !
Maybe even with LORA WN (it will happen within the next years!).