Break the compiler into a compiler/linker

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Re: Break the compiler into a compiler/linker

Post by Foz »

5 lines. Any CPU, any memory: Instant. :twisted:
ozzie
Enthusiast
Enthusiast
Posts: 443
Joined: Sun Apr 06, 2008 12:54 pm
Location: Brisbane, Qld, Australia
Contact:

Re: Break the compiler into a compiler/linker

Post by ozzie »

eesau wrote:
ozzie wrote:My project is in excess of 113000 lines and it compiles in about 4 seconds.
Out of curiosity, what kind of a project is it and has it been easy to manage using PB?
This is my application: www.showcuesystems.com. It is not yet PB but VB6. Converting from VB6 has been a huge job, but I'm excited about the way the project is developing. VB6 doesn't support threads, except by using API's, so I used timers for some things that in my PB project I now use threads. I was also using MDI windows quite extensively in the program's editor, but mainly to overcome limitations in VB6 because in my program they are not logically MDI components. So in PB I've replaced these MDI windows with containers and scrollareas.

The whole project is coming together very well and I'm VERY pleased with PB. :D

Edit: A bit more info: The project has about 80 .pbi include files which basically corresponded to the VB6 .frm and .bas files. I use jaPBe, but I don't use a Visual Designer. All window creation commands are in a single include file, which I built fairly tediously from the VB6 .frm files. However, having completed that task it is much easier in PB to slot in an extra container gadget than it is to do the equivalent in VB6, especially if that container gadget is a wrapper around some existing gadgets.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Break the compiler into a compiler/linker

Post by Fred »

Very interesting, thanks !
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: Break the compiler into a compiler/linker

Post by DoubleDutch »

foz: lol. :)
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
eesau
Enthusiast
Enthusiast
Posts: 589
Joined: Fri Apr 27, 2007 12:38 pm
Location: Finland

Re: Break the compiler into a compiler/linker

Post by eesau »

ozzie: that was very interesting, thanks. Your product looks great, good luck with it! :)
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: Break the compiler into a compiler/linker

Post by srod »

Looks fantastic ozzie; well done.
I may look like a mule, but I'm not a complete ass.
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: Break the compiler into a compiler/linker

Post by Rook Zimbabwe »

Jeez... my entire POS (the ALL IN ONE version is 8000 lines +/- and the client/server version is 7000+ for the client and 400 for the server...)

I am having line envy! :mrgreen:

BTW Ozzie that looks fantastic I got a buddy that is a DJ and he drooled over it!

I can't wait to see what you do with it!

I have recoded my seoftware 3 times( 3 as I only count total concept rebuilds ) and have optimized much of it along the way.

Now I have line envy and graphics envy!!! :?
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Post Reply