Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still active? #5

Closed
DAddYE opened this issue Dec 4, 2012 · 29 comments
Closed

Still active? #5

DAddYE opened this issue Dec 4, 2012 · 29 comments

Comments

@DAddYE
Copy link
Contributor

DAddYE commented Dec 4, 2012

Seems very interesting, is this project still active?

@Qard
Copy link

Qard commented Dec 4, 2012

I hope so. I want to use it for one of my own projects.

@mattn
Copy link
Owner

mattn commented Dec 4, 2012

I hope also. But mruby has some bugs related GC which is not enough to work correctly for mruby-uv.

@DAddYE
Copy link
Contributor Author

DAddYE commented Dec 4, 2012

also after 3 months ?

@Qard
Copy link

Qard commented Dec 4, 2012

Really? Care to elaborate? I'm just starting to explore mruby so I don't know the state of it too well. Obviously it's still quite unstable and thus a bit of a moving target. But I'd be interested to know where it's functionally unstable.

I'm hoping to use it for a cross-platform 2D game engine, along with libuv for networking and file system access.

@mattn
Copy link
Owner

mattn commented Dec 4, 2012

yep.

https://github.com/mattn/mruby-http/blob/master/example/server.rb

This is a http server which written in mruby-uv & mruby-http.
While running this server, and take benchmark with ab, I got crash in few seconds.

@DAddYE
Copy link
Contributor Author

DAddYE commented Dec 4, 2012

so sad, why your mruby-http isn't based on top of https://github.com/joyent/http-parser ?

@mattn
Copy link
Owner

mattn commented Dec 4, 2012

AFAIK, it got fail for 3 months.

@mattn
Copy link
Owner

mattn commented Dec 4, 2012

The crashed code that i found from gdb always libuv. if anything...

@DAddYE
Copy link
Contributor Author

DAddYE commented Dec 4, 2012

since I'm quite interested for this (for padrino-framework), could you provide a setup instructions, I compiled correctly mruby-uv but I'm unable to do the same for examples

@mattn
Copy link
Owner

mattn commented Dec 4, 2012

Ah, startup logic of mruby was changed drastically in few weeks ago. ok, I'll update example.

@DAddYE
Copy link
Contributor Author

DAddYE commented Dec 4, 2012

Thanks man, and yep I'm also super interested in your go-stuff congrats!

@mattn
Copy link
Owner

mattn commented Dec 4, 2012

However, i didn't check this problem on non-windows box. So this may just only windows issue.

@DAddYE
Copy link
Contributor Author

DAddYE commented Dec 4, 2012

so you have a tester ;)

@mattn
Copy link
Owner

mattn commented Dec 4, 2012

mruby was changed interfaces to static inline. So it can't build on windows. :-(

@DAddYE
Copy link
Contributor Author

DAddYE commented Dec 4, 2012

so it's time to get into a mac :D 👯

@DAddYE
Copy link
Contributor Author

DAddYE commented Dec 4, 2012

did you see this: https://github.com/tokuhirom/node-mruby/blob/master/eg/socketio.rb
it seems to work.

@DAddYE
Copy link
Contributor Author

DAddYE commented Dec 4, 2012

sorry node -> mruby read now :(

@mattn
Copy link
Owner

mattn commented Dec 4, 2012

Hmm, http://go-gyazo.appspot.com/637cf5e4f5a9dd3f.png
It seems top of libuv has a problem on windows...

@DAddYE
Copy link
Contributor Author

DAddYE commented Dec 4, 2012

send me the instructions and I'll try on my env (osx)

@mattn
Copy link
Owner

mattn commented Dec 4, 2012

git clone https://github.com/mruby/mruby
cd mruby && make
echo 'Clone mruby-uv here!'

git clone https://github.com/mattn/mruby-uv
cd mruby-uv && make
cd example
make
./runner timer.rb

@mattn
Copy link
Owner

mattn commented Dec 4, 2012

If you want to try mruby-http.

git clone https://github.com/mruby/mruby
cd mruby && make
echo 'Clone mruby-http here!'

git clone https://github.com/mattn/mruby-http
cd mruby-http && make
cd example
make
./runner server.rb

@DAddYE
Copy link
Contributor Author

DAddYE commented Dec 4, 2012

thx, I'll try

@DAddYE
Copy link
Contributor Author

DAddYE commented Dec 4, 2012

I should clone also libuv inside the same mruby folder?

@mattn
Copy link
Owner

mattn commented Dec 4, 2012

libuv should be located at system library path. Sorry i forgot it.

@DAddYE
Copy link
Contributor Author

DAddYE commented Dec 4, 2012

@mattn
Copy link
Owner

mattn commented Dec 5, 2012

Currently, I'm reporting libuv's problem on wnidows.

joyent/libuv#645

@mattn
Copy link
Owner

mattn commented Dec 5, 2012

I tried GC.start on linux. But not fixed.

@mattn
Copy link
Owner

mattn commented Dec 6, 2012

I've added fix this issue! It seems working fine on windows for me!

@DAddYE
Copy link
Contributor Author

DAddYE commented Dec 6, 2012

yep! me too! Great man!

@DAddYE DAddYE closed this as completed Dec 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants