Author Topic: OxygenBasic includes  (Read 23635 times)

0 Members and 3 Guests are viewing this topic.

kryton9

  • Guest
Re: OxygenBasic includes
« Reply #30 on: September 29, 2013, 05:03:41 PM »
...
The C emitter will take us on the journey in the direction of a GCC front end. There is much to learn about how GCC works, but only the top end of Oxygen (~20%) would be needed. Ultimately, OxygenBasic might be abstracted to a language specification, shedding its machine code origins entirely. :)

Charles, that is great to hear. I will work on the gcc front end until I understand it. I think having a true c++ like BASIC that I know Oxygen can be and using gcc is the best choice. LLVM is no where as nicely documented as gcc and proven.

Aurel

  • Guest
Re: OxygenBasic includes
« Reply #31 on: September 29, 2013, 09:43:24 PM »
Quote
I think having a true c++ like BASIC that I know Oxygen can be and using gcc is the best choice.
I don't know is this the best option...
what we then will get ...another Objective Basic like thing.
MingW is not bad but why most of pro-software is created with MS VC++ ?
Of course i talk about windows,for other platforms like linux - gcc would be better.

JRS

  • Guest
Re: OxygenBasic includes
« Reply #32 on: September 29, 2013, 10:41:25 PM »
Making O2 more cross platform friendly only assures its survival.

I don't think you will have much luck changing everyone else's mind.  :-*

Aurel

  • Guest
Re: OxygenBasic includes
« Reply #33 on: September 29, 2013, 10:45:14 PM »
Quote
I don't think you will have much luck changing everyone else's mind.
That is your aproach ,not mine.

JRS

  • Guest
Re: OxygenBasic includes
« Reply #34 on: September 29, 2013, 11:06:58 PM »
Quote
That is your aproach ,not mine.

Aurel,

You are free under the GNU LGPL license to fork OxygenBasic and do whatever you like with it. (except claim you wrote it) Charles has made it clear what his direction is. If you don't like it, you know what your options are.

John

Peter

  • Guest
Re: OxygenBasic includes
« Reply #35 on: September 30, 2013, 01:35:08 AM »
Quote
Making O2 more cross platform friendly only assures its survival.
For how many people ? 
Thinking  that the user crowd grows, is a romancer.
And what can already survive?

JRS

  • Guest
Re: OxygenBasic includes
« Reply #36 on: September 30, 2013, 08:15:06 AM »
Peter & Aurel,

Your contributions are important to making O2 real. Charles has long term goals and is happy to share his thoughts and ask for feedback. This is a group effort and everyone's contributions count. Nothing is a waste of time so continue to do what you believe is best for O2.

John

Peter

  • Guest
Re: OxygenBasic includes
« Reply #37 on: September 30, 2013, 08:40:29 AM »
Quote
Nothing is a waste of time so continue to do what you believe is best for O2.

holiday!   (Eng.

vacation  (AE).

kryton9

  • Guest
Re: OxygenBasic includes
« Reply #38 on: September 30, 2013, 10:26:38 PM »
Quote
I think having a true c++ like BASIC that I know Oxygen can be and using gcc is the best choice.
I don't know is this the best option...
what we then will get ...another Objective Basic like thing.
MingW is not bad but why most of pro-software is created with MS VC++ ?
...

Aurel that is why I said like c++. You don't have to code in object oriented with c++ if you don't want to. It is very flexible, you can do procedural coding, object oriented and now c++11 more functional style programming. These are all things Oxygen does too.

MS VC++ is very professional compiler and their IDE is very useful, but it is Microsoft Only and if you notice, you need to have runtimes, many versions of them on your computer and also the correct couple of dlls or your executable's won't run. That is why most MS VC++ written stuff uses installers to install all the correct dependencies. That is why I stopped using MS VC++ and stuck with mingw.

And as you noted, gcc is cross platform.

I see Oxygen as C++, but with BASIC clean syntax. Making very small and fast executable files, written in the programming style you prefer supporting a vast array of libraries on cross platform.
As I printed, there is no BASIC in that list of supported gcc front end languages, so Oxygen would be superb candidate.

Also the Mingw team does a great job in keeping up with the windows api.  The previous version didn't have support for GDI+, only GDI. but the current version does support GDI+.
You have a team of developers doing all the hard work making all the headers for gcc, so it allows someone like Charles time to work on the language syntax and functionality on proven foundation code.

Aurel

  • Guest
Re: OxygenBasic includes
« Reply #39 on: October 01, 2013, 01:19:17 AM »
Ok Kent
I can agree with you in some point of course and i don't have nothing against
if someone want to use any kind of headers.
But pushing something over something already exists is not good
so there must be choice,right?
After all on Charles is what he will do.

Charles Pegge

  • Guest
Re: OxygenBasic includes
« Reply #40 on: October 01, 2013, 07:04:18 AM »
It seems to me that once you are inside the VS system , Microsoft ensures you can never escape with your hard-earned code treasures. You are locked into a vast labyrinth of interconnecting dungeons. :)


« Last Edit: October 01, 2013, 07:18:21 AM by Charles Pegge »

JRS

  • Guest
Re: OxygenBasic includes
« Reply #41 on: October 01, 2013, 09:55:59 AM »
External view. (Microsoft campus - Redmond, WA)


Emil_halim

  • Guest
Re: OxygenBasic includes
« Reply #42 on: October 01, 2013, 10:17:18 AM »
Hi guys ,

I think that the best solution here is to use C emitter that produce GCC code and using Gcc as a back end of
Oxygen basic. why?

1- there is no need to pares any c header file , GCC will do that for you.
2- GCC or C++ can optimized you source code
3- allowing you insert some c/c++ code with your Oxygen basic
4- you can link and use C/C++ libraries , all C/C++ world in your hand
5- you have not to know any c/c++ syntax , just use basic syntax as usual then C emitter make it for you.

thanks     

JRS

  • Guest
Re: OxygenBasic includes
« Reply #43 on: October 01, 2013, 10:22:40 AM »
+1 What Emil said.

Even ScriptBasic will generate a C source wrapper for its compiled/tokenized binary script. This also allows you to static link C extension modules that have a dual mode of being dynamic or static linked on creation.


Aurel

  • Guest
Re: OxygenBasic includes
« Reply #44 on: October 01, 2013, 11:25:58 AM »
WOW... :o
John...i see this image first time and i don't get it where i see this image before.
I do in same shape one of my antenna...gee....
mybe MS send me trough sub-space this image in my brain  ::)