Author Topic: 64 bit  (Read 1693 times)

0 Members and 1 Guest are viewing this topic.

efgee

  • Full Member
  • ***
  • Posts: 172
64 bit
« on: July 12, 2011, 10:52:02 AM »
Charles,
what are your plans with 64 Windows programming?

There is a directory named "OxygenBasic\examples\InProgress\Test64bit" with a 64 rtl include file, but when I compile the test file the produced file crashes on start.
(using Win7-64-HomePro)

Thanks
efgee

John

  • Hero Member
  • *****
  • Posts: 3175
Re: 64 bit
« Reply #1 on: July 12, 2011, 12:35:34 PM »
That would be great if Charles has made progress with 64 bit.

Ever since I got SB compiled on 64 bit (Windows, Linux & Mac), I haven't looked back to 32 bit other then to generate binaries for those still hanging on.

@Charles - Is using FreeBASIC and only being a 32 bit Basic compiler restrict you from making the 64 bit transition?
« Last Edit: July 12, 2011, 12:55:54 PM by JRS »

efgee

  • Full Member
  • ***
  • Posts: 172
Re: 64 bit
« Reply #2 on: July 12, 2011, 01:21:32 PM »
@Charles - Is using FreeBASIC and only being a 32 bit Basic compiler restrict you from making the 64 bit transition?

It should not, as Oxygen creates the binary files without external dependencies.
Oxygen itself can stay 32bit and still produce 64bit files.


Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 3719
    • Oxygen Basic
Re: 64 bit
« Reply #3 on: July 12, 2011, 01:38:35 PM »
Hi Efgee and John,

There are few more things I need to do before moving to 64 bit. It has slipped down the priority list because it has little impact for most programmers. Only if you are a kernel programmer or working with multigigabyte databases does 64 bits really come into play. There is a small increase in performance but the real crunch power for most users will be in the graphics processor, which has the most demanding tasks.

If you comment out line 68 in the demo, it should work without crashing after the message box. It was attempting to access non-existent RTL functions. This little piece is still important as it is the first toe-hold on the 64 bit system.

Charles

PS: It does not matter that FB is 32 bit but to run direct from script, yes the whole thing would have to be 64 bit native.