10-28-2004, 05:51 PM
Women? :*)

freeBASIC (a 32-bit QB-syntax compatible compiler) preview..
|
10-28-2004, 05:51 PM
Women? :*)
![]()
10-28-2004, 06:24 PM
Nah, they don't exist here. But much in the same manner as a nagging women, schoolwork and social responsibilities never end
![]()
10-28-2004, 08:09 PM
Quote:If you change b, then c <> a (because c = b + c). ![]()
10-28-2004, 08:17 PM
My fault, i wrote the code wrong.
oship me and i will give you lots of guurrls and beeea
10-28-2004, 08:20 PM
No problem, I know what the idea behind it is.
![]() I just had to point out that mistake, sorry.
10-29-2004, 02:38 AM
Quote:And heres my simple question... Will the compiled exes be faster than they are currently? When the DAG module begins to be used (only after the compiler compiles itself), any common sub-expression will be eliminated inside a basic block, for example, there are loads of reloads when accessing arrays, that is easily "detected" when using Graphs to link the nodes. But FB is not an optimizing compiler, speed will be enough to beat other BASIC commercial compilers like PB - that is the BASIC compiler that gens the best code (and i checked ALL them, believe me), but PB doesn't seem to do any kind of expression optimization, it does a bunch of hacks that are completely non-portable.. no wonder PB is just for Windows. Quote:Anyways v1c im impressed with the code output for the math, very nice. There are some simple optimizations to be added before the 1st release, like converting muls by power of 2 immediates to shifts, load after store and such.. i didn't add that yet as i was getting functions/subs to work in the last days and that took me a lot of time. Quote:Hey, GNU can do Intel syntax? So I could use intel syntax in mingw? Hmm, i really don't know, GCC will optimize even the inline asm block (saving or not the registers, etc), dunno if it's not dependent of AT&T syntax.. or you would have to switch back the syntax when closing the inline block, using the .att_syntax directive. Quote:And DJGPP aint that fast in zooming the mendel!!! Heh, not that much, GCC is awesome doing optimizations, even DJGPP using an outdated version, i guess.. bad thing about DJ is that it's does not run in flat-mode, segment overriding kills the performance on modern CPUs. Quote:If you'd ever like to discuss language or compiler issues I'd be glad to chat. Sure, when the first release gets done it will be fully open-source, any contributions will be welcome. I started this project coz i was tired of seeing each year new problems appearing when trying to code anything in QB.. bad DOS emulation, hardware less and less backward compatible and so on - i guess the next release of Windows will be even less suitable for DOS coding, but i don't blame M$.. more than a decade is over, ow.. I waited for somebody to make a free and *really* QB-compatible compiler, but as that didn't happen i thought.. hell, lets try it myself, heh.. i didn't think it would be at this stage so early, lets hope it will continue this way until the first public release. And about the name.. call it just "FB", acronyms can be anything you want ;).
ew FreeBASIC forums: http://www.freebasic.net/forum/index.php
10-29-2004, 09:34 AM
Pete: FB express. :*)
10-30-2004, 06:07 AM
Check this out, simple gui program with freebasic. It took us a long time to get it to work becuase we both suck at gui coding and v1ctor thought it was the compiler that was messing up. Turns out it wasn't. Sure, looks messy. Windows guis are messy. But look at the same code in C, it's even worse. Anyways, if you really look at it carefully it's not that bad. http://freebasic.bad-logic.com/downloads/winhello.zip
Code: ''
oship me and i will give you lots of guurrls and beeea
10-30-2004, 09:07 AM
Man we need templates for FB.
So I would assume you can do something like this? Code: pixelWidth=surface.ddpfPixelFormat.dwRGBBitCount\8 Woot!!! DX here I come!!!!
10-30-2004, 03:09 PM
It's nice.
Have a question though, will there be FB version for dos too? That would be awesome
url]http://fbide.sourceforge.net/[/url]
|
« Next Oldest | Next Newest »
|