Wishlist for PureBasic v4.0

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
A.I
User
User
Posts: 16
Joined: Wed Jul 27, 2005 2:09 pm
Location: Finland

Post by A.I »

I would like to see register variables like in C++

Register variables are much faster than normal variables because they use one processor memory slot and lack the need to transfer between main memory. Using register variables as loop counter can speed the execution up to 15%.

Also, as mentioned before, boolean variables would be good, too.
Specialized in "AI Programming Games".
DriakTravo
Enthusiast
Enthusiast
Posts: 346
Joined: Fri Oct 10, 2003 12:42 am
Location: Tampa,FL,USA
Contact:

Post by DriakTravo »

there is no collision between zoomed 3d sprites... or is there
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

Psychophanta wrote:Yeah! but we must demand Fred to do PureBasic to make things for us :twisted:
he he

Then must add:

DoMyGame()

and

DoItsFast()

commands.

I hope he also add something similar for applications:

Code: Select all

DoSomeAwesomeAppForMe(#true)
DoItNow(#true)
ImLazyToday(#true)
I have some flags in mind for this ones :roll: :twisted:
ARGENTINA WORLD CHAMPION
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

Post by Lebostein »

And don't forget the coupled initialisation and allocation of variables:

Code: Select all

Global test.f = 1.23456
Static check.l = 1000, test.l = 20
Deftype.b x=1, y=2, z=3
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

well, i almost forgot about it, but the 'when is something an int and when not' issue is still giving me a headache!

viewtopic.php?t=14269
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Absolutely tops on my wishlist for version 4 is, for windows at least:
  • To attempt to find and flush all the reported bugs.
    To stress and crash-test PB extensively.
    To get some high powered users attempt to do the same.
If windows gets fixed the majority of users get a stable release. And many linux/macos bugs will get fixed (or die unbirthed) at the same time.


Second and extremely high is for PB to support some "modern" (1980 onwards) data types.


Last on my wishlist is for a new OS version or a new Editor or OOP or anything else that detracts from or dilutes the effort available for fixing and improving the core product.

:)
@}--`--,-- A rose by any other name ..
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Don't know if it is in this thread. But if so i remember it:

- Optional parameters for functions
- Allow more than one dimension for fields in structures
- Scientific notation for values (for example 1.624e-7)
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

Len() extended to support optional max lenght argument,
and if not allready so, make Len() internaly limit to max
PB string length if no max length is given by the programmer.

And a matching LenS() for length checking similar in the way of PeekS()
(seeing as Win32 api lstrlen() is "unsafe" and Len() can't be used on non PB strings)
Brice Manuel

Post by Brice Manuel »

Is there any official word on what will definitely be in 4.0?
okasvi
Enthusiast
Enthusiast
Posts: 150
Joined: Wed Apr 27, 2005 9:41 pm
Location: Finland

Post by okasvi »

Brice Manuel wrote:Is there any official word on what will definitely be in 4.0?
i guess Fred isnt stupid enough to make such list... it would kill the chance to use "i didnt promise it" after v4 release :twisted:
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Well, there have been a few hints around the forum ;)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

okasvi wrote: i guess Fred isnt stupid enough to make such list... it would kill the chance to use "i didnt promise it" after v4 release :twisted:
Well, since good, smart programmers make lists ... :twisted: At least internally.

Fred (and/or) PB team did mention a few things that are going to be in 4.0. Such as (finally) the exact same featureset across all OSes (I dont know how they will do it for Amiga version).
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

Anotehr thing taht would be cool is direktX 9 and a faster Point and Plot
bye
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Shannara wrote:Fred (and/or) PB team did mention a few things that are going to be in 4.0. Such as (finally) the exact same featureset across all OSes (I dont know how they will do it for Amiga version).
Who said that ?
quidquid Latine dictum sit altum videtur
Post Reply