COSCUP x RubyConf TW 2021

用 mruby 來寫跨平台工具
08-01, 13:30–14:10 (Asia/Taipei), TR214 - Ruby Conf
Language: 漢語


Translate Title

Making Multi-platform Tool With mruby

您是否知悉並同意如採遠端形式分享,需提供預錄影片(您需同意大會才能接受您的稿件) – yes English Abstract

Deployment is one of the biggest issue when developing tools with Ruby. Due to the interpreter nature of Ruby, we need to bundle interpreter and all dependencies with our code when deploying. It's troublesome to deploy tons of stuffs. Is there a better way to deploy?

This talk will introduce mruby, a Ruby that's designed to be embedded into other programs. And show how to write multi-platform single binary tool with mruby.

difficulty: easy
expected audience: people who interested in mruby. people who want to write multi-platform tools.

hackmd url

https://hackmd.io/@coscup/r1jH7TPRO/%2F%40coscup%2FH1A47TPR_

slido url

https://app.sli.do/event/etjpevxf

Abstract

如何部署在多平台上是使用 Ruby 來寫工具時常遇到的一大問題。因為 Ruby 的直譯語言特性,部署使用 Ruby 寫的工具時,必須要包含直譯器和所有的相依函式庫。要安裝一堆東西超級難部署。不知道有沒有可以更方邊部署的方法呢?

本場次會介紹 mruby,一個被設計用來嵌入其他程式的 Ruby。並且示範如何使用 mruby 來寫多平台的單一執行檔工具。

難度:簡單
預期聽眾:對 mruby 有興趣者,想寫多平台工具者。

This speaker also appears in: