Aurora Compiler

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

My ideas is to have OOP right in PB.
Well, you have to wait to eternity then. This issue have been discussed one billions times already and I'm sorry to disapoint you but the answer is no. There never was, is and won't ever be OOP support for PB in the near future.

OOP is useless anyway because it's mostly requested by programmers using C++ or languages with a similar syntax. It just overcomplicates things for the regular BASIC / Indie developer.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

I still use other BASIC dialects, the OOP support and it very helps
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

Well, not for me and Fred already declined it. I guess he has his reasons...

Besides, how many BASIC dialects support OOP?
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

Fluid Byte wrote:Well, not for me and Fred already declined it. I guess he has his reasons...

Besides, how many BASIC dialects support OOP?
The most

For example:
VB, Blitzmax, XProfan, Emergence Basic, FreeBasic and so on
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
pdwyer
Addict
Addict
Posts: 2813
Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan

Post by pdwyer »

That's not most

Freebasic has some object support in the last beta. the docs say things like
Object-related features such as functions declared inside Type blocks are supported only with the -lang fb option since version 0.17b
and
CLASS: We would have put something useful here (honest) except this feature isn't implemented in the compiler yet. But since it will get added in future, and there are several other document pages that need to link here, we thought it safe to include in anyway.
I think if you get a full listing of all the basics around most will not be oop

Other than VB, I've never heard of a professional OOP Basic compiler (I haven't searched too hard but I have looked around in the past. I'd be interested to know of one)
Paul Dwyer

“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Depends what you mean by 'professional' I guess. There's RealBasic for example (many would argue that this is 'professional' - though not my cup of Earlgrey!), HotBasic, Emergence Basic. I reckon for as many non-oop basics there are as many oop ones.

I use both these days and I reckon I'm better off for it.
I may look like a mule, but I'm not a complete ass.
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

srod wrote:Depends what you mean by 'professional' I guess. There's RealBasic for example (many would argue that this is 'professional' - though not my cup of Earlgrey!), HotBasic, Emergence Basic. I reckon for as many non-oop basics there are as many oop ones.

I use both these days and I reckon I'm better off for it.
Do you mean that because of the price of €400?
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

GeoTrail wrote:
srod wrote:Depends what you mean by 'professional' I guess. There's RealBasic for example (many would argue that this is 'professional' - though not my cup of Earlgrey!), HotBasic, Emergence Basic. I reckon for as many non-oop basics there are as many oop ones.

I use both these days and I reckon I'm better off for it.
Do you mean that because of the price of €400?
:lol:

No, but now that you mention it...
I may look like a mule, but I'm not a complete ass.
User avatar
bembulak
Enthusiast
Enthusiast
Posts: 575
Joined: Mon Mar 06, 2006 3:53 pm
Location: Austria

Post by bembulak »

Once again:
http://basic.mindteq.com/

But most of them are half-baked.
cheers,

bembulak
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

bembulak wrote:Once again:
http://basic.mindteq.com/

But most of them are half-baked.
And the Info's old
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

HotBasic is oop-like, not real oop. The outcome of this is that sometimes the syntax (keywords) is somewhat strange that doesn't look like thought through, but looks like a workaround that is here to stay.

On the other side if you need a fast math, the FPU object is faster than other math libs in other languages I've tested (except hand optimized asm :P ...).
jack
Addict
Addict
Posts: 1358
Joined: Fri Apr 25, 2003 11:10 pm

Post by jack »

HotBasic uses Raymonds FPU lib http://www.ray.masmcode.com/fpu.html#fpulib
User avatar
pdwyer
Addict
Addict
Posts: 2813
Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan

Post by pdwyer »

Paul Dwyer

“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
JCV
Enthusiast
Enthusiast
Posts: 580
Joined: Fri Jun 30, 2006 4:30 pm
Location: Philippines

Post by JCV »

pdwyer wrote:Not sure why purebasic isnt' there
Its there.
Image

[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

jack wrote:HotBasic uses Raymonds FPU lib http://www.ray.masmcode.com/fpu.html#fpulib
Well HotBasic's online docs says:
Objects
...
FPU HotBasic exclusive
...
Thanks to Raymond Filiatreault for permission to use two of his FPU routines: conversion of string to FPU value and FPU value to string.
(As can be seen at: http://mypages.cwdom.dm/keenej/hot/contents.html)

So HB is only using 2 functions of Raymond's lib...
Locked