並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 5 件 / 5件

新着順 人気順

rustlangの検索結果1 - 5 件 / 5件

  • AWS Lambda が正式に Rust 対応したので KinesisFirehose にくっつけて性能計測した #rustlang #rust_jp - ソモサン

    これは Rustその2 Advent Calendar 2018 の 2 日目の記事ということにしました。 結果(2018/12/3 更新) github.com ありがたい PR のおかげで更新できました! tatsuya6502 さんありがとうございます! 246k record を 57.6 秒で処理したので、4,270 record/sec でなんと 4,000 の大台突破です。 修正内容は僕がサボったところを指摘いただいた感じでした。むしろすみません。 Runtime record/s Python 142.8 Rust(on Python 2.7) 2348.6 Golang 3910.0 Rust(on Custom Runtime) v1 3967.2 Rust(on Custom Runtime) v2 4270.0 ということで、4,000 を越えました!すごい!! 成

      AWS Lambda が正式に Rust 対応したので KinesisFirehose にくっつけて性能計測した #rustlang #rust_jp - ソモサン
    • Golang and Rustlang Memory Safety - InsanityBit

      I recently read an excellent blog post by Scott Piper about a tool he has released called Serene. The tool analyzes a binary to see if it has been compiled with security mitigation techniques - essentially a sanity check for best practices. As I was reading the post I came across this quote: Anything compiled with Golang will not have ASLR/PIE. This is a decision by the language creators as Golang

      • #rustlang における構造体のmutabilityと`Cell/RefCell` - saneyuki_s log

        この記事はRust 0.10を基準に書かれている 前提 Rustの基本として、明示的にmutを付けて値の変更を可能にした(mutableにした)データ以外は変更することができない(デフォルトimmutableの原則とでも呼ぶべきかな)。これを構造体に適用した場合、構造体のフィールドのmutabilityは、フィールドを保持する構造体のそれを引き継ぐ。つまり、親のmutabilityを子は引き継ぐという原則がある。 なので、こういう感じのコード(疑似コードです)はコンパイルエラーになる。 let bar = Bar { bar: Hoge { hoge: 0 }, barbar: 0, }; // `bar`はimmutable bar.barbar = 1; // `bar.hoge`は`bar`のmutabilityを継承するので変更できない bar.hoge.hoge = 1; まあ詳

          #rustlang における構造体のmutabilityと`Cell/RefCell` - saneyuki_s log
        • C++ developer sees Rustlang for the first time

          Posted in Rustlang • Feb 3, 2016 I decided to learn a new modern language. The more exotic the better - but honestly, it’s not hard to impress me, since during my whole studies and career I only had contact with the most mainstream languages, like C, C++, Java, python and Javascript. First I wanted to choose between Haskell, Clojure and Scala. But then I made a Twitter survey and I got the recomme

          • 2020年末Rustlang環境構築 - Runner in the High

            以下をやるだけ # インストール&初期セットアップ $ brew install rustup rust-analyzer $ rustup-init $ rustup update # プロジェクト作成 $ mkdir your_own_rust_project $ cd your_own_rust_project $ cargo init --vcs git --bin # rust-analyzerを使わないならrlsと関連コンポーネントをインストールする $ rustup component add rls rust-analysis rust-src Rustの環境を構築するには brew install rust ではなく rustup のほうをインストールするのが正解っぽい。インストール後に rustup-init で初期化するとコンパイルに必要なrustcとかもインストール

              2020年末Rustlang環境構築 - Runner in the High
            1