Hacker News new | past | comments | ask | show | jobs | submit login

It's already done often, especially for frontend gems. See execjs [0].

[0] https://github.com/sstephenson/execjs




I'm surprised I haven't heard to that gem. I would assume that adding Duktape as another supported runtime to execjs would be possible.


It's what power the coffeescript and uglifier support in Rails.

You may not have heard of it, but you likely used it.


If someone publishes a ruby-duktap c extension, I'll definitely get that supported in ExecJS.


Ha, I guess someone started this awhile ago.

https://github.com/judofyr/duktape.rb

I opened a PR update it to 1.0.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: