Comments (6)
I wasn't sure if HTML would work, and it clearly didn't. Anyway, the URL is
http://www.codeproject.com/KB/cpp/FastDelegate.aspx
Original comment by kennethdmiller3
on 31 Aug 2009 at 2:52
from box2d.
FastDelegate requires non-standard C++ as well as compiler specific
implementations.
Too much work for little gain. boost::function style delegates would work, but
don't provide any performance advantages (only trade offs).
Original comment by [email protected]
on 31 Aug 2009 at 8:35
from box2d.
While FastDelegate is indeed nonstandard, it's widely supported by modern
compilers.
There's another one
(http://www.codeproject.com/KB/cpp/ImpossiblyFastCppDelegate.aspx) that's
standards-compliant but less-widely supported (ironically). There's always a
possibility that the iPhone or Nintendo DS platforms might have issues, but
their
compilers seem decent enough. (Ultimately, a delegate is a simple thing: a
"this"
pointer and a function address. There's only so many ways to construct a
virtual
function or a pointer to member...)
Original comment by kennethdmiller3
on 31 Aug 2009 at 9:26
from box2d.
I've made use of FastDelegate on the DS in both ARM and THUMB modes (haven't
tested
it using the home-brew environment though)
Original comment by [email protected]
on 2 Sep 2009 at 10:31
from box2d.
You can essentially implement your own delegates already.
Original comment by [email protected]
on 19 Sep 2009 at 8:15
- Changed state: WontFix
from box2d.
True, though it isn't as efficient because it requires a third layer of
indirection
(virtual function table, virtual function, and target method). :)
Original comment by kennethdmiller3
on 19 Sep 2009 at 2:15
from box2d.
Related Issues (20)
- Read/Write dependencies on constraints in contact solvers impacting out of order processors HOT 11
- Build on Ubuntu 22.04 fails due to outdated doctest.h HOT 1
- missing api for fixture traversal HOT 1
- Warmstart GJK fails HOT 1
- Sensors on Static/Kinematic Bodies HOT 1
- pip install box2d on Windows with Python 3.10 not working HOT 1
- Possibilty of setting float precision in b2_settings.
- Wrong parameter names in 'collision.h'.
- Unitialized data is referenced in 'b2PolygonShape::Set'. HOT 1
- Build Box2D at 100% Fail: convex_hull.cpp.o error HOT 1
- unnecessary compassion in b2_collision.cpp HOT 3
- Handling of Complex Polygons in Box2D HOT 1
- LINK : fatal error LNK1104: cannot open file 'box2d.lib' HOT 2
- Full Bounce Error HOT 1
- Windows error LNK2019: unresolved external symbol
- Velocity making weird things HOT 1
- ResetMassData asserts and crashes client application
- Check for valid query/ray/cast input
- b2World class does not have default constructor
- Sample compile error - w/workaround HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from box2d.