MRuby is meant to do things like that. (https://github.com/mruby/mruby\)
The Heroku CLI tools is made with mruby if I'm not wrong.
True as water.
Interpreted languages don't beat native code .
We could just stick to rust or golang but then we wouldn't have the ruby
flow ..
Crystal looks promising..even Nim language is good ..
But, nothing is perfect they say.
ruby.native?
Yours truly,
Poo.
This usually sounds good until you realize the system repositories are
unsupported versions of Ruby. For example, Red Hat 6 uses Ruby 1.8.7, and I
think Red Hat 7 uses Ruby 2.0.0. If you use gems outside of the Standard
Library you're going to have even more fun.
http://leamhall.blogspot.com/2016/08/using-ruby-187-for-fun-and-uh-fun.html
When I've raised this question before there's usually a song and dance
about rvm or other things to patch together to make it work. I see two
paths; code for myself or accept that there is a reason software uses
compiled languages.
This.
Really, deployment is Ruby's Achilles' Heel. There is literally no good,
universal, easy way to solve this problem at the moment. To be fair, Perl,
Python, Node et al, all suffer from the same problem to a greater or lesser
extent: you are expected to install the language yourself, and then use
some special tool to install third-party libraries.
If you genuinely want a good deployment story that works across platforms,
then you need to use something like Go or Rust -- or, yes, Crystal, once
they get Windows cross-compile working; they are busy doing that right now.
All these languages embed the source of their third-party libraries in with
the source code before compiling. I've sometimes thought that, in
hindsight, this would be a better approach for Ruby. But it's not easy to
get there from where we are now.
Click here to view Company Information and Confidentiality Notice.<
http://www.jameshall.co.uk/index.php/small-print/email-disclaimer>
Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
···
On 4. April 2018 at 17:20:00, Surya Poojary (suryapjr@gmail.com) wrote:
On 04-Apr-2018 8:34 PM, "Andy Jones" <Andy.Jones@jameshall.co.uk> wrote: