TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #396 · 9 окт.

7.09.2025 состоялся релизPithon 3.14! На фоне хайпа про NoGIL всё позабыли про другие фичи. Особенно про Multiple Interpreters, который обещает изоляцию процессов но с эффективностью потоков! На сколько действительно это будет эффективно мы узнаем позже, потому что сейчас это лишь первый релиз с ограничениями и недоработками. Но что там про NoGIL? Теперь этот режим не экспериментальный, а официально поддерживаемый, но опциональный. Чтобы запустить без GIL нужна специальная сборка. И перед стартом нужно объявить переменную PYTHON_GIL=0 Для вас я собрал готовый репозиторий где достаточно запустить скрпит, который всё сделает: ▫️ соберет релизный Python 3.14 в новый Docker-образ ▫️ запустит тесты в контейнере (GIL, NoGIL, MultiInterpreter) ▫️ распечатает результаты Тест очень простой, усложняйте сами) Вот какие результаты у меня: === Running ThreadPoolExecutor GIL ON TOTAL TIME: 45.48 seconds === Running ThreadPoolExecutor GIL OFF TOTAL TIME: 6.14 seconds === Running basic Thread GIL ON TOTAL TIME: 45.54 seconds === Running basic Thread GIL OFF TOTAL TIME: 4.74 seconds === Running with Multi Interpreter TOTAL TIME: 18.30 seconds Если сравнивать GIL и NoGIL, то на мои 32 ядра прирост х7-x10 (почему не х32? 🤷). При этом нам обещают что скорости будут расти с новыми релизами. Режим без GIL похож (визуально) на async, тоже параллельно, тоже не по порядку. Но это не IO! и от того некоторый диссонанс в голове 😵‍💫, нас учили не так! Интересно, что чистый Thread работает быстрей чем ThreadPoolExecutor без GIL. Ну и где-то плачет один адепт мульти-интерпретаторов😭 Теперь нужно искать где они могут пригодиться с такой-то скоростью. Скорее всего своя область применения найдется. Отдельно я затестил память и вот что вышло на 32 потока: ThreadPoolExecutor GIL ON 305.228 MB ThreadPoolExecutor GIL OFF 500.176 MB basic Thread GIL ON 90.668 MB basic Thread GIL OFF 472.444 MB with Multi Interpreter 1267.788 MB Пока не знаю как к этому относиться) В целом - радует направление развития! #release

Hashtags

Резултати

Пронајдени 149 слични објави

Пребарај: #rust

当前筛选 #rust清除筛选
GitHub Trends

@githubtrending · Post #15562 · 15.03.2026 г., 11:30

#rust Vite+ is a single tool that handles all web development needs: install packages, run fast dev servers, check/lint/format code, test, build apps or libraries, and manage monorepo tasks with smart caching. Install globally as `vp`, use commands like `vp dev`, `vp test`, or `vp build`, and configure everything in one `vite.config.ts` file. It speeds up workflows 2-100x using Rust tools, cuts setup time, and ensures consistency—saving you hours on config, debugging, and CI costs so you focus on coding. https://github.com/voidzero-dev/vite-plus

Hashtags

GitHub Trends

@githubtrending · Post #15480 · 08.02.2026 г., 15:00

#rust Monty is a minimal, secure Python interpreter in Rust that safely runs AI-generated code in your agents. It starts in under 1 microsecond, blocks host access to files, network, and env vars (only via your controlled functions), and supports type checking, resource limits, and snapshotting to pause/resume execution. This lets you skip slow, complex containers, making AI agents run faster, cheaper, and more reliably without security risks. https://github.com/pydantic/monty

Hashtags

GitHub Trends

@githubtrending · Post #15475 · 07.02.2026 г., 12:00

#rust LiteBox is a new open-source Rust library OS from Microsoft that sandboxes apps with a tiny host interface to slash attack risks and boost security. It runs Linux programs on Windows without changes, sandboxes Linux apps better than containers, supports secure tech like SEV-SNP and OP-TEE, and works in kernel or non-kernel setups under MIT license. You gain safer app isolation, easier cross-platform runs, and smaller vulnerability blasts for secure coding, CI jobs, or cloud tasks—while it's evolving, so adapt as it improves. https://github.com/microsoft/litebox

Hashtags

GitHub Trends

@githubtrending · Post #15357 · 23.12.2025 г., 12:30

#rust Miri is a tool that detects bugs in unsafe Rust code by finding undefined behavior—situations where your program violates safety rules and can behave unpredictably. When you write unsafe code, you bypass Rust's normal safety checks, so you must manually ensure your code follows strict requirements like proper memory alignment, no data races, and correct pointer usage. Miri catches violations of these requirements by running your code in a special interpreter that monitors every operation. It detects problems like out-of-bounds memory access, use-after-free errors, uninitialized data, and misaligned pointers. You can easily use Miri by installing it with Rust's nightly toolchain and running `cargo miri test` on your project. The benefit is that Miri finds subtle bugs that would otherwise cause crashes or security vulnerabilities in production, making it an essential tool for anyone writing unsafe Rust code. https://github.com/rust-lang/miri

Hashtags

GitHub Trends

@githubtrending · Post #15337 · 16.12.2025 г., 14:30

#rust Hashcards is a simple tool for making and reviewing flashcards in plain text Markdown files you edit easily, like with any text editor or Git for tracking changes. Cards use hashes, so editing resets progress; write Q/A or cloze types (C Frictionless creation helps you learn faster without complex apps. https://github.com/eudoxia0/hashcards

Hashtags

GitHub Trends

@githubtrending · Post #15327 · 11.12.2025 г., 12:00

#rust Tempo is a fast, low-cost blockchain built specifically for stablecoin payments, designed to handle many transactions quickly with sub-second finality. It offers predictable, very low fees paid directly in stablecoins like USDC or USDT, making it ideal for businesses, banks, and fintechs to process payments efficiently. Tempo supports batch and scheduled payments, modern authentication, and built-in compliance, helping users automate payroll, settlements, and cross-border transfers with ease. It is fully compatible with Ethereum tools, so developers can build on it without learning new systems. This means you get a reliable, scalable, and user-friendly payment network optimized for real-world financial use. https://github.com/tempoxyz/tempo

Hashtags

GitHub Trends

@githubtrending · Post #15309 · 05.12.2025 г., 12:00

#rust Fresh is a fast, user-friendly terminal text editor built in Rust that opens huge files instantly without slowing down. It features an intuitive menu system, mouse support, and a command palette for easy navigation, making it perfect if you're switching from graphical editors. You can extend Fresh with TypeScript plugins in a secure environment, and it includes powerful tools like multi-cursor editing, split panes, language server support, and git integration. The main benefit is that Fresh combines the speed and lightweight nature of terminal editors with the ease of use and modern features you'd expect from a graphical editor, all while handling massive files efficiently. https://github.com/sinelaw/fresh

Hashtags

GitHub Trends

@githubtrending · Post #15297 · 12.11.2025 г., 14:00

#rust Vello is a fast 2D graphics renderer written in Rust that uses your GPU's compute power to draw shapes, images, text, and gradients[1]. Unlike older renderers that rely on your CPU for sorting and clipping, Vello moves most work to the GPU using special algorithms, giving you much better performance with less computer power needed[1][2]. It can draw large scenes smoothly and interactively, making it perfect for user interfaces, games, and animation tools[1]. You benefit from faster, smoother graphics with lower energy use, and it works across different platforms including web and Android. https://github.com/linebender/vello

Hashtags

GitHub Trends

@githubtrending · Post #15177 · 27.09.2025 г., 14:30

#rust NVIDIA Dynamo is an open-source, high-speed, low-delay framework that helps run large AI models, like language models, efficiently across many GPUs and servers. It solves problems like slow response and memory limits by smartly splitting tasks, routing requests to avoid repeated work, and managing memory better. It supports multiple AI engines and uses fast data transfer methods to speed up inference. You can easily set it up on your system, run AI models with it, and scale across many machines. This means you get faster, more efficient AI model serving, saving time and computing resources. https://github.com/ai-dynamo/dynamo

Hashtags

GitHub Trends

@githubtrending · Post #15149 · 17.09.2025 г., 12:00

#rust MonadBFT is a fast and secure blockchain consensus protocol that helps many independent nodes agree on the order of transactions quickly and reliably. It separates the process of agreeing on transaction order (consensus) from actually executing those transactions, which speeds up the system and allows for high throughput with 1-second finality. This design prevents problems like chain reorganizations (tail-forks) and censorship by any single validator, making the blockchain fairer, more stable, and efficient. For users, this means faster transaction confirmations, fewer unexpected changes, and a more trustworthy network without sacrificing decentralization or security. https://github.com/category-labs/monad-bft

Hashtags

GitHub Trends

@githubtrending · Post #15040 · 08.08.2025 г., 13:30

#rust You can install OpenAI Codex CLI on your computer easily using commands like `npm install -g @openai/codex` or `brew install codex`. It runs locally, letting you interact with AI models directly in your terminal to read, write, and run code safely within a sandboxed environment. You can control how much autonomy Codex has, from read-only to full read/write access with your approval. It supports integration with your ChatGPT Plus or Pro account for free access to advanced models. This tool helps you code faster, fix bugs, and understand code without leaving your terminal, improving productivity and security since your code stays on your machine. https://github.com/openai/codex

Hashtags

GitHub Trends

@githubtrending · Post #14997 · 26.07.2025 г., 11:30

#rust Datavzrd is a tool that helps you quickly create interactive, visual HTML reports from tables like CSV, TSV, JSON, or Parquet files without needing to write code. It automatically makes charts like histograms for each column and lets you customize these visuals and add links to other websites or between tables using a simple config file. The reports are standalone HTML files, so you can easily share them by email or cloud without needing a web server. This makes it easier to explore, understand, and share your data in a clear, interactive way, saving you time and effort in data reporting and communication[1][2][3][4]. https://github.com/datavzrd/datavzrd

Hashtags

123•••10•••1213
ПретходнаСтраница 1 од 13Следна