Build faster, smaller, leaner applications An advanced JDK with ahead-of-time Native Image compilation
Ruby ã®ã³ã³ãã¤ã©éçºãéãã¦è¨èªå¦çç³»ãä½ã£ã¦ã¿ããã åºç¤ï¼æ§æ解æçµæ â ãã¤ãã³ã¼ãã¸ã®å¤æ çºå±ï¼ãããªãæé©åã»é«éåRead less
LLRBã¨ããRubyåãã®ã¡ã½ããJITã³ã³ãã¤ã©ãæ¸ãã¦ãã github.com RubyKaigi 2015ã®æå¾ã®ãã¼ãã¼ãã§@evanphxããLLVMã§CRubyã®ã³ã¼ããã¤ã³ã©ã¤ã³åããã¡ã½ããJITãå®è£ ãããéããããããã¿ãããªçºè¡¨ããã¦ããã®ãè¦ãã¦ããã ãããã LLRBã¨ããã®ã¯ã¾ãã«ãããå®è£ ãã¦ããããã¸ã§ã¯ãã§ãããå°ãªãã¨ãç¾æç¹ã§ãLLVMã§CRubyã®ã³ã¼ããã¤ã³ã©ã¤ã³åããã¡ã½ããJITãã¨è¨ããç¶æ ã¾ã§å®è£ ã§ãããã®ã«ãã£ã¦ã¯å¹æãåºãç¶æ ã«ãªã£ãã®ã§å ¬éããã ãªãã§æ¸ãã¦ãã® è¨èªãèªåã§å®è£ ããã¨ãã®è¨èªã«é¢ããç解ã大åæ·±ã¾ããã¨ããã®ãHamlã®å®è£ ã¨ãCã³ã³ãã¤ã©ã¨ãã§ä½é¨ãã¦ãã¦ãåãä¸çªå¥½ããªè¨èªã¯Rubyãªã®ã§Rubyã§ãããããã£ã¦ãããããã¨ããã®ããã£ããã¾ããRubyã¯é ãã¨è¨ãããã¡ã ããã©ãã«æ¹åå¯è½ãªç¹ãç ã£ã¦ãã
â¡ Google Chrome version 59 will ship with the headless option. This means you can test your web applications using chrome without needing xvfb. One problem: the latest chromedriver (version 2.29) doesn't support versions of Chrome higher than 58. The solution is to build the latest chromedriver that supports the latest chrome/chromium. Google does not make nightly builds of chromedriver public, yo
A proposal of new concurrency model for Ruby 3 Koichi Sasada ko1@heroku.com People love âConcurrencyâ Concurrent RubyKaigi (at least, there are two parallel sessions) Why people love (to discuss) âConcurrencyâ? â¢Performance by âParallelâ execution to utilize multiple-cores â¢Ruby has thread system, but MRI doesnât permit to allow parallel execution. About this presentation â¢Show âWhy difficult mult
2. èªå·±ç´¹ä»ï¼é è¤ä¾ä» ⢠Ruby ã³ããã¿ï¼2008å¹´ï½ï¼ â Rubyã®ãã¹ããå¢å¼·ãã â ã³ã¼ãã«ãã¬ãã¸æ¸¬å®æ©è½ã å®è£ ãã â ãã¼ã¯ã¼ãå¼æ°ãå®è£ ãã â Ruby 2.0 ãªãªã¼ã¹ããã¼ã¸ã£ ã ã£ã â æè¿ã¯ä½ããã¦ãªã 2 â06ä¸ â07ä¸ â07ä¸ â08ä¸ 60 70 80 90 100 coverage(%) 70% 85% C0ã«ãã¬ãã¸é·ç§» 3. ã¨ç§ ⢠ç«ã¡ä¸ãã®æã« @chezou ããã«ç¸è«ãåãã ⢠åæã«æ°åã ãåå ãã ⢠Kawasaki.rb #005 ï¼2013-10-23ï¼ã§çºè¡¨ãã â 以ä¸ï¼ãã¿ã¾ããï¼ â¢ ã¡ãªã¿ã« Kawasaki.rb #005 ã§çºè¡¨ãããã®ã¯ 3 4. eval$s=%q(eval(%w(B=92.chr;N=10.chr;n=0;e=->(s){Q[Q[s,B],?"].gsub(N,B+?n)};
June 12, 2016 I love debugging tools. One of the most frustrating things to me is â when I run a Ruby or Python program, I canât find out what that program is doing RIGHT NOW. You might eagerly interrupt me â julia, you say, you can use pdb! or pry! or rbtrace!. So, let me explain. If Iâm running a program on the JVM with PID 4242, I can run jstack -p 4242, and it will print the current stack trac
https://github.com/sstephenson/rbenv/wiki/Understanding-binstubs ã®ç¿»è¨³ã§ããããªãé©å½ã§ãã誤訳çãã£ãããææããã ããã°ã¨æãã¾ãã rvm seppku ããããæéããã£ã¦æãªã®ã§ããã®éã« rbenv ã«ã¤ãã¦èª¿ã¹ã¦ããçºè¦ããã®ã§ããã binstub ãå¦ã¼ãï¼ binstub ã¯å®è¡å¯è½ãã¡ã¤ã«ï¼ãããããã¤ããªã¼ãã³ã³ãã¤ã«ããã¦ããã¨ã¯éããªãï¼ãã©ãããã¦ããã¹ã¯ãªããã§ããã®ç®çã¯å ã®å®è¡å¯è½ãã¡ã¤ã«ãå¼ã³åºãåã«ç°å¢ãæ´ãããã¨ã§ããã Ruby ã®ä¸çã§ããã¨ãRubyGems ã¯å®è¡å¯è½ãã¡ã¤ã«ãå«ãã gem ãã¤ã³ã¹ãã¼ã«ããå¾ã«ãããã¤ã® binstub ãçæãã¦ããããããbinstub ã¯ã©ããªè¨èªã§ãæ¸ãããããèªåèªèº«ã§æ¸ãã¦ã¿ã¦ãè¯ãããããªãããªã Ruby Gems gem
TL;DR Jupyter Notebookãã¢ããï¼ Rubyã¨ãElixirãåããã¦ã¿ããï¼ Dockerã³ã³ããã§åããã°æ¥½ï¼ Docker Toolboxã ãã§OKï¼ Pythonã®ç¥èãªãã¦ãç°å¢æ§ç¯ã§ãã RubyãElixirã®ç¥èããªãã¦ãJupyter Notebookä¸ã§ãããã®è¨èªãæ±ãã Jupyter Notebookã«ã¤ã㦠Jupyter Notebookããããï¼ã¨ãã話ã¯è²ã ãªã¨ããã§ãªããã¦ããããæ¬ç¨¿ã§ã¯çç¥ãã: Jupyterããããå¢ãã§ãã£ã¦ãããããåãåãã¨ãï¼IPython Notebook + Rï¼ - Qiita Railsã¨ã³ã¸ãã¢ã«å½¹ç«ã¤Jupyter Notebookã¨iRuby - ã¯ãã¯ãããéçºè ããã° ç¾ä»£ã®ã¨ã³ã¸ãã¢ã®ããã®å¼·åãªã¡ã¢å¸³ Jupyter notebookã®ããã - ã¯ãã¯ãããéçºè ããã° ãã®Ju
toRuby & guRuby åºå¼µç ã§ã·ã°ãã«ã«ã¤ãã¦ãã£ã¦ãã®ã§ãé¢é£ãã¦æ¸ãã¦ã¿ã¾ãã ã©ã®ãããªæã«ã·ã°ãã«ãã³ãã©ãå®ç¾©ããã®ã ã©ã®ãããªæã«ã·ã°ãã«ãã³ãã©ãå®ç¾©ããã®ãã¨ãã話ãããã¾ããã UNIXã®ãã¼ã¢ã³ããã°ã©ã ã¯ãä½ãç±æ¥ãªã®ããããã¾ããããSIGHUP ã§è¨å®ãã¡ã¤ã«ã®åèªã¿è¾¼ã¿ãè¡ãã®ãæ £ç¿ã«ãªã£ã¦ãã¾ãã SIGHUP ã¯ããã©ã«ãåä½ã§ã¯ããã°ã©ã ãçµäºããã¦ãã¾ãã ããªã®ã§ãSIGHUP ã§ç¹å¥ãªå¦çãè¡ãããããã°ã©ã ã¯ã·ã°ãã«ãã³ãã©ãå®ç¾©ãã¦ãã¾ãã æ¬æ¥ SIGHUP ã¯ç«¯æ«ãçµäºããæã«ç«¯æ«ä¸ã§åãã¦ããããã°ã©ã ã«å¯¾ãã¦OSãçºè¡ããããã®ãã®ã§ãã ãã¨ãã°ã端æ«ã¨ãã¥ã¬ã¼ã¿ãéãã¦ã % sleep 9999 ã¨å®è¡ãã¦ãç¶æ ã§ç«¯æ«ã¨ãã¥ã¬ã¼ã¿ãéãã㨠sleep ããã»ã¹ã« SIGHUP ãéããã¾ããå¥ã®ç«¯æ«ãã strace
In the first article, we examined why the fork() system call is useful and where it fits into the grand scheme of things. We saw that by passing a block to Kernel#fork or Process#fork it is possible to execute arbitrary code concurrently (or in parallel if there are multiple processors). In addition, we saw that although forking is relatively expensive, it can compete with threading if the Ruby im
I like to think of forking as the underdog of the concurrency world. In fact, at this point, many programmers have probably never even heard of it. The term âmultithreadedâ has almost become synonymous with âconcurrentâ or âparallel.â The fork() system call creates a âcopyâ of the current process. For our purposes in Ruby, it enables arbitrary code to run asynchronously. Since that code will be sc
mrubyã®VMã®ãã«ãã¹ã¬ãã対å¿ãgithubã«ã¦è°è«ããã¦ãã¾ãã multi-thread support on the RiteVM #1657 èªåãthread-safeãªVMã欲ãããªãã¨æã£ã¦ãã¾ããSTM32F4Discoveryã«FreeRTOSè¼ãã¦ä½¿ã£ã¦ã¿ããã 並è¡ã»ä¸¦åå¦çã®æ¦å½æ代? ãã¦ããã«ãã³ã¢ãæ®éã«ãªã£ãããWebã¢ããªã®C10Kåé¡ãããã®ã§ä¸¦è¡ã»ä¸¦åå¦çã¯æ¨ä»ã®ãããã¯ã§ãï¼å¤åï¼ã ãã ãã«ãã¹ã¬ããããã°ã©ãã³ã°ã¯é£ãããï¼ã¨ããã¯æããè¨ããã¦ãããã¨ã§ãã ã§ãããã¡ãã並è¡ã»ä¸¦åå¦çãæ¸ããããåºæ¥ãªãã®ããï¼ã¨ãããã¨ã§Erlang,go,Scala(Actor),EventMachine,Thread pool ,node.js,deferred,future,java.util.concurrentè²ã åºã¦ãã¾ãã ï¼è¨èªã¨ã©ã¤
$ bin/rails g scaffold user name:string mail:string password:string invoke active_record create db/migrate/20151214145437_create_users.rb create app/models/user.rb invoke test_unit create test/models/user_test.rb create test/fixtures/users.yml invoke api_resource_route route resources :users, except: [:new, :edit] invoke scaffold_controller create app/controllers/users_controller.rb invoke test_un
Rhebok, High Performance Rack Handler / Rubykaigi 2015 This document discusses Rhebok, a high performance Rack handler written in Ruby. Rhebok uses a prefork architecture for concurrency and achieves 1.5-2x better performance than Unicorn. It implements efficient network I/O using techniques like IO timeouts, TCP_NODELAY, and writev(). Rhebok also uses the ultra-fast PicoHTTPParser for HTTP reques
IBM is developing a just-in-time (JIT) compiler called Testarossa based on its Open Runtime (OMR) toolkit. The goal is to integrate the JIT compiler into MRI Ruby to improve performance without changing how MRI works. So far, the JIT supports most opcodes and can run Rails applications, but performance gains are modest. IBM hopes to collaborate with the Ruby community to further optimize Ruby and
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}