- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have restriction in my game engine: not to use third party dynamic libraries.
Only in form of static linking (due to security reasons, preformance and integration to other platforms).
So in out I have solid exe file.
I saw a question about this issue:
http://threadingbuildingblocks.org/wiki/index.php?title=Using_TBB
"But some libraries control program-wide resources, such as memory and processors. For example, garbage collectors control memory allocation across a program. Analogously, TBB controls scheduling of tasks across a program.To do their job effectively, each of these must be a singleton; that is, have a sole instance that can coordinate activities across the entire program."
But I have only one exe file, and in one execution unit not possible to link multiple instances of your singletons.
(You'll get multiple definitions link error).
Question to TBB developers (I hope you read this :) :
Why you just denied opportunity to link statically ?
Why just not to give responsibility for that to users of library ? (In case of multiple instances of singletons, just crash in runtime in debug mode with proper error message ?)
Only in form of static linking (due to security reasons, preformance and integration to other platforms).
So in out I have solid exe file.
I saw a question about this issue:
http://threadingbuildingblocks.org/wiki/index.php?title=Using_TBB
"But some libraries control program-wide resources, such as memory and processors. For example, garbage collectors control memory allocation across a program. Analogously, TBB controls scheduling of tasks across a program.To do their job effectively, each of these must be a singleton; that is, have a sole instance that can coordinate activities across the entire program."
But I have only one exe file, and in one execution unit not possible to link multiple instances of your singletons.
(You'll get multiple definitions link error).
Question to TBB developers (I hope you read this :) :
Why you just denied opportunity to link statically ?
Why just not to give responsibility for that to users of library ? (In case of multiple instances of singletons, just crash in runtime in debug mode with proper error message ?)
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your interest in TBB.
There are two options for you if static linking is such an important feature:
1) Use the open source version of TBB.
2) Contact Intel_Tools_Games@intel.com
Note the recent sample Game Engine Tasking does this ( static linking ) and the download page contains the same email link to contact.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page