- For my program that I just compiled,
I'm about 758 374 lines of code to compilation.
And I'm not in 40% of my program...


Q: What is the max. of lines that PB can compile

Marc,
That's a lot of code!marc_256 wrote:Hi,
- For my program that I just compiled,
I'm about 758 374 lines of code to compilation.
And I'm not in 40% of my program...![]()
Q: What is the max. of lines that PB can compile![]()
Marc,
1. Its my 3D CAD/CAM/CAE program, now with *'Mesh editing' and *'Image editing' ...That's a lot of code!
Curious questions:
1.What program are you creating?
2.How long does it take to compile all that?
Nubcake
Like I wrote in my previous post, there is about 50% data.You did 760 000 lines of code in 2 years which would be twice 365 days?
That's more than 1000 lines every DAY, MONDAY to SUNDAY, WINTER TO SUMMER TO WINTER TO SUMMER TO WINTER.![]()
I started programming on an APPLE II, and did my first 3D applications on it.Don't get me wrong, the screens on your website look impressive, but I would guess that once you get a bug report, you might get in very big trouble![]()
If you use 'macros', and 3D stuff maths and lots of programming hours, about 14 Hrs a day...So, simple question: How did you get so many lines of code
Number of lines never impresses me. Half could be blank lines for white space reasons, or even lots of single lines like "a=a+1".Franky wrote:How did you get so many lines of code?
You say roughly 400.000 lines of code which is actually just data?marc_256 wrote:Like I wrote in my previous post, there is about 50% data.
I wrote a program to convert 'Blender' pre build meshes to Ogre mesh data.
Also I wrote a program to convert '.bmp' images to binary data for store button images, logos
Yes, but even if half are blank, and even if you are one of those guys who refuses to make a proc longer than 10 lines with 20 lines of comments, that is STILL a LOT of code and a LOT of comments!MachineCode wrote:Number of lines never impresses me. Half could be blank lines for white space reasons, or even lots of single lines like "a=a+1".Franky wrote:How did you get so many lines of code?
Should only be limited by the amount of RAM you have.marc_256 wrote:Q: What is the max. of lines that PB can compile
Thanks for your answer.Should only be limited by the amount of RAM you have.
PB full version does not have a line limit.
Thanks for the your encouraging words, I can use them ...300.000-400.000 lines of code is still very impressive. Good luck with your project!
Well how bigger the project, how more I use comments to remember some things.Yes, but even if half are blank, and even if you are one of those guys who refuses to make a proc longer than 10 lines with 20 lines of comments, that is STILL a LOT of code and a LOT of comments!
I agree on that. Instead of all that data forced in the data segment maybe he should consider to store it in a single external resource file, packed or encrypted if that's really needed. Also it would speed up compilation time.c4s wrote:You say roughly 400.000 lines of code which is actually just data?
If that's correct then I think that you are doing something wrong.
[...]
Not compile them into the executable at all and store them in a custom data file?!