並び順

ブックマーク数

期間指定

  • から
  • まで

41 - 58 件 / 58件

新着順 人気順

rustlangの検索結果41 - 58 件 / 58件

  • GitHub - 01mf02/jaq: A jq clone focussed on correctness, speed, and simplicity

    jaq (pronounced like Jacques1) is a clone of the JSON data processing tool jq. jaq aims to support a large subset of jq's syntax and operations. jaq focuses on three goals: Correctness: jaq aims to provide a more correct and predictable implementation of jq, while preserving compatibility with jq in most cases. Examples of surprising jq behaviour nan > nan is false, while nan < nan is true. [[]] |

      GitHub - 01mf02/jaq: A jq clone focussed on correctness, speed, and simplicity
    • GitHub - samuela/rustybox: A free-range, non-GMO fork of busybox in 100% Rust 🦀

      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

        GitHub - samuela/rustybox: A free-range, non-GMO fork of busybox in 100% Rust 🦀
      • Error Handling for Large Rust Projects - A Deep Dive into GreptimeDB's Practices | Greptime Blog

        This blog shares our experience organizing variant types of Error in a complex system like GreptimeDB, from how an error is defined to how to log the error or present it to end-users. Such a system is composed of multiple components with their own Error definitions. Status Quo of Rust's Error Handling ​A few standard libraries in Rust provide Error structs that implement std::error::Error, like st

          Error Handling for Large Rust Projects - A Deep Dive into GreptimeDB's Practices | Greptime Blog
        • いちからvimのrust開発環境を構築していく❗️(rust.vim, coc.nvim)

          はじめに この記事はVim Advent Calendar 2020 13日目の記事となっています。 今回は、vimでrustの環境構築をいちから行っていきます。 以下に成果物を上げています。 docker でまっさらな(alpine + rust + vim) vim環境をたてて構築を進めていきます。 やること vim plugin managerの導入 rust.vimで保存時自動フォーマット coc.nvimで定義元ジャンプや、構文チェック、自動補完の実現 vim plugin manager vim-plug vimのプラグインマネージャーは色々種類があると思いますが、 vim-plugを最初に使い出して、不満もないためこちらずっと使っています...! インストールも簡単でこちらで終了です。

            いちからvimのrust開発環境を構築していく❗️(rust.vim, coc.nvim)
          • ぼくのかんがえたさいきょうの CircleCI 設定 for Rust

            あまり見ない気がするので書きました。特徴は、 lint, testなどの各ジョブが並列に動く(ジョブ実行数を多くしてないとdocker containerの立ち上げ分むしろ全体時間はロスになることもあるが…)。 Travis CI のマトリクスビルド に近いことを、 parameters: を使ってやっている。 rust-toolchain ファイル に書かれたバージョンと、 .circleci/config.yml に書かれた MSRV (Minimum Supported Rust Version) の2つでビルドしている。 cargo-readme を使ってrustdocとREADMEを比較し、どちらかがメンテされていない場合にエラーにする(お好みで)。 キャッシュ使う。 あたりです。見慣れなさそうなところはインラインコメント付けましたので参考にしてください 💁‍♀️ 更新履歴 2

            • Writing Rust the Elixir way

              Bernard Kolobara Posted on Nov 28, 2020 • Updated on Feb 17, 2021 • Originally published at lunatic.solutions It's not a secret that I'm a big fan of Elixir, so when I started doing Rust development I tried to bring some ideas from Elixir to the world of Rust. This post describes some of the tools I'm building to bring the power of Elixir to Rust. What makes Elixir so great? It's hard to just pick

                Writing Rust the Elixir way
              • GitHub - RustScan/RustScan: 🤖 The Modern Port Scanner 🤖

                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                  GitHub - RustScan/RustScan: 🤖 The Modern Port Scanner 🤖
                • はじめに - Rustで独自のスライス型を定義する本

                  Rust でプログラムを書くうえで、用途や制約に応じた適切な型の定義は大変重要である。 たとえば Rust ではバイト列は [u8]、 UTF-8 文字列は str、OS ネイティブのエンコーディングの文字列は std::ffi::OsStr、パス文字列は std::path::Path といったように、横着すればひとつの型で済むような様々なデータに対してそれぞれの特徴に応じた型を標準で用意している。 ときに標準ライブラリで用意された型ばかりでなく、自分で専用の型を用意したいこともある。 たとえば「相対パスのみを保持できる型」のようなものを実装したくなるかもしれない。 もちろん Rust でこれは可能なのだが、 str のような (値として利用するときは &str のように参照を使う) 可変長のスライスのような型は、定義したり十分な利便性を確保するのに多少のコツが必要となる。 本書では、独

                  • rustでクリーンアーキテクチャ - Qiita

                    今月分のaws利用料金が確認できます。 ディレクトリ構成 こんな感じのモノレポの構成になっています。 rustのパッケージマネージャであるcargoにはワークスペースという機能があり、モノレポの構成を簡単に作れます。 . ├── Cargo.lock ├── Cargo.toml ├── README.md ├── cli │   ├── Cargo.toml │   └── src │   ├── get_cost │   └── main.rs ├── infra │   ├── Cargo.toml │   └── src │   ├── aws │   └── lib.rs ├── module │   ├── Cargo.toml │   └── src │   ├── lib.rs │   └── slack_module.rs ├── presenter │   ├── Ca

                      rustでクリーンアーキテクチャ - Qiita
                    • RustのCI環境でクロスコンパイルを行う - Taste of Tech Topics

                      こんにちは @maron8676です 今回は、RustプロジェクトでのCI環境構築について紹介します。 最近、自然言語処理のエンジン開発をRustで行っており、その中で実際に試した内容となっています。 Rust Rustは安全性を担保しつつ、高速なアプリケーションを開発するのに便利なプログラミング言語です。 例えば、以下のような特徴があります。 同じ値の種類でも、不変な変数と可変な変数では別の型になっており、意図しない変更をコンパイルエラーとして検知できる ポインタの有効範囲がプログラムで示されるため、無効なアドレスへの参照をコンパイルエラーとして検知できる 公式ページには、以下のように書かれています。 RustはMozillaとコミュニティによって作成された、オープンソースのプログラミング言語です。 開発者が最新のマルチコアプロセッサの強力な機能を最大限に活用して、高速で安全なアプリケー

                        RustのCI環境でクロスコンパイルを行う - Taste of Tech Topics
                      • GitHub - crazymykl/rust-koans: Koans for the Rust programming language

                        The koans are broken out into areas by file, arrays are covered in arrays.rs, booleans are introduced in boolean.rs, etc. They are presented in order in the path_to_enlightenment.rs file. Each koan builds up your knowledge of Rust and builds upon itself. By following the failures and errors presented, you will know what to work on next. As you finish one koan file, the next will be added to path_t

                          GitHub - crazymykl/rust-koans: Koans for the Rust programming language
                        • Writing Pythonic Rust

                          Over the past several weeks I have been attempting to reimplement the API of an existing python library as a wrapper for an equivalent library in Rust. tl;dr: this ended up being much harder than I expected it to be, partly because of important differences in the behaviour of the two languages, and partly because of the (self-imposed) obligation to match an existing (idiomatic) python API. Motivat

                          • Data Manipulation: Pandas vs Rust

                            Introduction Pandas is the main Data analysis package of Python. For many reasons, Native Python has very poor performance on data analysis without vectorizing with NumPy and the likes. And historically, Pandas has been created by Wes McKinney to package those optimisations in a nice API to facilitate data analysis in Python. This, however, is not necessary for Rust. Rust has great data performanc

                            • GitHub - dwisiswant0/ppfuzz: A fast tool to scan client-side prototype pollution vulnerability written in Rust. 🦀

                              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                GitHub - dwisiswant0/ppfuzz: A fast tool to scan client-side prototype pollution vulnerability written in Rust. 🦀
                              • GitHub - kuwana-kb/ddd-in-rust: 「ドメイン駆動設計入門」の実装パターンをRustで再現する

                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                  GitHub - kuwana-kb/ddd-in-rust: 「ドメイン駆動設計入門」の実装パターンをRustで再現する
                                • Is Pypolars the New Alternative to Pandas?

                                  Objective Pandas is one of the prominent libraries for a data scientist when it’s about data manipulation and analysis. Let’s see do we have pypolars as an alternative to pandas or not. Introduction Pandas is such a favored library that even non-Python programmers and data science professionals have heard ample about it. And if you’re a seasoned Python programmer, then you’ll be closely familiar w

                                    Is Pypolars the New Alternative to Pandas?
                                  • RustupでRustの環境構築をする - インストールからツールチェインの固定まで

                                    プログラミング言語 Rust を学習する必要がでてきたので、 環境構築手順をまとめたいと思います。 今回はMacOS X上で Homebrew を使ってインストールする手順になります。 Rustupをインストールするまずは、 rustup をインストールします。

                                    • RパッケージでRustを使うには: extendr入門 / extendr-pkg-dev

                                      第92回R勉強会の発表スライドです。 (ウェブ版 をPDFエクスポートしたものですが、Slidevの使い方がわからず画像が消えてしまっています...)

                                        RパッケージでRustを使うには: extendr入門 / extendr-pkg-dev