Search found 3550 matches

by skywalk
Sat Apr 13, 2024 7:34 pm
Forum: General Discussion
Topic: PureBasic v6.10 is producing a file size 5 times bigger than v6.04
Replies: 13
Views: 633

Re: PureBasic v6.10 is producing a file size 5 times bigger than v6.04

Read the release notes. It is a necessary improvement compiling with latest C libs. You can reduce the larger files somewhat using VS2022 link.exe.
by skywalk
Sat Apr 13, 2024 2:59 pm
Forum: Bugs - Windows
Topic: Debug mode execution speed can vary on source whitespace.
Replies: 12
Views: 535

Re: Debug mode execution speed can vary on source whitespace.

Compile exe without debugger and report.
by skywalk
Wed Apr 10, 2024 5:11 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 325
Views: 40154

Re: PureBasic 6.10 LTS is out !

As Psychophanta said, accuracy can be subjective. Search the forum for examples of math errors when mixing integers and floats. The results depend on the order of the algebraic expression and can be very hard to find. For floating point calculations, I prefix "0.0+" to force a floating poi...
by skywalk
Wed Apr 10, 2024 1:46 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 325
Views: 40154

Re: PureBasic 6.10 LTS is out !

Not as simple as that obviously.
But, there are cases where algebraic rules vary from ideal. Or when asm and cbe compiles do not match. Or when a bug forces a change in scope.

These slow development and release of your app.
Size of the app exe is so far down the list it could be last.
by skywalk
Tue Apr 09, 2024 6:04 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 325
Views: 40154

Re: PureBasic 6.10 LTS is out !

My priority for EXE => accurate, fast, something I have not thought about yet, something else, size.
by skywalk
Mon Apr 08, 2024 10:33 pm
Forum: Bugs - C backend
Topic: [Done] 6.10 Another ReDim error on deeper structured arrays
Replies: 16
Views: 731

Re: [6.10] Another ReDim error on deeper structured arrays

Haha, I blame it on an eclipse in my brain. :oops:

The workaround works. But, I have to search for these cases within my code. Not so fun.
by skywalk
Mon Apr 08, 2024 4:41 pm
Forum: Coding Questions
Topic: Windows 10 - PB10 - Linker error
Replies: 10
Views: 531

Re: Windows 10 - PB10 - Linker error

It is not desirable to overwrite a working app.exe while in development. The current way of storing to the source code folder is acceptable. Once you have confidence in your new app.exe, you can store it to your release folder. I have not had issues after whitelisting my dev folder and creating exe'...
by skywalk
Mon Apr 08, 2024 3:44 pm
Forum: Bugs - C backend
Topic: [Done] 6.10 Another ReDim error on deeper structured arrays
Replies: 16
Views: 731

Re: [6.10] Another ReDim error on deeper structured arrays

Thanks, I tried the workaround but it depends on the position of the defining cache variable? :shock: EDIT: Actually, ASM and CBE fail if you define new_size and attempt to set it to a structured variable. If you cache the new size in a variable, it works for the time being EnableExplicit Structure ...
by skywalk
Sat Apr 06, 2024 6:46 pm
Forum: Bugs - C backend
Topic: [Done] 6.10 Another ReDim error on deeper structured arrays
Replies: 16
Views: 731

Re: [6.10] Another ReDim error on deeper structured arrays

Haha, that was why I had trouble making a smaller code snippet. I used a local variable.
by skywalk
Sat Apr 06, 2024 2:05 pm
Forum: Bugs - C backend
Topic: [Done] 6.10 Another ReDim error on deeper structured arrays
Replies: 16
Views: 731

Re: [6.10] Another ReDim error on deeper structured arrays

Thanks, I only caught this at vLTS.
I used each beta but not sure when it appeared.
by skywalk
Fri Apr 05, 2024 9:47 pm
Forum: Bugs - C backend
Topic: [Done] 6.10 Another ReDim error on deeper structured arrays
Replies: 16
Views: 731

Re: [6.10] Another ReDim error on deeper structured arrays

Ok, Here is smaller code that works with ASM but fails for CBE. Thanks juergenkulow, I did not see your post till now. EnableExplicit Structure testd numParm.i nPts.i EndStructure Structure db_CI Col$ EndStructure Structure db_TI nCols.i Array aCI.db_CI(0) EndStructure Structure sarr Array aTI.db_TI...
by skywalk
Fri Apr 05, 2024 7:05 pm
Forum: Bugs - C backend
Topic: [Done] 6.10 Another ReDim error on deeper structured arrays
Replies: 16
Views: 731

Re: [6.10] Another ReDim error on deeper structured arrays

Ouch, same problem :( I cannot compile with CBE now. v6.10 ASM works but v6.10 CBE fails when accessing nested array: *d\aTI(itbl)\nCols = *TD\numParm *d\aTI(itbl)\DDL$ = #Empty$ *d\aTI(itbl)\Table$ = "TI" *d\aTI(itbl)\nCols = *TD\numParm *d\aTI(itbl)\nRows = *TD\nPts ReDim *d\aTI(itbl)\aC...
by skywalk
Wed Apr 03, 2024 11:11 pm
Forum: Feature Requests and Wishlists
Topic: (Solved in 6.10) Close a minimized window (Win)
Replies: 4
Views: 165

Re: (Solved in 6.10) Close a minimized window (Win)

Thanks for post. Did not know this was fixed.
by skywalk
Wed Apr 03, 2024 12:17 am
Forum: 3D Programming
Topic: Physics - Airplane
Replies: 28
Views: 6552

Re: Physics - Airplane

Really cool demo. 8)