The APIs described here may change in the upcoming months and years, but the concepts and general approach shared in this article should remain valid. In this tutorial, we’ll create a simple custom Rust-based SWC plugin and compile it to Wasm, so it can be used in a webpack build ...
mio: A low-level, cross-platform abstraction over OS I/O APIs that powers tokio. bytes: Utilities for working with bytes, including efficient byte buffers. loom: A testing tool for concurrent Rust code. Changelog The Tokio repository contains multiple crates. Each crate has its own changelog....
NVIDIA Rendering Hardware Interface (NVRHI) is a library that handles these drawbacks. It defines a custom, higher-level graphics API that maps well to the three supported native graphics APIs: Vulkan, D3D12, and D3D11. It manages resources, pipelines, descriptors, and barriers in a safe and...
dwmpatches,qtilelazy APIs,i3IPC configuration; all of these definitely work but they are not what I'm after. Again, theXmonadmodel of companion libraries that you bring in and use as part of writing your own window manager has always felt like the right model for me for extending the wind...
I quite frequently stumble upon people in the Python community being misled to think that using async Python code will make their APIs “run faster”. Async Python is a great feature and should be used with care. One point that I constantly find being overseen is the mix of sync and asyn...
eager, lazy, and streaming apis in this chapter we explain the different types of apis polars has to offer. collecting caching performance differences functionality differences when to use which api? chapter 6: reading and writing data we want to encourage the reader to start working with their ...
Guide to Adding a Tool for an AI Agent In this quick guide, learn how you can add exactly the tools you want to your AI Agent's toolbox so it can get the job done. MCP, ACP, and A2A, Oh My! The Growing World of Inter-agent Communication ...
(June) Designing Pythonic library APIs describes principles I’ve found useful for designing good Python library APIs. (June) From Go on EC2 to Fly.io is about how I moved my Go-based side projects from Amazon EC2 to Fly.io, simplified deployment, and saved $9 a month. (February)...
Some bots, such asGiphy, depend on a third-party service, such as the Giphy web app, in order to work. Because we want our test suite to be reliable and not add load to these third-party APIs, tests for these services need to have "test fixtures": sample HTTP request/response pairs...
Today we are open-sourcing ourODBC adapterfor ActiveRecord, which allows Ruby on Rails applications to communicate with ODBC-compliant databases. The impetus for this work was an effort to update one of our APIs to run with the latest Rails and ruby. Along the way we released Rails 3.2.x,...