Comments (6)
Hey aa21a1f fixes the build on node 0.7.x. Fibers doesn't play nice with Isolates at all, so don't try that.. but anything that worked in node 0.6.x should probably work.
from node-fibers.
I'm getting the following error:
make
make -C src fibers.node
make[1]: Entering directory `/home/ubuntu/sourcecode/asyncblock/node_modules/fibers/src'
make[1]: `fibers.node' is up to date.
make[1]: Leaving directory `/home/ubuntu/sourcecode/asyncblock/node_modules/fibers/src'
./test.sh
already-running.js: pass
bad-context.js: pass
child-process.js: pass
current.js: pass
exec.js: pass
exit.js: pass
fibonacci.js: pass
FATAL ERROR: v8::Isolate::Dispose() Disposing the isolate that is entered by a thread.
make: *** [test] Error 1
from node-fibers.
Looks like isolates are getting removed in 0.7.3. We can revisit after it's released.
http://groups.google.com/group/nodejs/browse_thread/thread/ccbceea36f76857d#
Thanks for looking into this!
Chris
from node-fibers.
The build works against v0.7.3!
The benchmarks look good, too. Creating 100,000 asyncblocks (fibers) went from 2.1 seconds in 0.6.9 to 1.5 seconds in 0.7.3.
from node-fibers.
Very cool!
Keep in mind, though, that just invoking new Fiber(function{})
doesn't actually do any work. Coroutines are not created until run() is called for the first time.
from node-fibers.
Yeah, creating an asyncblock runs the contents immediately.
On Feb 13, 2012, at 2:44 PM, Marcel [email protected] wrote:
Very cool!
Keep in mind, though, that just invoking
new Fiber(function{})
doesn't actually do any work. Coroutines are not created until run() is called for the first time.
Reply to this email directly or view it on GitHub:
#49 (comment)
from node-fibers.
Related Issues (20)
- Binary is not included when installing fibers on Ubuntu 18.04 with Node 15 HOT 1
- ES6 Module support
- NPM install error for fibers HOT 1
- npm install fibers with error(node v12.15.0) HOT 8
- A Big Thank You HOT 3
- Debian9: Assertion `thread_id_key != 0x7777' failed HOT 2
- C++ compile errors trying to install fibers @3.1.1 HOT 4
- node process blocks if you use fiber in proces.once('exit', ...) callback
- not support python3?
- what to do it does not work on node 16 but I really need this package for the code to work HOT 1
- Latest version 5.0.2 is not tagged. HOT 4
- New NPM version released HOT 1
- latest version 5.0.2 won't install HOT 2
- Maintenance
- Whether the node version v16.x.x is supported HOT 1
- Fails to build on debian testing (required for rocket.chat 😕 ) HOT 4
- node: ../src/coroutine.cc:134: void* find_thread_id_key(void*): Assertion `thread_id_key != 0x7777' failed. Aborted (core dumped)
- When i start my back-end app then saw this error recently
- Node 20.6.1 support HOT 1
- Cannot find module win32-x64-108\fibers
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 node-fibers.