I started with File > New > FreeCDF so I can save my work in a format compatible with the CDF Player. I can use Mathematica to make new cells, evaluate input and so in the CDF file. What are the differences between using File > New > FreeCDF and File > New > Notebook? I suppose there are cases when you want to use file.nb instead of file.cdf but what are they?
|
|
||||
|
|
|
If your goal is to work within Mathematica, FreeCDF and Notebook are functionally equivalent. There might be, I suppose, a bug or two yet remaining such as the one pointed out in another response. But the file formats are identical, and the functionality is completely equivalent. However, saving a FreeCDF file will be slower. FreeCDF adds a signature to the end of the file which authenticates the file as having been generated by a genuine copy of Mathematica with the ability to enable certain rights and privileges when that file is run inside of Wolfram CDF Player. This signature ends up hashing the file, which can noticeably slow down file saving when working with very large files (especially hundreds of megabytes). For that reason and others (most notably a concern for compatibility with older versions of Mathematica), Wolfram elected to continue to make .nb the default file format for a while longer. |
|||||||
|
|
Interesting question. I have done some (very limited) testing and up to now did only find one thing that didn't work: If you set the As you have mentioned in your comment, such testing can hardly ever be complete and there might very well be other things that don't work or work different. There is some information that can be concluded from looking at what the files contain (I guess you know that you can do that yourself to find more details as they are just text files which can be looked at with any decent text editor), and I thought that is interesting enough to share. The differences I've seen so far are:
These differences (and others that I might not have detected) are what could influence your decision on which format to use. The licensing information might be a no go for some use cases, the caching information might make a difference for large notebooks in everyday use. I don't see any disadvantage of having the signature stored within the file. Unfortunately I also don't know an obvious way how you could check the integrity of the file or making other use of that signature -- except for opening it with CDF-Player and see if it complains... |
|||||||
|