These are chat archives for voodooattack/nexusjs

26th
Apr 2016
Rares Golea
@rgolea
Apr 26 2016 14:46 UTC
Hey! How is this project going on? What is it’s current architecture? Is it still Node.js? How will you request stuff? It will still use require and module.exports? Will it be Node.js compatible? Why start a new project instead of helping Node.js grow bigger?
Gosh! I have lots of questions about this project...
Abdullah A. Hassan
@voodooattack
Apr 26 2016 14:46 UTC
Haha
That's okay
The project is doing great. I wish I had any help though. The more contributions the better.
It's currently based on the boost::iostreams architecture in the department of I/O
Other than that, brand new interface
Rares Golea
@rgolea
Apr 26 2016 14:49 UTC
I wish I could help… And if you think I might be able to I’d like to join… the problem, however is that I don’t really know how to code in anything else than javascript/es6/typescript
do you have any code examples?
Abdullah A. Hassan
@voodooattack
Apr 26 2016 14:49 UTC
Aha. You'll need C++ knowledge to help
Rares Golea
@rgolea
Apr 26 2016 14:49 UTC
I followed your blog but as far as I can tell, there are only 2 posts
I know… That’s the reason I don’t think I’m able to help
:|
Abdullah A. Hassan
@voodooattack
Apr 26 2016 14:50 UTC
Although in the future there will be space to implement more built ins in es6
Rares Golea
@rgolea
Apr 26 2016 14:51 UTC
why not contribute to the original node.js platform?
Abdullah A. Hassan
@voodooattack
Apr 26 2016 14:51 UTC
It's too different of a technology
I'm using JavaScriptCore. Node uses V8
And yes. It currently uses module.exports
Although that will change once JavaScriptCore implements es6 modules fully
Rares Golea
@rgolea
Apr 26 2016 14:53 UTC
will current js libraries be available? underscore, lodash, etc
?
I mean… will you create a new package manager or stick to a current one?
Abdullah A. Hassan
@voodooattack
Apr 26 2016 14:53 UTC
Some of them
Not all will work
Rares Golea
@rgolea
Apr 26 2016 14:54 UTC
I suppose not those that are based on Node’s api
Abdullah A. Hassan
@voodooattack
Apr 26 2016 14:54 UTC
Some will need rewriting to avoid globals
Well, there will be shims for node compatibility
But somethings will not work
Rares Golea
@rgolea
Apr 26 2016 14:55 UTC
One last question: What pushed you to start building it?
Oh! and what version are you currently on? where can you see the version?
Abdullah A. Hassan
@voodooattack
Apr 26 2016 14:58 UTC
I originally implemented the scheduler for a game (ADWIF in my github profile) I thought it was a waste to use it for just a game. JavaScript needed the ability to be truly asynchronous and the design was at the back of my mind
So I decided to follow the idea and see where it took me
And here we are
Rares Golea
@rgolea
Apr 26 2016 14:59 UTC
nice!
Abdullah A. Hassan
@voodooattack
Apr 26 2016 14:59 UTC
😀
So, what do you think of the idea so far?
Rares Golea
@rgolea
Apr 26 2016 15:01 UTC
seems like a really cool idea… You need more people to help you with it and you will have lots of problems with competing with node.js and it’s humongous community
Abdullah A. Hassan
@voodooattack
Apr 26 2016 15:02 UTC
That's true
Rares Golea
@rgolea
Apr 26 2016 15:02 UTC
but if operations after benchmarking are that faster...
go for it
you’ll surely find big support from the community
Abdullah A. Hassan
@voodooattack
Apr 26 2016 15:02 UTC
I'm actually really surprised by that benchmark
I wasn't expecting it
I can't wait to add chained emitters
It will be a blast
Btw chained emitters are event emitters with promises
Rares Golea
@rgolea
Apr 26 2016 15:05 UTC
wow!
that will be really nice
Have you checked already reactive programming?
Abdullah A. Hassan
@voodooattack
Apr 26 2016 15:06 UTC
Yes. There's a library for node as well
Yes
Rares Golea
@rgolea
Apr 26 2016 15:07 UTC
well… not sure if you can implement it from scratch in nexus and make it run difficult tasks like that
but I think it’s worth a shot
and btw… http2 ready from the start
whenever you add the http funcitonality
;)
Abdullah A. Hassan
@voodooattack
Apr 26 2016 15:08 UTC
Hehe
Sure thing
Rares Golea
@rgolea
Apr 26 2016 15:08 UTC
it can increase exponencially speed
might be nice
;)
Abdullah A. Hassan
@voodooattack
Apr 26 2016 15:09 UTC
True
It will be fun to implement
Rares Golea
@rgolea
Apr 26 2016 15:09 UTC
hopefully it will ;)
Abdullah A. Hassan
@voodooattack
Apr 26 2016 15:10 UTC
👍
Rares Golea
@rgolea
Apr 26 2016 15:10 UTC
give me a shout if you need anything...
and if you think I can help
Abdullah A. Hassan
@voodooattack
Apr 26 2016 15:11 UTC
Sure
Will do 👍
Rares Golea
@rgolea
Apr 26 2016 15:11 UTC
:+1:
jtenner
@jtenner
Apr 26 2016 16:32 UTC

@voodooattack I seemed to lack the brain activity to figure out that you were literally designing a platform. I'm so used to everyone talking about node.js that I thought this ran in node.js.

My mistake. :)

Rares Golea
@rgolea
Apr 26 2016 16:33 UTC
@jtenner took me a while as well… I started looking everywhere for a package.json or something to install on node… that’s why I wanted so badly the version…
I first thought it was a module
:)
jtenner
@jtenner
Apr 26 2016 16:34 UTC
@rgolea I don't feel so bad anymore. XD
Rares Golea
@rgolea
Apr 26 2016 16:34 UTC
:smile:
jtenner
@jtenner
Apr 26 2016 16:34 UTC
I was hoping to put this behind an express.js instance....
Rares Golea
@rgolea
Apr 26 2016 16:34 UTC
Me neither
yeah
I’d really want to help on this project...
it’s just that changing from js to c++ it’s really really hard
jtenner
@jtenner
Apr 26 2016 16:37 UTC
Yeah I agree
@rgolea was there a reason why you chose to not use v8 primitives?
Rares Golea
@rgolea
Apr 26 2016 16:38 UTC
me?
jtenner
@jtenner
Apr 26 2016 16:38 UTC
whoops. I mean @voodooattack
Rares Golea
@rgolea
Apr 26 2016 16:38 UTC
:smile: