Live data from Hacker News

Neon: Node plus Rust

calculist.org

11–20 of 71 posts

Re: Neon: Node plus Rust

#11
post #4
post #2

Wow! The integration with rayon for data parallelism is especially interesting, and I imagine that could be a killer feature for some people looking to accelerate compute-heavy node.js code without having to deal with the nastiness of parallelism in C++, or C++ at all.

I don't believe the blog post announcing Rayon ever made it to HN, so here's a convenient link: http://smallcultfollowing.com/babysteps/blog/2015/12/18/rayo...

Only a handful of comments but it was posted a few days ago: https://news.ycombinator.com/item?id=10759434

Re: Neon: Node plus Rust

#12

I wonder what makes it osx only? very cool project though, hope it takes off. I wish there was a way on github to watch a project at a level where you could just get notified of new releases.

Only that Dave only has access to OS X. I plan on contributing Linux support if nobody else beats me to it.

Re: Neon: Node plus Rust

#13

I wonder what makes it osx only? very cool project though, hope it takes off. I wish there was a way on github to watch a project at a level where you could just get notified of new releases.

Only that Dave only has access to OS X. I plan on contributing Linux support if nobody else beats me to it.

Yeah, that's all, just crawling before I walk. Lots of work to do, and very excited to welcome contributors and collaborators!

Re: Neon: Node plus Rust

#16

I've been very excited to see this project develop. I think it really speaks to what we can do with Rust in the future: once we get some nice abstractions, "FFI" barely even feels like it. Node is actually the worst case here: V8 being in C++ makes this harder than Ruby or Python, being implemented in C.

Did Yehuda ever open source or complete a similar abstraction like this but for Ruby? I remember someone mentioning to me he was working on it. I have a longstanding todo (though I have no motivation because I currently have no use for Rust or Ruby) to try something similar though I remember my initial attempts having trouble with how Ruby's C API expresses some values.

Re: Neon: Node plus Rust

#17

I wonder what makes it osx only? very cool project though, hope it takes off. I wish there was a way on github to watch a project at a level where you could just get notified of new releases.

Only that Dave only has access to OS X. I plan on contributing Linux support if nobody else beats me to it.

I'll be very happy to test on Linux (don't think I have the skill to create it just yet:)

Re: Neon: Node plus Rust

#18

Does anyone know what is the difference between using this neon vs using node-ffi[1]? [1] https://github.com/node-ffi/node-ffi

Neon is for creating native Node modules in rust, which are libraries that use the Node addon API [1].

node-ffi seems to be for adding a bridge between an existing non-Node module dynamic library and node, which at the very least seems to incur some non-negligible overhead; see the "Call Overhead" section of your link.

[1]: https://nodejs.org/api/addons.html

Post reply on HN