Is there any explanation of the pfc lib? |
This forum is for developer discussions only. If you have a problem / bug report / idea / feature request that isn't related to foobar2000 SDK, post it in an appropiate forum instead - tech support questions go to support forum, everything else goes to general forum.
All non-developer posts on this forum will be removed. Continued abuse of this forum will result in admin actions (warnings, account suspension).
![]() ![]() |
Is there any explanation of the pfc lib? |
Feb 22 2012, 05:58
Post
#1
|
|
|
Group: Members Posts: 3 Joined: 16-January 11 Member No.: 87351 |
It takes a lot of time to understand the classes or methods in the lib.
|
|
|
|
Feb 22 2012, 10:27
Post
#2
|
|
![]() Group: Members (Donating) Posts: 766 Joined: 25-September 03 From: Umeå, Sweden Member No.: 9001 |
There are several reason for the existence of PFC in foobar2000.
One is a wish to decouple the base functionality that components can use from a particular compiler runtime. Without PFC, we would need to mandate a particular VC++ version shared between all components. Another one is that the code has a lot of heritage, from the days of VC6. That compiler had a positively horrible runtime library with plenty of bugs. Any developer from that era tends to have their own base library. All in all, it's designed as an auxillary library focused on correctness in sharing data between multiple modules, a rather non-trivial problem. -------------------- Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered. |
|
|
|
Feb 26 2012, 05:53
Post
#3
|
|
|
Group: Members Posts: 3 Joined: 16-January 11 Member No.: 87351 |
There are several reason for the existence of PFC in foobar2000. One is a wish to decouple the base functionality that components can use from a particular compiler runtime. Without PFC, we would need to mandate a particular VC++ version shared between all components. Another one is that the code has a lot of heritage, from the days of VC6. That compiler had a positively horrible runtime library with plenty of bugs. Any developer from that era tends to have their own base library. All in all, it's designed as an auxillary library focused on correctness in sharing data between multiple modules, a rather non-trivial problem. Thanks a lot! By the way, is there any docs about it? |
|
|
|
Feb 26 2012, 15:48
Post
#4
|
|
![]() Group: Members (Donating) Posts: 766 Joined: 25-September 03 From: Umeå, Sweden Member No.: 9001 |
Most of the documentation for the foobar2000 SDK, including PFC, is in comments in the code. There's some high level tips in sdk-readme.html, but in general, it's comments and looking at existing code.
-------------------- Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 03:55 |