IPB

Welcome Guest ( Log In | Register )

> foobar2000 Development Forum Rules

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).

 
Reply to this topicStart new topic
Is there any explanation of the pfc lib?
x88se
post 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.
Go to the top of the page
+Quote Post
Zao
post Feb 22 2012, 10:27
Post #2





Group: Members (Donating)
Posts: 899
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.
Go to the top of the page
+Quote Post
x88se
post Feb 26 2012, 05:53
Post #3





Group: Members
Posts: 3
Joined: 16-January 11
Member No.: 87351



QUOTE (Zao @ Feb 22 2012, 17:27) *
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?
Go to the top of the page
+Quote Post
Zao
post Feb 26 2012, 15:48
Post #4





Group: Members (Donating)
Posts: 899
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.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th July 2014 - 13:48