並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 48件

新着順 人気順

COMPILEの検索結果1 - 40 件 / 48件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

COMPILEに関するエントリは48件あります。 techfeedRustプログラミング などが関連タグです。 人気エントリには 『Compile SQL to type-safe code』などがあります。
  • Compile SQL to type-safe code

    You write SQL queries You run sqlc to generate code that presents type-safe interfaces to those queries You write application code calling the methods sqlc generated. Seriously, it's that easy. You don't have to write any boilerplate SQL querying code ever again. See the current list of supported programming languages and databases. Schema updates and poorly-written queries often bring down produc

      Compile SQL to type-safe code
    • 大規模言語モデルを自作しよう!(Transformers+DeepSpeed+torch.compile+flash_attn2)

      本記事は、LLM Advent Calendar 2023 13日目の記事です。 はじめに 🤗 Transformersは、自然言語処理、マルチモーダル、音声処理、コンピュータビジョン分野の事前学習済モデルを簡単にダウンロードしトレーニングすることが可能なpythonライブラリです。このライブラリを使用し、大規模言語モデル(LLM)の事前学習済モデルをローカルPC上にダウンロードし、それを使用した言語生成や、要約・翻訳・質問応答などの個別のタスクへのファインチューニング、チャットAIへの組み込みなどが盛んに行われています。 LLMの事前学習方法に関する情報としては、GPT-NeoXやMegatron-LM、TinyLlama、lit-llamaなど、他のpythonライブラリを使用したものが増えてきています。一方で、Transformersライブラリを使用したLLMの事前学習に関する情報

        大規模言語モデルを自作しよう!(Transformers+DeepSpeed+torch.compile+flash_attn2)
      • GitHub - agrafix/rubyspeed: Compile ruby functions to C

        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 - agrafix/rubyspeed: Compile ruby functions to C
        • Compile and run C in JavaScript | Bun Blog

          From compression to cryptography to networking to the web browser you're reading this on, the world runs on C. If it's not written in C, it speaks the C ABI (C++, Rust, Zig, etc) and is available as a C library. C and the C ABI are the past, present, and future of systems programming. That's why in Bun v1.1.28, we introduced experimental support for compiling and running native C from JavaScript

          • Emacsに来たnative compileを試す

            Emacsのlispファイルをnativeでcompileする、いわゆる gccemacs が Masterブランチにマージされたので、さっそく試してみた。 https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=289000eee729689b0cf362a21baa40ac7f9506f6 環

              Emacsに来たnative compileを試す
            • sbt 1.4からのpipeline機能を試したら3割compile時間短縮された - xuwei-k's blog

              3割というのは、もちろんprojectの構成だったり、計測方法やその他色々によるわけですが、とにかく自分が計測した場合には3割短縮されました。114秒が80秒になりました。 pipeline機能自体の説明は最後に書きます。先に、測定方法や具体的な結果。 測定方法 travis-ci上で、他の条件を同じにして clean update test:compile を(50分制約でtimeoutするまで)ひたすら繰り返して test:compile にかかった時間(sbtが [success] 表示する)を計測、集計する JVMの暖まりを考慮して 上記のサイクルを繰り返すにあたって、sbtは起動させたまま 最初は遅くなるので、ある程度遅かった最初の8つは除いて、それ以外で平均や中央値を計算 測定に使ったのは、このblog書いてる時点でのscalazの最新master branch(7.4.x用)

                sbt 1.4からのpipeline機能を試したら3割compile時間短縮された - xuwei-k's blog
              • 2021年9月10日 Linusもたまには折れる!? "-Werror"問題は「"COMPILE_TEST"有効時」で決着 | gihyo.jp

                Linux Daily Topics 2021年9月10日Linusもたまには折れる!? "-Werror"問題は「"COMPILE_TEST"有効時」で決着 次期カーネル「Linux 5.15」の最初のリリース候補(RC1)版は9月12日に出る予定だが、Linusがマージしようとしたある機能 ―カーネルのコンパイラオプション「-Werror」の扱いをめぐって、ちょっとした論争が巻き起こった。 9月5日(米国時間⁠)⁠、Linusはすべてのカーネルビルドにおいて、警告(warnings)をエラーとして処理するフラグ「-Werror」をデフォルトで有効とするパッチをマージした。 kernel/git/torvalds/linux.git -Linux kernel source tree 「我々はつねにクリーンなビルドを実践すべきであり、修正できないような警告なら無効にしたほうがいい⁠」⁠

                  2021年9月10日 Linusもたまには折れる!? "-Werror"問題は「"COMPILE_TEST"有効時」で決着 | gihyo.jp
                • Scientific Computing in Rust 2024: Building a compile-time SIMD optimized smoothing filter

                  I built a Savitzky-Golay filter (fancy name for a dot product with some known constants on a rolling window) and tried to optimize the crap out of it. It's fast, it was fun, and I want to share the tools that helped me see where I was missing perf like cargo show asm, cargo remark and divan.

                    Scientific Computing in Rust 2024: Building a compile-time SIMD optimized smoothing filter
                  • Deno 1.34: deno compile supports npm packages

                    As we continue our development journey towards Deno 2, this minor release is primarily focused on boosting compatibility with npm and Node.js, enhancing the overall quality of life and developer experience, and establishing the foundation for future performance enhancements. The most significant updates in this release include three highly anticipated features: deno compile supports npm packages G

                      Deno 1.34: deno compile supports npm packages
                    • GitHub - google/pebble: This is the latest version of the internal repository from Pebble Technology providing the software to run on Pebble watches. Proprietary source code has been removed from this repository and it will not compile as-is. This is for

                      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 - google/pebble: This is the latest version of the internal repository from Pebble Technology providing the software to run on Pebble watches. Proprietary source code has been removed from this repository and it will not compile as-is. This is for
                      • Rust9x: Compile Rust code for Windows 95, NT and above

                        Discuss on Reddit, URLO, HN tl;dr: see the project wiki on Github: rust9x/rust You might remember my old post about the journey to get at least a bit of Rust code working for Windows 98 SE. Well, I'm back, this time with a more ambitious package: Announcing Rust9x (Rust 1.61.0-beta) # Blazingly fast! Y2k compliant! Works everywhere! Over on Github you'll find a forked Rust repository containing tw

                        • Tips For Faster Rust Compile Times | corrode Rust Consulting

                          Slow Rust Builds? Here are some tips to speed up your compile times. This list was originally released on my private blog, but I decided to update it for 2024 and move it here. Table of Contents Click here to expand the table of contents. General Tips Update The Rust Compiler And Toolchain Use cargo check Instead Of cargo build Switch To The New Parallel Compiler Frontend Remove Unused Dependencie

                            Tips For Faster Rust Compile Times | corrode Rust Consulting
                          • Scala 3のmatch typeでcompile timeにString literalをparseして評価する - xuwei-k's blog

                            Scala 3のmatch typeで何かのparserでも書くか?と思ったけど、コンパイル時にリテラルのStringを、型情報というか分解した場合の値情報?を、保ったままの分解が単純には出来そうにはないというか… あるいは一旦CharのHListにしたいんだけど、何か方法あるのかな— Kenji Yoshida (@xuwei_k) February 28, 2021 https://t.co/sNupBRy3rV type Substringが増えてるからいける…?— Kenji Yoshida (@xuwei_k) 2022年2月28日 できました。 parserなどに慣れてないので、とりあえず以下のクソ雑仕様?だけど、tokenにするのとparseとevalをなんとなくちゃんと分けたぞ! みんなScala 3のmatch typeで、任意の言語などのparserや評価機を書こう!!

                              Scala 3のmatch typeでcompile timeにString literalをparseして評価する - xuwei-k's blog
                            • How I Improved My Rust Compile Times by 75%

                              A woman with a pixie haircut looking at a computer in an office environment, waiting for her code to compile. There's now a Part 2, where I cover a couple more options. Check it out here One of Rust's often mentioned pain points is slow compile times. In order to have nice things like the borrow checker, safety, and zero cost abstractions, we pay in time spent compiling. Web developers, especially

                                How I Improved My Rust Compile Times by 75%
                              • Deno、npmパッケージ込みで単一の実行ファイル生成可能に。Deno Compileがnpmパッケージに対応

                                Deno、npmパッケージ込みで単一の実行ファイル生成可能に。Deno Compileがnpmパッケージに対応 オープンソースのJavaScript/TyeScriptランタイム「Deno」には、Denoをアプリケーションごとコンパイルして単一の実行ファイルが生成できる「Deno Compile」機能があります。 Deno Compileで生成されたバイナリはそのままOS上で実行できるため、Denoのインストールなどの手間なく簡単にDenoアプリケーションをデプロイできる利点があります。 今回Denoはバージョン1.34で、このDeno Compileがnpmパッケージに対応したことを発表しました。 これによりnpmパッケージを用いたDenoアプリケーションでも、Deno Compileによって単一の実行系ファイルが生成されるようになりました。 Deno 1.34 is here! Top

                                  Deno、npmパッケージ込みで単一の実行ファイル生成可能に。Deno Compileがnpmパッケージに対応
                                • GitHub - cognitive-engineering-lab/aquascope: Interactive visualizations of Rust at compile-time and run-time

                                  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 - cognitive-engineering-lab/aquascope: Interactive visualizations of Rust at compile-time and run-time
                                  • Compile-time type-checked truth tables

                                    With simple and easy-to-understand examples in F# and Haskell. Eve Ragins recently published an article called Why you should use truth tables in your job. It's a good article. You should read it. In it, she outlines how creating a Truth Table can help you smoke out edge cases or unclear requirements. I agree, and it also beautifully explains why I find algebraic data types so useful. With languag

                                      Compile-time type-checked truth tables
                                    • 2024-05-03のJS: Bun v1.1.5(cross compile)、React 18.3.0、Svelte 5 RC

                                      JSer.info #691 - Bun v1.1.5がリリースされました。 Bun v1.1.5 | Bun Blog bun build --compileがクロスコンパイルに対応し、Windows/Linux/macOSに対応したSingle Executable Binaryを出力できるようになっています。 また、package.jsonの末尾カンマを許可するようになる変更やbun.reportが追加されています。 その他には、Import Attributesで任意ファイルをtext/json/toml/fileとしてインポートできるようになるといった変更があります。 React v18.3.0がリリースされました。 Release 18.3.0 (April 25, 2024) · facebook/react React 19 Betaもリリースされていますが、React 1

                                        2024-05-03のJS: Bun v1.1.5(cross compile)、React 18.3.0、Svelte 5 RC
                                      • Compiled | Compile time CSS-in-JS for React

                                        A familiar and performant compile time CSS-in-JS library for React. /** @jsxImportSource @compiled/react */ import { css } from '@compiled/react'; const buttonStyles = css({ border: 'none', borderRadius: '3px', padding: '8px 10px', backgroundColor: '#6554C0', color: '#fff', fontWeight: 400, fontFamily: 'Arial', fontSize: '14px', '&:hover': { backgroundColor: '#8777D9', }, '&:active': { backgroundC

                                        • PyTorch 2.0の新機能「torch.compile」使ってみた - まったり勉強ノート

                                          今回は3/16についに出たPyTorch 2.0の目玉機能である「torch.comple」について実際に動かしてみて計算時間を測定してみたので、そのまとめになります。 時間計測の部分で測定に使ったコードはここにあげてあります。 https://github.com/shu65/pytorch_2_compile_example/blob/main/torch_2_0_compile.ipynb torch.compileとは? torch.compileはPyTorch 2.0の新機能で、PyTorchの複数の機能を組み合わせて使い関数や深層学習のモデルを実行時に最適化して、その後の呼び出して高速に実行できるようにする機能です。 torch.compileの中身の詳しい説明はここにかかれています。 https://pytorch.org/get-started/pytorch-2.0/#

                                            PyTorch 2.0の新機能「torch.compile」使ってみた - まったり勉強ノート
                                          • GitHub - joexbayer/c-web-modules: A modular web framework for C, inspired by kernel modules. Dynamically upload and compile C code at runtime to build REST APIs, WebSocket services, and more. Includes support for JSON (Jansson), SQLite, OpenSSL, and strea

                                            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 - joexbayer/c-web-modules: A modular web framework for C, inspired by kernel modules. Dynamically upload and compile C code at runtime to build REST APIs, WebSocket services, and more. Includes support for JSON (Jansson), SQLite, OpenSSL, and strea
                                            • GitHub - yassinebenaid/bunster: Compile shell scripts to machine code.

                                              Have you ever wished your shell scripts could be faster, more portable, and secure ? Bunster brings this to life by transforming your shell scripts into efficient, standalone binaries that are easy to distribute and deploy across platforms (only unix is supported at the moment). Unlike other tools, Bunster doesn’t just wrap your scripts in a binary—it compiles them down to efficient native machine

                                                GitHub - yassinebenaid/bunster: Compile shell scripts to machine code.
                                              • Deno 1.41: smaller deno compile binaries

                                                Deno’s goal is to simplify programming in as many environments as possible. In this 1.41 release, we’re excited to announce improvements that broaden how and where Deno can be used: we’ve roughly halved the size of deno compile binaries, as well as added an official Linux ARM 64 build. Additionally, we’ve continued to improve Node.js compatibility, the LSP to include better auto-completion, and De

                                                  Deno 1.41: smaller deno compile binaries
                                                • Pythonのcompile()関数: 動的なコード生成と実行の新たな次元 - Python転職初心者向けエンジニアリングブログ

                                                  Pythonは柔軟性に富み、実行時にコードを生成し実行する能力があります。その中でも、compile()関数は動的なコード生成と実行を支える重要なツールの一つです。この記事では、compile()関数の詳細な解説と、具体的なコード例を通じてその使い方を探求します。 compile()関数とは? compile()関数は、Pythonコードをコンパイルしてコードオブジェクトを生成します。生成されたコードオブジェクトは後でexec()関数やeval()関数を介して実行できます。compile()関数の基本構文は以下の通りです。 code_object = compile(source, filename, mode, flags=0, dont_inherit=False, optimize=-1) ここで、各引数の意味を簡単に説明します。 source: コンパイルするコードを含む文字列、ま

                                                    Pythonのcompile()関数: 動的なコード生成と実行の新たな次元 - Python転職初心者向けエンジニアリングブログ
                                                  • GitHub - simplenetes-io/simplenetes: The sns tool is used to manage the full life cycle of your Simplenetes clusters. It integrates with the Simplenetes Podcompiler project podc to compile pods.

                                                    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 - simplenetes-io/simplenetes: The sns tool is used to manage the full life cycle of your Simplenetes clusters. It integrates with the Simplenetes Podcompiler project podc to compile pods.
                                                    • Generics and Compile-Time in Rust | PingCAP

                                                      The Rust programming language compiles fast software slowly. In this series we explore Rust’s compile times within the context of TiKV, the key-value store behind the TiDB database. Rust Compile-time Adventures with TiKV: Episode 2 In the previous post in the series we covered Rust’s early development history, and how it led to a series of decisions that resulted in a high-performance language tha

                                                        Generics and Compile-Time in Rust | PingCAP
                                                      • Improving Rust compile times to enable adoption of memory safety

                                                        Improving Rust compile times to enable adoption of memory safety Rémy Rakic is helping us enable the adoption of memory safe software through work to improve Rust compile times. We asked him to provide his perspective on the work in this blog post. Thank you for your partnership and contributions, Rémy! IntroductionOver the past few months I've been working as part of the Rust compiler performance

                                                          Improving Rust compile times to enable adoption of memory safety
                                                        • Mugo, a toy compiler for a subset of Go that can compile itself

                                                          Mugo, a toy compiler for a subset of Go that can compile itself April 2021 Summary: This article presents Mugo, a single-pass compiler for a tiny subset of the Go programming language. It outputs (very naive) x86-64 assembly, and supports just enough of the language to implement a Mugo compiler: int and string types, slices, functions, locals, globals, and basic expressions and statements. Go to:

                                                          • coc.vimで'[coc.nvim] build/index.js not found, please install dependencies and compile coc.nvim by: yarn install'と言われた - Qiita

                                                            [coc.nvim] build/index.js not found, please install dependencies and compile coc.nvim by: yarn install Macをアップデートしたから? deinでプラグインアップデートしたから? 正直どれが原因かわからなかったけど、なんとかエラーでなくした記録が誰かのお役にたてばと(備忘録も兼ねて) vim8でdeinを使っている deinの機構として、プラグインはgithubからcloneしてるだけです なのでそのディレクトリを見つけて git pull したら最新のがおちてくるから解決するんじゃないかという仮説

                                                              coc.vimで'[coc.nvim] build/index.js not found, please install dependencies and compile coc.nvim by: yarn install'と言われた - Qiita
                                                            • GitHub - Redcrafter/verilog2factorio: This project will compile verilog (a hardware description language) into factorio blueprints.

                                                              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 - Redcrafter/verilog2factorio: This project will compile verilog (a hardware description language) into factorio blueprints.
                                                              • Bun の C Compile を試してみた

                                                                はじめに 先日、Bun が C Compiler を搭載し、JS と C の相互変換が簡単にできるようになったということで、試してみました。 migemo 題材を探していたところ、エンジニアの楽園のヌコ様から、cmigemoを試してみてはどうかという提案をいただきました。 てなわけでやっていきます!

                                                                  Bun の C Compile を試してみた
                                                                • GitHub - valkmit/aws-graviton2-on-intel: Runs AWS graviton2 images on intel, with native-speed compile times

                                                                  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 - valkmit/aws-graviton2-on-intel: Runs AWS graviton2 images on intel, with native-speed compile times
                                                                  • GitHub - NomicFoundation/hardhat: Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.

                                                                    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 - NomicFoundation/hardhat: Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
                                                                    • QtCS2024 Compile once. Run everywhere - Qt Wiki

                                                                      Session Summary Compiling and deploying of C++ applications on Windows, Linux, macOS for x86_64 and arm64 can be challenging. By using Cosmopolitan Libc we could have an alternative. Slides at 2024.09.06/QtCS2024-CompileOnce-RunEverywhere.pdf · GitLab Session Owners Cristian Adam Notes (AI transcribed) Cristian Adam, a member of the Qt Creator team, presented a talk on "Compile Once, Run Everywher

                                                                      • GitHub - MScholtes/PS2EXE: Module to compile powershell scripts to executables

                                                                        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 - MScholtes/PS2EXE: Module to compile powershell scripts to executables
                                                                        • "deno compile" into executable · Issue #986 · denoland/deno

                                                                          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

                                                                            "deno compile" into executable · Issue #986 · denoland/deno
                                                                          • Improving pip-compile --generate-hashes | Library Innovation Lab

                                                                            Recently I landed a series of contributions to the Python package pip-tools: Support URLs as packages #807 Fix –generate-hashes with bare VCS URLs #812 Fix pip-compile output for unsafe requirements #813 Warn when –generate-hashes output is uninstallable #814 pip-tools is a “set of command line tools to help you keep your pip-based [Python] packages fresh, even when you’ve pinned them.” My changes

                                                                              Improving pip-compile --generate-hashes | Library Innovation Lab
                                                                            • GitHub - egoist/vite-plugin-compile-time: Some compile-time magic for your Vite project

                                                                              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 - egoist/vite-plugin-compile-time: Some compile-time magic for your Vite project
                                                                              • GitHub - alcover/lacy: compile/run for the lazy

                                                                                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

                                                                                • JavaScript/TypeScriptランタイム「Deno 1.7」リリース、deno compileの改善など変更多数

                                                                                  「Deno 1.7」では、deno compileを改善し、安定サポートされているアーキテクチャ(Windows x64、macOS x64、Linux x64)から、他の安定サポートされているアーキテクチャへのクロスコンパイルが可能になっている。また、コンパイル時に--liteフラグを使用することで、生成されるバイナリのサイズが、「Deno 1.6」と比較して、40~60%コンパクトになる。 さらに、生成されたコードを実行する際に便利なデータURLのうち、インポート(静的/動的の両方)およびWebワーカーでのデータURLが新たにサポートされた。 ほかにも、DNSリゾルバからDNSレコードを照会できるDeno.resolveDns APIのサポートが追加されるとともに、マークダウンファイルのサポート、Streams APIの最新仕様に合わせたReadableStreamにおけるgetIte

                                                                                    JavaScript/TypeScriptランタイム「Deno 1.7」リリース、deno compileの改善など変更多数

                                                                                  新着記事