並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 24 件 / 24件

新着順 人気順

std array fill cの検索結果1 - 24 件 / 24件

  • WebKit(JavaScriptCore)に100個のPull Requestがマージされた

    今年の 2 月から WebKit の JavaScript 処理系である JavaScriptCore に Pull Request を投げ続けています。 JavaScriptCore のソースコードは WebKit のリポジトリ https://github.com/webkit/webkit に完全に含まれています。なので、僕が Pull Request を投げる先も WebKit のリポジトリということになります。そして先日、WebKit リポジトリにマージされた自分の Pull Request の数が 100 に達しました。 Pull Request を作るという活動をやめなければ当然いつかは 100 個に達するので別に偉業ということはないんですが、どちらかというと大して意味のないことをやめられなかったというネガティブな気持ちの方が強くあります。[1] とはいえ、JavaScrip

      WebKit(JavaScriptCore)に100個のPull Requestがマージされた
    • Changing std::sort at Google’s Scale and Beyond

      TL;DR; We are changing std::sort in LLVM’s libcxx. That’s a long story of what it took us to get there and all possible consequences, bugs you might encounter with examples from open source. We provide some benchmarks, perspective, why we did this in the first place and what it cost us with exciting ideas from Hyrum’s Law to reinforcement learning. All changes went into open source and thus I can

        Changing std::sort at Google’s Scale and Beyond
      • kyju.org - Piccolo - A Stackless Lua Interpreter

        Piccolo - A Stackless Lua Interpreter 2024-05-01 History of piccolo A "Stackless" Interpreter Design Benefits of Stackless Cancellation Pre-emptive Concurrency Fuel, Pacing, and Custom Scheduling "Symmetric" Coroutines and coroutine.yieldto The "Big Lie" Rust Coroutines, Lua Coroutines, and Snarfing Zooming Out piccolo is an interpreter for the Lua language written in pure, mostly safe Rust with a

        • Regexide

          Why XML Comments matter XML is a popular format for storing and sharing data. It was explicitly designed for people and programs to read and write data.[1] From spreadsheets to save states, most modern software and games parse and write XML. XML comments are special notes that parsers should not treat as data. XML comments start with <!-- and end with -->. Technically XML comments must not contain

          • Text Editor Data Structures

            Text editors can be an interesting challenge to program. The types of problems that text editors need to solve can range from trivial to mind-bogglingly difficult. Recently, I have been on something of a spiritual journey to rework some internal data structures in an editor I have been building, specifically the most fundamental data structure to any text editor: the text. Table of Contents Resour

              Text Editor Data Structures
            • 0.8.0 Release Notes ⚡ The Zig Programming Language

              Tier 4 Support § Support for these targets is entirely experimental. If this target is provided by LLVM, LLVM may have the target as an experimental target, which means that you need to use Zig-provided binaries for the target to be available, or build LLVM from source with special configure flags. zig targets will display the target if it is available. This target may be considered deprecated by

              • CUDA C/C++ Basics

                © NVIDIA Corporation 2011 CUDA C/C++ Basics Supercomputing 2011 Tutorial Cyril Zeller, NVIDIA Corporation © NVIDIA Corporation 2011 What is CUDA?  CUDA Architecture  Expose GPU computing for general purpose  Retain performance  CUDA C/C++  Based on industry-standard C/C++  Small set of extensions to enable heterogeneous programming  Straightforward APIs to manage devices, memory etc.  This

                • Debloat your async Rust - Blog - Tweede golf

                  Async Rust is amazing, but far from flawless. In this blog, I'll walk you through the current struggles and possible solutions. So async Rust is amazing. It makes it possible to write code that can run concurrently with other code without having to manage dozens of manually written state machines. This is great for resource use. While waiting on data on a socket, the code won't spin or block a thr

                    Debloat your async Rust - Blog - Tweede golf
                  • 0.10.0 Release Notes ⚡ The Zig Programming Language

                    Tier 4 Support § Support for these targets is entirely experimental. If this target is provided by LLVM, LLVM may have the target as an experimental target, which means that you need to use Zig-provided binaries for the target to be available, or build LLVM from source with special configure flags. zig targets will display the target if it is available. This target may be considered deprecated by

                    • 21st Century C++ – Communications of the ACM

                      It is now 45+ years since C++ was first conceived. As planned, it evolved to meet challenges, but many developers use C++ as if it was still the previous millennium. This is suboptimal from the perspective of ease of expressing ideas, performance, reliability, and maintainability. Here, I present the key concepts on which performant, type safe, and flexible C++ software can be built: resource mana

                      • https://cheats.rs/rust_cheat_sheet.pdf

                        Rust Language Cheat Sheet 26. August 2021 Contains clickable links to The Book , Rust by Example , Std Docs , Nomicon , Reference . Data Structures Data types and memory locations defined via keywords. Example Explanation struct S {} Define a struct with named fields. struct S { x: T } Define struct with named field x of type T. struct S ​(T); Define "tupled" struct with numbered field .0 of type

                        • Node.js

                          Notable changes Add support for externally shared js builtins By default Node.js is built so that all dependencies are bundled into the Node.js binary itself. Some Node.js distributions prefer to manage dependencies externally. There are existing build options that allow dependencies with native code to be externalized. This commit adds additional options so that dependencies with JavaScript code

                            Node.js
                          • The Alkyne GC · mcyoung

                            Alkyne is a scripting language I built a couple of years ago for generating configuration blobs. Its interpreter is a naive AST walker1 that uses ARC2 for memory management, so it’s pretty slow, and I’ve been gradually writing a new evaluation engine for it. This post isn’t about Alkyne itself, that’s for another day. For now, I’d like to write down some notes for the GC I wrote3 for it, and more

                              The Alkyne GC · mcyoung
                            • I'm Building a Browser for Reverse Engineers

                              Preamble In the expanding world of AI my heart still lies in AST transforms, browser fingerprinting, and anti-bot circumvention. In fact, that's the majority of this blog's content. But my workflow always felt... primitive. I was still manually sifting through page scripts, pasting suspicious snippets into an editor, and writing bespoke deobfuscators by hand. Tools like Webcrack and deobfuscate.io

                              • RWKV-World-V2をPythonから日本語で操作する|shi3z

                                RKWV-World-V2の出来があまりにも良いのでPythonで使う方法をメモっておきます。 基本的にこのGradioの内容をいつものLLMベンチマークの形式にしただけ import os, gc, copy, torch from datetime import datetime from huggingface_hub import hf_hub_download from pynvml import * ctx_limit = 2000 title = "RWKV-5-World-1B5-v2-20231025-ctx4096" os.environ["RWKV_JIT_ON"] = '1' os.environ["RWKV_CUDA_ON"] = '1' # if '1' then use CUDA kernel for seq mode (much faster) from r

                                  RWKV-World-V2をPythonから日本語で操作する|shi3z
                                • cuneicode, and the Future of Text in C

                                  Following up from the last post, there is a lot more we need to cover. This was intended to be the post where we talk exclusively about benchmarks and numbers. But, I have unfortunately been perfectly taunted and status-locked, like a monster whose “aggro” was pulled by a tank. The reason, of course, is due to a few folks taking issue with my outright dismissal of the C and C++ APIs (and not showi

                                    cuneicode, and the Future of Text in C
                                  • How I learned Vulkan and wrote a small game engine with it

                                    Comments (GitHub discussion) Comments (Hacker News) tl;dr: I learned some Vulkan and made a game engine with two small game demos in 3 months. The code for the engine and the games can be found here: https://github.com/eliasdaler/edbr This article documents my experience of learning Vulkan and writing a small game/engine with it. It took me around 3 months to do it without any previous knowledge o

                                    • Practical SQL for Data Analysis

                                      Pandas is a very popular tool for data analysis. It comes built-in with many useful features, it's battle tested and widely accepted. However, pandas is not always the best tool for the job. SQL databases have been around since the 1970s. Some of the smartest people in the world worked on making it easy to slice, dice, fetch and manipulate data quickly and efficiently. SQL databases have come such

                                        Practical SQL for Data Analysis
                                      • 地面を見下ろす少年の足蹴にされる私

                                        文書の一覧 JTC1/SC22/WG21 - Papers mailing2025-12 全部で113本あります。 もくじ N5011 Brno 2026 N5029 WG21 2025-10 Kona Admin telecon minutes N5031 WG21 2025-11 Kona Minutes of Meeting N5032 Working Draft, Standard for Programming Language C++ N5033 Editors' Report - Programming Languages - C++ P1317R2 Remove return type deduction in std::apply P1789R2 Library Support for Expansion Statements P1789R3 Library Suppor

                                          地面を見下ろす少年の足蹴にされる私
                                        • Rust’s worst feature* — mina86.com

                                          * available in Rust nightly. There are several aspects of Rust that I’m not particularly fond of but the one that takes the cake is core::io::BorrowedBuf which I despise with passion. It’s a nightly feature which puts in question my extreme emotions about it. On the other hand it means there’s time to stop it from getting stabilised and figure out something better. In this article I’ll describe th

                                          • Python(pandas、NumPy、scikit-learnなど)によるデータの前処理大全

                                            普段、筆者がデータの前処理で使っているpandasやNumPy、scikit-learnなどのモジュールの使い方を逆引きのリファレンス形式でまとめました。 一部のサンプルデータや前処理の手法については、データサイエンティスト協会の100本ノック(構造化データ加工編)を参考にさせていただきました。素晴らしいコンテンツをご用意頂いたこと本当に感謝します。 それでは、以下のモジュールをインポートして、この記事をデータ前処理時の辞書代わりにして利用してください。 モジュールのインポート import numpy as np import pandas as pd from sklearn import preprocessing as pp from sklearn.model_selection import train_test_split from imblearn.under_sampli

                                              Python(pandas、NumPy、scikit-learnなど)によるデータの前処理大全
                                            • rust,rust-lang,wasm,webassembly,tutorial,guide

                                              Why WASM anyway? First of all I want to provide some context: Working on asset database for my game engine prototype I found that I want to import assets ahead of the game start. And convert them from tool specific format into engine native format. This would allow to reduce amount of code in the engine itself as well as improve performance as no content conversion would be required at runtime. I

                                                rust,rust-lang,wasm,webassembly,tutorial,guide
                                              • 文鎮化したDrobo 5Nは復活できるか?→復活できた!

                                                drobo-5n-unbrick.md 文鎮化したDrobo 5Nは復活できるか?→復活できた! はじめに 2022年の大晦日、10年近くバックアップ先NASとして活躍してくれていた「Drobo 5N」のファームウェアを更新したところ、文鎮化してしまいました。しかし、どうにか復活させることができたので、復活に至った過程を共有します。Droboの文鎮化で困っている人は世界中に数多く存在し、文鎮化の原因はさまざまなようですが、こちらのケースと同じ状況であれば、この作業ログが何かの役に立ちましたら幸いです。 免責 Drobo 5N本体の分解を行うと、メーカー保証は失われます。筆者は、この記事の内容に関して生じたいかなる損害についても責任を負うものではありません。 手順の概要だけ確認したい方は、まとめへどうぞ。 状況 更新前 更新後 Drobo 5N firmware 3.5.11 4.2.1 D

                                                  文鎮化したDrobo 5Nは復活できるか?→復活できた!
                                                • 差分更新ビームサーチライブラリの実装 (C++) - eijirouの競プロ参加記

                                                  この記事について 差分更新型ビームサーチライブラリの実装例について説明します。 差分更新型のビームサーチについては 高速なビームサーチが欲しい!!! などで既に解説されているため、被る部分については詳しく説明しません。 この記事に書いたソースコードをプログラミングコンテストで自由に使っていただいて構いませんが、当ブログは損害などに対する責任を負いかねますのでご了承ください。 前提知識 木に関する用語 深さ優先探索 C++の基本文法 差分更新型のビームサーチとは 木上のビームサーチ、Euler Tour ビームサーチとも呼ばれています1。 ビームサーチは、幅優先探索に枝刈りを取り入れた手法です。探索木における深さ の頂点集合から深さ の頂点集合を生成し、その中から評価値が高い上位 個を選択します。 のことをビーム幅と呼びます。 ビームサーチの例(、赤色が探索中のノード、橙色が採用されたノード

                                                    差分更新ビームサーチライブラリの実装 (C++) - eijirouの競プロ参加記
                                                  1