(:zap: may break some mrbgems)
- change format of MRUBY_VERSION
- mruby.h includes mruby/version.h
- remove support for very old cygwin releases
- add RUBY_ENGINE (C API)
- https://github.com/mruby/mruby/commit/27dbcd0f0d6f6144d5d59d215131bdbafda14f46
(require 'tramp) | |
(eval-after-load 'tramp | |
'(progn | |
(setenv "SHELL" "/bin/sh") ; tramp expects something on shell... | |
(setenv "TMPDIR" "/tmp") ; tramp hates long directory name... | |
(setq vc-handled-backends '()))) ; tramp freezes... | |
FROM ubuntu:14.04 | |
RUN apt-get update | |
RUN apt-get install -y autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libevent-dev libjansson-dev libjemalloc-dev | |
RUN apt-get install -y curl make gcc git g++ | |
WORKDIR /root | |
RUN curl -L https://github.com/tatsuhiro-t/nghttp2/releases/download/v0.4.0/nghttp2-0.4.0.tar.bz2 | tar jxf - | |
WORKDIR /root/nghttp2-0.4.0 | |
RUN autoreconf -i |
FROM ubuntu | |
RUN apt-get update | |
RUN apt-get install -y autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libxml2-dev libjansson-dev libjemalloc-dev libev-dev | |
RUN apt-get install -y make gcc git g++ | |
RUN apt-get install -y curl | |
# | |
# OpenSSL 1.0.2a | |
# |
mrbgem をひとつだけ削ってビルドした mruby が、起動直後に GC.start した後に malloc(3) で確保しているバイト数 | |
bytes diff | |
mruby-bin-mirb 276481 0 | |
mruby-bin-mruby 276481 0 | |
mruby-toplevel-ext 275703 -778 | |
mruby-time 274895 -1586 | |
mruby-proc-ext 274326 -2155 | |
mruby-string-ext 272463 -4018 | |
mruby-random 270315 -6166 |
mrbgem をひとつだけ追加してビルドした mruby が、起動直後に GC.start した後に malloc(3) で確保しているバイト数 | |
# gem bytes increase | |
mruby-bin-mirb 146038 0 | |
mruby-bin-mruby 146038 0 | |
mruby-range-ext 146045 7 | |
mruby-sprintf 146053 15 | |
mruby-numeric-ext 146256 218 | |
mruby-object-ext 146258 220 | |
mruby-print 146679 641 |
(:zap: may break some mrbgems)
明示的にサポートしている capability は
change_host_name
configure_networks
halt
mount_nfs_folder
linux に(のみ)あるのは
insert_public_key
: 動いた方がいいんだろうな。#include <stdio.h> | |
int | |
main(int argc, char **argv) | |
{ | |
float f; | |
unsigned int i, mask; | |
f = 1.5; | |
i = *(unsigned int *)(void *)&f; | |
for (mask = 1 << 31; mask > 0; mask >>= 1) { |