Jump to content
Sign in to follow this  
Pavel

Next Generation C Compiler

Recommended Posts

1. Where is the C++?

C++ compiler will be added later. (If we added C++ compiler together with C alpha release would move somewhere 8-12 months forward). We rather release C now and C++ later than do both much later. We are also looking to add some C++ features into C for users who want to use them. The first in line will be overloading (when functions with same name but different number and types of arguments can exist in same code).

 

2. Still no floats?

No floats in the first release.

 

3. How much the real cost for upgrade is after development versions?

Cost and upgrade policy hasn't been finalized yet. Preliminary plan is to have several types of licenses (lite,standard and pro). The lite version will be free or very low cost. For users who registeres C2C-plus or C2C++ within 2 months before final BoostC release upgrade for standard versions will be free. Other C2C-plus and C2C++ users will need an upgrade license for BoostC compiler. The upgrade license cost will be around the difference between C2C-plus/C2C++ and BoostC license costs + 15$ (again this is preliminary info that hasn't been finalized yet).

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

You know, if the new C has typedef, structs, and allows pointer passing, and is robust and reliable (of course), then the C++ can wait a bit as far as I'm concerned.

 

A PIC is a small memory-spaced object. That they have a C++ run-time with objects and methods that works at all on something this size is very impressive.

 

Plus, I can do stuff with 32-bit longs, and signed math. The 'floats' would be nice -- but again, it's a small device. How much library space do you want to use up?

Share this post


Link to post
Share on other sites
How much library space do you want to use up?

Enough for it to work. There are large projects which eat more memory and then there are those small projects that just read some value, do some small calculation and then pass the value to next device. How much your own time do you want to sacriface for the later?

Share this post


Link to post
Share on other sites
...if the new C has typedef, structs, and allows pointer passing, and is robust and reliable (of course)...

We tried to make BoostC as close to ANSI C as possible. It does fully support typedefs, struct/union and pointers. We also compared the code generated by BoostC with code generated by Hi-Tech. Amazingly we found that Hi-Tech generates wrong code when it deals with some corner cases. BoostC uses machine generated assembly templates for different operations and that makes it generate correct and shorter code including the places where Hi-Tech miserably fails.

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

Any idea on the realease data yet?

 

Also, will i be able to play with the boot vector of the PIC to boot to a program at the end of the program memory and then go back to the real program?

Share this post


Link to post
Share on other sites
Also, will i be able to play with the boot vector of the PIC to boot to a program at the end of the program memory and then go back to the real program?

Yes you should be able to use any bootloader that is located at the end of program memory.

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

Do you planning make a migration tools to convert old projects to BoostC?

Do you have documentation or advises to migrate C2C project to BoostC?

Share this post


Link to post
Share on other sites
Do you planning make a migration tools to convert old projects to BoostC?

Do you have documentation or advises to migrate C2C project to BoostC?

 

I don't plan to develop any conversion tool because the only differences that matters for migration is in:

- 'const' vs 'rom' variable types. When the 'rom' storage specifier is implemented in BoostC it should be used instead of 'const' in C2C code;

- variable names and labels in built-in assembler.

 

Regards,

Pavel

Share this post


Link to post
Share on other sites
is it possible to install the new BoostC Alpha relaese wihtout to

destroy the c2c Compiler?

 

Both BoostC and C2C are part of SourceBoost installation. They were designed to coexist on the same PC and are selected from SourceBoost IDE trough toolsuite facility.

 

Regards,

Pavel

Share this post


Link to post
Share on other sites
I have a license for the c2c plus compiler. Do I need a new licnese for the BoostC compiler?

 

We will issue free Standard BoostC license for all users who registered C2C-plus or C2C++ within 3 months of the first commercial BoostC release (version 6.0). Other users will need to get a new BoostC license.

 

Regards,

Pavel

Share this post


Link to post
Share on other sites
1. Where is the C++?

C++ compiler will be added later. (If we added C++ compiler together with C alpha release would move somewhere 8-12 months forward). We rather release C now and C++ later than do both much later. We are also looking to add some C++ features into C for users who want to use them. The first in line will be overloading (when functions with same name but different number and types of arguments can exist in same code).

 

2. Still no floats?

No floats in the first release.

 

3. How much the real cost for upgrade is after development versions?

Cost and upgrade policy hasn't been finalized yet. Preliminary plan is to have several types of licenses (lite,standard and pro). The lite version will be free or very low cost. For users who registeres C2C-plus or C2C++ within 2 months before final BoostC release upgrade for standard versions will be free. Other C2C-plus and C2C++ users will need an upgrade license for BoostC compiler. The upgrade license cost will be around the difference between C2C-plus/C2C++ and BoostC license costs + 15$ (again this is preliminary info that hasn't been finalized yet).

 

Regards,

Pavel

 

 

IS there an actual due date for the boostc++? WOuld it be close to christmas time?

Share this post


Link to post
Share on other sites
IS there an actual due date for the boostc++? WOuld it be close to christmas time?

 

No there is no date set and we don't expect BoostC++ to be ready soon. We may introduce a limited C++ compiler where we'll keep addeng C++ features. But this won't happen soon either.

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...