Kang-min Liu
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    --- updated_at: 2024-10-01T01:00:06+0900 published_at: 2024-08-03T17:47:53+0900 slideOptions: transition: none touch: true title: 🍺 perlbrew 3000! 🍺 tags: Talk, presentation type: slide --- ![](https://perlbrew.pl/images/h1-beer.png) 🍺 perlbrew 3000! 🍺 Kang-min Liu / @gugod --- # about me - Kang-min Liu / 劉康民 - perlbrew を作った人 - https://gugod.org - X, GitHub: gugod - Mastodon: [@gugod@g0v.social](https://g0v.social/@gugod) - Perl, Kotlin, ... 他のいろいろ --- # perlbrew って? - 複数の perl 環境を作れるツール - 開発環境を整える - プロジェクトに専用の perl 環境を作る - CI 環境をつくる - travis-ci.com - 自作 GitHub ランナー - https://perlbrew.pl/ - 初めての発表は OSDC.tw 2010 - https://youtu.be/KTQp5_iS6Zg?si=ttS-0ULjzNReVL7y --- 未来 の話 --- "I would go forward in time, and then I look backwards. The reason for that is it's easier. I would look backwards, and kind of read my history...." -- Jensen Huang (Founder & CEO of NVIDIA) Ref: https://youtu.be/lXLBTBBil2U?si=owSJJCdXvVwhQii5&t=2720 --- 未来にに進み、 それから過去を振り返ります。 理由は、その方が簡単だからです。 自分の歴史を振り返って、 読むような感覚です…… --- perlbrew の未来 から見る 歴史の話 --- perlbrew @ 西暦 3000 年(令和 982 年) から見る 歴史の話 --- ## 西暦 3000 年 | 令和 982 年 - 計算モデルはすごい発展 - CPU / GPU / NPU などの計算チップの種類はやまほどある - Memory 足りないことはない - 今 パラメター数 2 兆の大きさの LLM も個人のパソコンで動けます - AI 経由で開発する、その方は速いですから --- ## perlbrew ### 西暦 3000 | 令和 982 年 - 開発に最適ヘルパー - 全種類 AI と統合 - 全種類の OS に対応 - 全種類チップに対応 --- hey perlbrew, 最近の3つのヴァションのPerlで、 新しいの環境を作って、 このプロジェクトに 必要のモジュールを 全部いれてくれ --- hey perlbrew, perl 5.40 以上のヴァションでテストし、 失敗したところを分析してくれ --- hey perlbrew, このてテスト報告と同じエラーに 成れる環境を作ってくれ --- hey perlbrew, いまのプロジェクトを コンテナに入れ、 入り口は port 3000 にしてくれ --- ## perlbrew ### 西暦 3000 年 | 令和 982 年 - perlbrew 自体が AI - AI 同士と任務を完成させる - 全種類エディタ + Copilot 対応 - 全種類 CI/CD 環境対応 - 本番環境の作りも --- ![perlbrew mascot designed by Dall-E 3](https://hackmd.io/_uploads/SywSq450C.png =512x512) (perlbrew mascot, by Dall-E 3) --- ## perlbrew ### 西暦 2500 年 | 令和 482 年 - 全 perl バーション対応 - perl-1.0 .. perl-5.992 (推定) - バイナリや VM などで提供 - Linux の container や macOS の Rosetta や Windows の WLS 感覚で動く - 全 OS バーション対応 - もしくは OS の界隈はボケてる --- ## perlbrew ### 西暦 2500 年 | 令和 482 年 - perlbrew 自体でもバイナリ - perlbrew.pl as a Web API Service - perl バイナリ - CPAN module bundle バイナリ - 環境を瞬時に用意する - パッケージやVMなど --- ## perlbrew ### 西暦 2100 年 | 令和 82 年 - perl アプリをバイナリ化にする機能 - 自分のソフトをバイナリパッケージの作りをの時短する - CPAN 生態系との統合 - 全 CPAN モジュールバーション対応 - 古いモジュールでも - あらゆるいいツールと統合 - cpanm / cpm / cpx - PAR / fatpack --- ( 如何ですか? )> ![perlbrew mascot designed by Dall-E 3](https://hackmd.io/_uploads/SywSq450C.png =256x256) --- ( 時を戻す )> ![perlbrew mascot designed by Dall-E 3](https://hackmd.io/_uploads/SywSq450C.png =256x256) --- 2024/10/4 perlbrew 1.00 を 函館で リリースしました --- ## perlbrew ### 2024 の 1.00 メイン機能 - 同じ OS に複数 Perl 環境をつくること - 5.8 ... 5.40 - 同じバーションの perl に複数の `local::lib` - 🌟 skaji/relocatable-perl の対応 - 🌟 環境全体を一つ PAR に --- ## PAR って? - PAR - Perl ARchive - Java では JAR、Perl では PAR - python 3 の zipapp とも似ている --- # perlbrew + PAR ```bash # 環境作り perlbrew install perl-5.40.0 perlbrew lib create perl-5.40.0@tldr perlbrew use perl-5.40.0@tldr # tldr を入り cpm install -g PAR::Packer App::tldr # バイナリの ~/bin/tldr を作る perlbrew make-pp -i $(which tldr) -o ~/bin/tldr ``` `~/bin/tldr` は 同じ OS の別のマシンに コッピーしてだけで、動ける --- ## not in perlbrew 1.00 - Windows は [berrybrew](https://github.com/stevieb9/berrybrew) - IntelliJ IDEA - [Perl5-IDEA](https://github.com/Camelcade/Perl5-IDEA) - VSCode - [PerlNavigator](https://marketplace.visualstudio.com/items?itemName=bscan.perlnavigator) - Emacs - https://github.com/kentaro/perlbrew.el - https://github.com/dams/perlbrew-mini.el --- ## 1.00 ... 3000 - 編集環境との統合 - perl のバイナリを提供すること - パッケージツールとの統合 - VM / Container を作る --- ## 1.00 ... 3000 - 環境構築ツールとのとの統合 - Carton, cpm など - docker, k8s など - ansible, puppet, chef など - OS との統合 - Linux: glibc, musl - macOS: aarch64, x86_64 --- ## perlbrew ### 0.10 ... 1.00 は... - 148 名のコントリビューターからの PR で成り立つました。 - 様さの人で環境統合してくれました - ユーサーさんたちブログ文章を書いてくれました - ユーサーさん perlbrew をでアプリをつくりました --- ## perlbrew ### 1.00 ... 3000 は... ? 目標:全環境対応開発に最適ヘルパー ...という「歴史」は如何ですか? --- ## perlbrew ### 1.00 ... 3000 は...? コントリビューターさん 1000 人ぐらい欲しい PR ください 🫰 --- ![](https://perlbrew.pl/images/h1-beer.png =256x256) ![perlbrew mascot designed by Dall-E 3](https://hackmd.io/_uploads/SywSq450C.png =256x256) 😎 ご清聴ありがとうございました 🍺 Happy perlbrew-ing! 🍺 Kang-min Liu / @gugod

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully