Well, node core, I think, is in a place where it's starting to
converge on an intended final state. You won't see any sweeping api
changes probably, and instead will see improvement in the user
experience and a lot of stability fixes. In a year, node will be that
much more battle-hardened but not really fundamentally different.
All the action's gonna be in userspace, I think.
First of all, I think we're going to see improvements on the "browsing
npm" front, since they're sorely needed and something people are
already experimenting with.
I also think we're going to see a change/solidification in terms of
common node.js frameworks. Right now express is still really popular
but there are many new frameworks coming out (there was a podcast
about these frameworks on nodeUp not too long ago) and I think at
least a few of them are going to give express a run for their money.
Speaking of money: Mine's on flatiron, but hey, I'm biased.
With improvements on the native bindings experience, I hope we also
see some interesting new native bindings, though current trends
indicate people prefer pure js bindings for reasons other than "oh
maan I have to compile something" imo.
> At some point nodes going to run into a wall, and that wall is javascript.
I will admit that javascript has its limits (numerical stuffs as you
point out). However, I don't think these will be experienced as a
wall. Instead, I predict that other environments and languages will
get libuv bindings (along the lines of luvit), and that for certain
problems these will become popular. For example, I saw a branch on
julia-lang for binding the core to libuv, and that would be a great
way to create services that can data crunch. On a similar note, luvit
is already being used in places where v8 has been deemed to have too
large of a memory footprint.
Cheers,
--Josh
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
--
Joshua Holbrook
Engineer
Nodejitsu Inc.
jo...@nodejitsu.com
What about stuff like JSON.stringify. The whole idea of node and its stream with stringify and parse just dont fit. It worked in the browser but might not be the best for node.How can we better do things that javascript is not so great at. Like JSON.pipe with the work been done in c++ and it passing back a buffer. These are the improvements that node need to think about.
--
Whats the plan?
--
That's not really something node's interested in. The various working
groups might make language proposals and the v8 peeps might implement
some of them, but that stuff's outside node's scope.
> These are the improvements that node need to think about.
Ehh, it's not node's style. Node's really designed so other people can
write streaming json parsers for it. We already have more than one to
choose from.
--Josh
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
--
> JavaScript has a lot of baggage thanks to 20 years of crap browsers,Your trolling isn't really working. Why did you change your name since the OP?
PS: I dont see how this is trolling. I'm just asking a question about node. But fuck ill think about it and not ask about. thanks.
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
--
chrisrhoden
Buffers are based on a low-level primitive that V8 provides.
Streams are a high-level concept that isn't suitable for embedding at
the language level.
-Karl Tiedt
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
Yes. It's something we're working on or at least thinking about.
Consider it an ongoing effort.
> JSON.stringify/parse is still very slow for serialisation of js objects
> (understandably so) and would be good to see some way of sharing/passing
> objects efficiently between processes.
Ditto, except for object passing. Non-scientific sampling (IRC, ML,
the bug tracker) suggests that object passing is not a bottleneck - or
even an issue - to most people.
> would also be good to see libuv and the c++ parts of node.js be able to
> fully support multi threading and isolates somewhere down the line. is not
> something i'm particularly interested in right now, but i can see why people
> keep bringing it up.
Those people simply haven't seen the light that's process isolation.
Don't worry, it will come to them.
> thanks for the feedback ben.
>
> as for process isolation. i agree it's a better way of doing things for most scenarios but if you want to build a low latency system there is a lot of overhead in having to serialise objects and pass them across a process boundary. at some stage, it would be nice to be able to build a system in node.js that used many cores on one machine and is able to efficiently share objects/data between them without a lot of locking and contention. as far as i can see the only way of being able to do this REALLY fast is to use threads and manage contention using volatile variables or something like that. i have been doing a lot of reading around the LMAX disruptor pattern which is able to get orders of magnitude better performance than a traditional process or thread/mutex based solution. i'd love to see node.js/v8 support for something like this in the future, although i can see that it would be very difficult to achieve.
>
> more info on distruptor here:
>
> http://code.google.com/p/disruptor/
Of course, in the meantime, you can use <https://github.com/xk/node-threads-a-gogo> :-)
It runs JavaScript in threads/pools of threads:
- almost twice as fast as node's main thread
- with several times the throughput of a cluster of nodes communicating via IPC
- needs just a fraction of the memory of a cluster
- will be even faster in the near future: it will soon pass data by reference across threads.
--
Jorge.