Search found 102 matches

by Sterling Christensen
Jun 01, 2009 2:41
Forum: Community Discussion
Topic: FreeBASIC in a speed vs code size comparison of 72 languages
Replies: 7
Views: 2669

FreeBASIC in a speed vs code size comparison of 72 languages

http://gmarceau.qc.ca/blog/2009/05/speed-size-and-dependability-of.html : There is a Basic implementation at (2, 2), which I suppose few people would expect to see there. The open-source group behind the FreeBASIC compiler deserve much more recognition than they are getting. Being at (2, 2) means i...
by Sterling Christensen
Dec 06, 2006 3:53
Forum: General
Topic: CPU Benchmark Program - Please Run and Post Results!
Replies: 36
Views: 9957

KristopherWindsor wrote:I wonder if Linux is the problem.
Possibly. CPU stuff like scheduling and memory management are faster on Linux, but graphical stuff is usually slower... unless you have an nVidia card and use nVidia's drivers for it.

So the graphical parts of this benchmark could be throwing it off.
by Sterling Christensen
Nov 15, 2006 6:29
Forum: General
Topic: How to optimize?
Replies: 7
Views: 3213

One of the best ways to optimize code like that is to move things out of inner loops. Like the "And x < r" part: if r < cMaxIndx then smallerMax = t else smallerMax = cMaxIndx for x = 1 to smallerMax if (num Mod primeList(x)=0) then Prime = FALSE exit for end if next x And all primes are o...
by Sterling Christensen
Nov 14, 2006 6:31
Forum: Projects
Topic: Track Test 2
Replies: 55
Views: 24720

syn9 wrote:what settings would you like to set? i'll make you a configVars.dat
Cool - can I have arrow keys be turn/forward/brake, space for boost, and ZX for roll?

Can't wait to play it :)
by Sterling Christensen
Nov 11, 2006 4:34
Forum: Projects
Topic: Track Test 2
Replies: 55
Views: 24720

On linux with wine, core.exe runs and looks awesome! But wine chokes on config.exe, so I can't set the controls :( Can someone lend me their configVars.dat (or tell me which lines to change) if that's where control settings are? 44 FPS nVidia GeForce FX 5700 nVidia driver 1.0.9629 wine 0.9.24 in Win...
by Sterling Christensen
Sep 22, 2006 16:33
Forum: Libraries Questions
Topic: Yagl is out of the question.
Replies: 6
Views: 4526

Well, I already mentioned that to him. He insists on insisting that he already tried to update the driver, but the pc told him, "You don't needs any betta drivers that the ones you already gots!" *shrug* Sounds like he went to windowsupdate.com instead of nvidia.com/ati.com. Would nVidia/...
by Sterling Christensen
Sep 22, 2006 3:22
Forum: Libraries Questions
Topic: Yagl is out of the question.
Replies: 6
Views: 4526

It might be neither the video card's nor yagl's fault. On computers where yagl is running slow, it may be because the graphics drivers that came with Windows are still in use. You can be sure OpenGL really is being hardware accelerated properly if you install better drivers from nvidia.com, ati.com,...
by Sterling Christensen
Apr 29, 2006 1:48
Forum: Linux
Topic: What ide you use for freebasic?
Replies: 19
Views: 8190

stylin wrote:Crimson Editor.
That's a Windows program. This thread is in the "Programming - Linux" section.

Looks like it runs on wine though: Crimson Editor on WINE info, screenshot
by Sterling Christensen
Mar 31, 2006 8:02
Forum: Linux
Topic: FBIDE on Wine
Replies: 6
Views: 3920

It kinda runs in wine, but downloading the cvs source code and compiling it yourself on Linux works better - just a few quirks.
by Sterling Christensen
Mar 30, 2006 17:36
Forum: General
Topic: Garbage Collection
Replies: 15
Views: 5054

No wonder my 512 megabytes of RAM has been messed up lately... For a windows user this shouldn't be a problem as windows will free memory associated with a program when it ends. You should still use the free'ing functions though as good practise, and in case you decide to release for another platfo...
by Sterling Christensen
Mar 27, 2006 23:59
Forum: Linux
Topic: Packaging for linux
Replies: 4
Views: 2937

Re: Packaging for linux

Now, I have a question. Is the executable I compiled on one linux gonna work on all or most other linux systems? Yes, it should work on any other x86 linux. Usually linux software is packaged as either: 1. source code with how to compile+install instructions. 2. a deb, rpm, ebuild, etc - a package ...
by Sterling Christensen
Mar 27, 2006 18:14
Forum: General
Topic: DosBox problem.(kind of solved)
Replies: 9
Views: 3288

DosBox can run protected mode 32 bit DOS executables, at least I know Doom 1 and C&C: Tiberian Dawn run fine in it (if you crank up the emulated megahertz). I think the problem is probably that it emulates a 386. Alternative options: 1. QEMU is way faster - DosBox is designed for OLD dos games, ...
by Sterling Christensen
Mar 01, 2006 2:53
Forum: Sources, Examples, Tips and Tricks
Topic: AVI File Creator in FreeBASIC for LINUX and WINDOWS
Replies: 30
Views: 17687

About 35% faster with inline asm and [de]allocation moved out of WriteInAVIFile: ' AVI File Creator ' Copyright by D.J.Peters (Joshy) ' 8/2005 FreeBASICForum.de ' www.freebasicforum.de ' ' Heavily cleaned up and made readable by 1000101 (Eric Cowles) ' 27/02/2006 ' ecowles.dyndns.org ' ' Inline asm ...
by Sterling Christensen
Feb 28, 2006 5:56
Forum: Linux
Topic: Linux GUI programming
Replies: 6
Views: 4239

GTK 1.x is ugly. GNOME uses GTK 2.x (this is the one FB has headers for), and so does Firefox on Linux. GTK 2.x has a weird clunky File Open/Save dialog box, but other than that it's fine. There's also wx-c. FB headers for a C wrapper around a C++ library that uses GTK 2.x (on Linux) anyway. Dumbled...
by Sterling Christensen
Feb 27, 2006 20:35
Forum: Linux
Topic: Fmod Example Compile in Linux
Replies: 9
Views: 5629

If you're a KDE user it's "arts" you might need to shut down.